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

update m3u parsing

This commit is contained in:
Luke Pulverenti 2017-01-25 15:14:47 -05:00
parent 9511b02112
commit 7d9fcc3e4f
2 changed files with 4 additions and 5 deletions

View file

@ -23,7 +23,8 @@
var info = { var info = {
Type: 'm3u', Type: 'm3u',
Url: page.querySelector('.txtDevicePath').value Url: page.querySelector('.txtDevicePath').value,
EnableTvgId: true
}; };
var id = getParameterByName('id'); var id = getParameterByName('id');

View file

@ -2358,8 +2358,6 @@ var AppInfo = {};
if (document.createElement('audio').canPlayType('audio/flac').replace(/no/, '') && if (document.createElement('audio').canPlayType('audio/flac').replace(/no/, '') &&
document.createElement('audio').canPlayType('audio/ogg; codecs="opus"').replace(/no/, '')) { document.createElement('audio').canPlayType('audio/ogg; codecs="opus"').replace(/no/, '')) {
list.push('bower_components/emby-webcomponents/htmlaudioplayer/plugin');
} else { } else {
window.VlcAudio = true; window.VlcAudio = true;
} }
@ -2369,10 +2367,10 @@ var AppInfo = {};
} else if (Dashboard.isRunningInCordova() && browser.safari) { } else if (Dashboard.isRunningInCordova() && browser.safari) {
list.push('cordova/audioplayer'); list.push('cordova/audioplayer');
} else {
list.push('bower_components/emby-webcomponents/htmlaudioplayer/plugin');
} }
list.push('bower_components/emby-webcomponents/htmlaudioplayer/plugin');
if (Dashboard.isRunningInCordova() && browser.safari) { if (Dashboard.isRunningInCordova() && browser.safari) {
list.push('cordova/chromecast'); list.push('cordova/chromecast');
} }