mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 17:45:38 +00:00
fix tmdb enrichment override for the logo
This commit is contained in:
parent
9f3831e733
commit
dd1a3ed496
1 changed files with 5 additions and 0 deletions
|
|
@ -114,6 +114,10 @@ export function useFeaturedContent() {
|
|||
};
|
||||
|
||||
try {
|
||||
if (base.logo && !isTmdbUrl(base.logo)) {
|
||||
return base;
|
||||
}
|
||||
|
||||
if (!settings.enrichMetadataWithTMDB) {
|
||||
return { ...base, logo: base.logo || undefined };
|
||||
}
|
||||
|
|
@ -150,6 +154,7 @@ export function useFeaturedContent() {
|
|||
id: item.id,
|
||||
type: item.type,
|
||||
name: item.name,
|
||||
addonId: item.addonId,
|
||||
poster: item.poster,
|
||||
banner: (item as any).banner,
|
||||
logo: (item as any).logo || undefined,
|
||||
|
|
|
|||
Loading…
Reference in a new issue