Add 'disable subtitle' option and fix cast and crew in item Page #243

This commit is contained in:
Prayag Prajapati committed 2024-01-07 21:37:26 +05:30
1 parent 286d389af0
commit 6279663f46
3 files changed
+170 -94

No files matched your search

+12 -3
View File
@@ -636,9 +636,15 @@ const ItemDetail = () => {
itemId={item.data.Id}
itemType={item.data.Type}
itemUserData={item.data.UserData}
currentAudioTrack={0}
currentVideoTrack={0}
currentSubTrack={0}
currentVideoTrack={
selectedVideoTrack
}
currentAudioTrack={
selectedAudioTrack
}
currentSubTrack={
selectedSubtitleTrack
}
userId={user.data.Id}
/>
</div>
@@ -863,6 +869,9 @@ const ItemDetail = () => {
)
}
>
<MenuItem key={-1} value={-1}>
No Subtitle
</MenuItem>
{subtitleTracks.map((track) => (
<MenuItem
key={track.Index}