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:
parent
3701382615
commit
fd87c2de1d
1 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue