mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update playlist management
This commit is contained in:
parent
893b492cbb
commit
7a6ac9c251
24 changed files with 121 additions and 79 deletions
|
@ -717,7 +717,7 @@ var AppInfo = {};
|
|||
AppInfo.enableHomeTabs = false;
|
||||
|
||||
if (isAndroid) {
|
||||
AppInfo.supportsExternalPlayerMenu = true;
|
||||
AppInfo.supportsExternalPlayers = true;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -1003,12 +1003,6 @@ var AppInfo = {};
|
|||
|
||||
paths.hlsjs = bowerPath + "/hlsjs/dist/hls.min";
|
||||
|
||||
if ((window.chrome && window.chrome.sockets) || Dashboard.isRunningInCordova()) {
|
||||
paths.serverdiscovery = apiClientBowerPath + "/serverdiscovery-chrome";
|
||||
} else {
|
||||
paths.serverdiscovery = apiClientBowerPath + "/serverdiscovery";
|
||||
}
|
||||
|
||||
define("webActionSheet", [embyWebComponentsBowerPath + "/actionsheet/actionsheet"], returnFirstDependency);
|
||||
|
||||
if (Dashboard.isRunningInCordova()) {
|
||||
|
@ -1367,7 +1361,7 @@ var AppInfo = {};
|
|||
appSettings.set('externalplayers', val.toString());
|
||||
}
|
||||
|
||||
return appSettings.get('externalplayers') == 'true';
|
||||
return appSettings.get('externalplayers') === 'true';
|
||||
};
|
||||
|
||||
return appSettings;
|
||||
|
@ -1403,6 +1397,16 @@ var AppInfo = {};
|
|||
define("registerElement", []);
|
||||
}
|
||||
|
||||
if ((window.chrome && window.chrome.sockets)) {
|
||||
define("serverdiscovery", [apiClientBowerPath + "/serverdiscovery-chrome"], returnFirstDependency);
|
||||
} else if (Dashboard.isRunningInCordova() && browser.android) {
|
||||
define("serverdiscovery", ["cordova/serverdiscovery"], returnFirstDependency);
|
||||
} else if (Dashboard.isRunningInCordova() && browser.safari) {
|
||||
define("serverdiscovery", [apiClientBowerPath + "/serverdiscovery-chrome"], returnFirstDependency);
|
||||
} else {
|
||||
define("serverdiscovery", [apiClientBowerPath + "/serverdiscovery"], returnFirstDependency);
|
||||
}
|
||||
|
||||
if (Dashboard.isRunningInCordova() && browser.safari) {
|
||||
define("imageFetcher", ['cordova/imagestore'], returnFirstDependency);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue