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

fixes #1557 - Support custom channel mappings

This commit is contained in:
Luke Pulverenti 2016-06-14 00:59:56 -04:00
parent 3701382615
commit fd87c2de1d

View file

@ -254,20 +254,19 @@
});
positionSlider._setPinValue = function (value) {
positionSlider.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);
};
}, 300);
}