diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 6be6056544..d7b23958ca 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1939,7 +1939,7 @@ html += '' + (view == 'tvshows' ? selectedHtml : '') + 'TV'; } - if (counts.SongCount) { + if (counts.SongCount || counts.MusicVideoCount) { html += 'Music'; html += '' + (view == 'music' ? selectedHtml : '') + 'Music'; } diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index 333c905a39..3bfcbce1f3 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -493,7 +493,7 @@ } else if (videoStream.Width >= 720) { - baseParams.videoBitrate = 400000; + baseParams.videoBitrate = 420000; } } @@ -840,8 +840,6 @@ self.playlist = items; currentPlaylistIndex = 0; - - var nowPlayingBar = $('#nowPlayingBar'); }; self.playInternal = function (item, startPosition, user) { @@ -1541,7 +1539,7 @@ // We have media info if (videoStream && videoStream.Width) { - maxAllowedWidth = Math.min(videoStream.Width, maxAllowedWidth); + maxAllowedWidth = videoStream.Width; } // Some 1080- videos are reported as 1912? @@ -1556,7 +1554,7 @@ } if (maxAllowedWidth >= 480) { - options.push({ name: '480p', maxWidth: 720, videoBitrate: 400000 }); + options.push({ name: '480p', maxWidth: 720, videoBitrate: 420000 }); } if (maxAllowedWidth >= 360) { options.push({ name: '360p', maxWidth: 640, videoBitrate: 400000 });