add setting to control import of missing episodes

This commit is contained in:
Luke Pulverenti 2016-11-22 13:22:01 -05:00
parent c5c540a90c
commit 6763740078
5 changed files with 33 additions and 10 deletions

View file

@ -209,7 +209,7 @@ define(['browser'], function (browser) {
function getMaxBitrate() {
if (browser.edgeUwp) {
return 32000000;
return 40000000;
}
// 10mbps
@ -267,7 +267,7 @@ define(['browser'], function (browser) {
// Only put mp3 first if mkv support is there
// Otherwise with HLS and mp3 audio we're seeing some browsers
// safari is lying
if ((videoTestElement.canPlayType('audio/mp4; codecs="ac-3"').replace(/no/, '') && !browser.safari) || browser.edgeUwp || browser.tizen) {
if ((videoTestElement.canPlayType('audio/mp4; codecs="ac-3"').replace(/no/, '') && !browser.safari) || browser.edgeUwp || browser.tizen || browser.web0s) {
videoAudioCodecs.push('ac3');
// This works in edge desktop, but not mobile
@ -277,6 +277,11 @@ define(['browser'], function (browser) {
}
}
if (browser.tizen) {
videoAudioCodecs.push('eac3');
hlsVideoAudioCodecs.push('eac3');
}
var mp3Added = false;
if (canPlayMkv) {
if (supportsMp3VideoAudio) {