mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +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,
|
||||
type: currentItem.type,
|
||||
title: currentItem.name,
|
||||
addonId: currentItem.addonId,
|
||||
metadata: {
|
||||
poster: currentItem.poster,
|
||||
banner: currentItem.banner,
|
||||
releaseInfo: currentItem.releaseInfo,
|
||||
genres: currentItem.genres
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
// Add resume data if we have progress that's not near completion
|
||||
if (shouldResume && watchProgress) {
|
||||
|
|
@ -697,6 +698,7 @@ const AppleTVHero: React.FC<AppleTVHeroProps> = ({
|
|||
id: currentItem.id,
|
||||
type: currentItem.type,
|
||||
title: currentItem.name,
|
||||
addonId: currentItem.addonId,
|
||||
metadata: {
|
||||
poster: currentItem.poster,
|
||||
banner: currentItem.banner,
|
||||
|
|
@ -1184,6 +1186,7 @@ const AppleTVHero: React.FC<AppleTVHeroProps> = ({
|
|||
navigation.navigate('Metadata', {
|
||||
id: currentItem.id,
|
||||
type: currentItem.type,
|
||||
addonId: currentItem.addonId,
|
||||
});
|
||||
}
|
||||
}}
|
||||
|
|
@ -1220,6 +1223,7 @@ const AppleTVHero: React.FC<AppleTVHeroProps> = ({
|
|||
navigation.navigate('Metadata', {
|
||||
id: currentItem.id,
|
||||
type: currentItem.type,
|
||||
addonId: currentItem.addonId,
|
||||
});
|
||||
}
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue