mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-16 07:46:29 +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
|
||||
if (settings.tmdbEnrichCertification) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue