mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-26 02:52:53 +00:00
fix
This commit is contained in:
parent
7f4be0bdc8
commit
3ed3dee0e1
1 changed files with 6 additions and 1 deletions
|
|
@ -2278,7 +2278,12 @@ export const useMetadata = ({ id, type, addonId }: UseMetadataProps): UseMetadat
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!settings.enrichMetadataWithTMDB) return; // Only needed imdbId, skip enrichment
|
if (!settings.enrichMetadataWithTMDB) {
|
||||||
|
// Enrichment is disabled but we still resolved tmdbId for Trakt scrobbling.
|
||||||
|
// Set it on the metadata object so the player can read it via metadata.tmdbId.
|
||||||
|
setMetadata(prev => prev ? { ...prev, tmdbId: fetchedTmdbId } : null);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Fetch certification only if granular setting is enabled
|
// Fetch certification only if granular setting is enabled
|
||||||
if (settings.tmdbEnrichCertification) {
|
if (settings.tmdbEnrichCertification) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue