1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

don't auto-restart during recordings

This commit is contained in:
Luke Pulverenti 2016-06-14 02:40:21 -04:00
parent fd87c2de1d
commit cabe68c3e2
7 changed files with 50 additions and 18 deletions

View file

@ -696,20 +696,19 @@
}
});
context.querySelector('.nowPlayingPositionSlider', context)._setPinValue = function (value) {
context.querySelector('.nowPlayingPositionSlider', context).getBubbleText = function (value) {
var state = lastPlayerState;
if (!state || !state.NowPlayingItem || !state.NowPlayingItem.RunTimeTicks) {
this.pinValue = '--:--';
return;
return '--:--';
}
var ticks = state.NowPlayingItem.RunTimeTicks;
ticks /= 100;
ticks *= value;
this.pinValue = datetime.getDisplayRunningTime(ticks);
return datetime.getDisplayRunningTime(ticks);
};
context.addEventListener('click', onContextClick);