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
+1
View File
@@ -103,6 +103,7 @@ Declared at class level to configure framework behaviour:
| `ANONYMOUS_SEARCH` | `bool` | Set `True` when `search()` needs no login and no state from `authenticate()`. A search then skips the cookie load, `authenticate()` and the cookie save. Default `False`. |
| `NO_SUBTITLES` | `bool` | Set `True` on a service with no subtitle tracks to skip subtitle handling entirely. Default `False`. |
| `ANIME` | `bool` | Set `True` when the catalogue is anime, so metadata lookups prefer AniList. A title's own `anime` flag overrides it. |
| `METADATA_PROVIDER` | `Optional[str]` | Set it, such as to `"tmdb"`, when an index keeps your catalogue's titles only in a form your service does not use (romanized, for one), and another provider finds them by the name your service gives. Lookups try that provider first. It only reorders `metadata_providers` and never adds a provider the user left out. A title's own `metadata_provider` overrides it. |
| `DAILY` | `bool` | Set `True` when the catalogue is daily/date-based (talk shows, news, sports), so unshackle names episodes by air date. A title's own `daily` flag overrides it. |
`GEOFENCE` drives an automatic proxy: on startup, if you did not pass an