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

add quality button

This commit is contained in:
Luke Pulverenti 2017-01-03 16:57:29 -05:00
parent fa620ed136
commit 46f2a6fc15
2 changed files with 9 additions and 0 deletions

View file

@ -616,6 +616,12 @@
updateTimeDisplay(playState.PositionTicks, nowPlayingItem.RunTimeTicks);
updateNowPlayingInfo(state);
if (state.MediaSource && state.MediaSource.SupportsTranscoding) {
view.querySelector('.btnSettings').classList.remove('hide');
} else {
view.querySelector('.btnSettings').classList.add('hide');
}
}
function updateTimeDisplay(positionTicks, runtimeTicks) {