feat(providers): let a service name the metadata provider its catalogue resolves through

This commit is contained in:
imSp4rky
2026-11-29 09:42:39 -07:00
parent 8e67081e11
commit 36fd0033ce
18 changed files with 260 additions and 30 deletions
+5
View File
@@ -45,6 +45,11 @@ each metadata provider can answer with, see
`anilist` is last in the default order. It only answers for anime and returns nothing for
anything else, so it is harmless there. Move it earlier if you mostly download anime.
A service can name the metadata provider its catalogue resolves through. unshackle then tries
that provider first, also ahead of an order that you set. This only changes the order: a
metadata provider that `metadata_providers` leaves out stays out. For an anime title the
service's metadata provider comes first and `anilist` second.
The order applies to a title search and to a direct lookup of an ID you give with
`--tmdb`, `--imdb`, `--tvdb`, or `--anilist`. A supplied ID always goes to the providers
that read that kind of ID, and it never falls back to a title search.