mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-03 16:41:26 +01:00
feat(meta,app,android,ios,cli): film backdrops and logos from TMDB by id
TVDB has no films, so ani.zip has no fanart or logo for one, and most of
the titles in a real library with nothing wide to draw were films. ani.zip
does name the TMDB entry of every AniList match. With a TMDB key stored
and AniList chosen, an entry left without a backdrop or a logo is asked
for /{movie,tv}/{id}/images: one request, by id, so no title name goes to
TMDB. A bare backdrop and a PNG logo in the viewer's language are
preferred, and a failure there only costs the art.
The TMDB key field is now offered with either provider, labelled optional
with AniList. TMDB as the provider fetches its logo the same way, and
backdrops at w1280 rather than w780. A forced run re-enriches hand-picked
titles too, so saving a key and matching everything again reaches them.
This commit is contained in:
1 parent
70952fa7ca
commit
a7b87cdc79
15 files changed
+413
-89
No files matched your search
@@ -2432,7 +2432,7 @@ impl AndroidEngine {
|
||||
reason: "turn on metadata enrichment first".to_owned(),
|
||||
});
|
||||
}
|
||||
let key = pstr_meta::settings::api_key_in(self.secrets.as_ref(), config.provider);
|
||||
let key = pstr_meta::settings::api_key_in(self.secrets.as_ref(), ProviderId::Tmdb);
|
||||
pstr_meta::MetadataService::new(&config, key).map_err(BridgeError::from_display)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user