mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2024-11-24 06:29:56 +00:00
update subtitle stream switching
This commit is contained in:
parent
68de42e33b
commit
69527f808c
@ -322,7 +322,7 @@
|
||||
if (currentDeliveryMethod == 'Encode') {
|
||||
console.log('setSubtitleStreamIndex video url change required');
|
||||
var positionTicks = getCurrentPositionTicks($scope);
|
||||
changeStream(positionTicks, { SubtitleIndex: -1 });
|
||||
changeStream(positionTicks, { SubtitleStreamIndex: -1 });
|
||||
} else {
|
||||
$scope.subtitleStreamIndex = null;
|
||||
setTextTrack($scope);
|
||||
@ -352,7 +352,7 @@
|
||||
} else {
|
||||
console.log('setSubtitleStreamIndex video url change required');
|
||||
var positionTicks = getCurrentPositionTicks($scope);
|
||||
changeStream(positionTicks, { SubtitleIndex: index });
|
||||
changeStream(positionTicks, { SubtitleStreamIndex: index });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user