forked from kenzuya/unshackle
feat(providers): let a service name the metadata provider its catalogue resolves through
This commit is contained in:
@@ -68,6 +68,7 @@ Declared at the top of your service class, these are static descriptors:
|
||||
| `AUTH_METHODS` | `Optional[tuple[str, ...]]` | Accepted auth methods (`"cookies"` / `"credentials"`). When `None`, the REST `/services` endpoint infers them from `authenticate()`. |
|
||||
| `ANONYMOUS_SEARCH` | `bool` | `search()` needs no login and no state from `authenticate()`. A search then skips the cookie load, `authenticate()` and the cookie save. Default `False`. |
|
||||
| `ANIME` | `bool` | The catalogue is anime, so metadata lookups prefer AniList. A title's own `anime` flag overrides it. |
|
||||
| `METADATA_PROVIDER` | `Optional[str]` | The metadata provider the catalogue resolves through, such as `"tmdb"`. Lookups try it 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` | The catalogue is daily/date-based, so unshackle names episodes by air date. A title's own `daily` flag overrides it. |
|
||||
|
||||
### Required methods
|
||||
|
||||
Reference in New Issue
Block a user