mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-11 20:40:42 +00:00
addon provided metadata for appletv style carousel
This commit is contained in:
parent
103bcdd4cc
commit
fbb44b14dd
1 changed files with 6 additions and 2 deletions
|
|
@ -672,13 +672,14 @@ const AppleTVHero: React.FC<AppleTVHeroProps> = ({
|
||||||
id: currentItem.id,
|
id: currentItem.id,
|
||||||
type: currentItem.type,
|
type: currentItem.type,
|
||||||
title: currentItem.name,
|
title: currentItem.name,
|
||||||
|
addonId: currentItem.addonId,
|
||||||
metadata: {
|
metadata: {
|
||||||
poster: currentItem.poster,
|
poster: currentItem.poster,
|
||||||
banner: currentItem.banner,
|
banner: currentItem.banner,
|
||||||
releaseInfo: currentItem.releaseInfo,
|
releaseInfo: currentItem.releaseInfo,
|
||||||
genres: currentItem.genres
|
genres: currentItem.genres
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Add resume data if we have progress that's not near completion
|
// Add resume data if we have progress that's not near completion
|
||||||
if (shouldResume && watchProgress) {
|
if (shouldResume && watchProgress) {
|
||||||
|
|
@ -697,6 +698,7 @@ const AppleTVHero: React.FC<AppleTVHeroProps> = ({
|
||||||
id: currentItem.id,
|
id: currentItem.id,
|
||||||
type: currentItem.type,
|
type: currentItem.type,
|
||||||
title: currentItem.name,
|
title: currentItem.name,
|
||||||
|
addonId: currentItem.addonId,
|
||||||
metadata: {
|
metadata: {
|
||||||
poster: currentItem.poster,
|
poster: currentItem.poster,
|
||||||
banner: currentItem.banner,
|
banner: currentItem.banner,
|
||||||
|
|
@ -1184,6 +1186,7 @@ const AppleTVHero: React.FC<AppleTVHeroProps> = ({
|
||||||
navigation.navigate('Metadata', {
|
navigation.navigate('Metadata', {
|
||||||
id: currentItem.id,
|
id: currentItem.id,
|
||||||
type: currentItem.type,
|
type: currentItem.type,
|
||||||
|
addonId: currentItem.addonId,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|
@ -1220,6 +1223,7 @@ const AppleTVHero: React.FC<AppleTVHeroProps> = ({
|
||||||
navigation.navigate('Metadata', {
|
navigation.navigate('Metadata', {
|
||||||
id: currentItem.id,
|
id: currentItem.id,
|
||||||
type: currentItem.type,
|
type: currentItem.type,
|
||||||
|
addonId: currentItem.addonId,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue