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

improve m3u channel list parsing

This commit is contained in:
Luke Pulverenti 2016-12-07 15:03:00 -05:00
parent 835ed1dfae
commit dcb44815ed
9 changed files with 59 additions and 109 deletions

View file

@ -240,7 +240,7 @@ define(['browser'], function (browser) {
return function (options) {
options = options || {};
var physicalAudioChannels = options.audioChannels || 2;
var physicalAudioChannels = options.audioChannels || (browser.tv || browser.xboxOne || browser.ps4 ? 6 : 2);
var bitrateSetting = getMaxBitrate();
@ -334,12 +334,12 @@ define(['browser'], function (browser) {
AudioCodec: videoAudioCodecs.join(',')
});
}
if (browser.tizen) {
mp4VideoCodecs.push('mpeg2video');
mp4VideoCodecs.push('vc1');
}
if (canPlayMkv && mp4VideoCodecs.length) {
profile.DirectPlayProfiles.push({
Container: 'mkv',