mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update sync objects
This commit is contained in:
parent
866ecf78b4
commit
c71f597c58
14 changed files with 250 additions and 435 deletions
|
@ -932,7 +932,7 @@
|
|||
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
require(['localassetmanager'], function () {
|
||||
require(['localassetmanager'], function (LocalAssetManager) {
|
||||
|
||||
var serverInfo = ApiClient.serverInfo();
|
||||
|
||||
|
@ -1045,7 +1045,7 @@
|
|||
|
||||
if (mediaSource.Protocol == 'File') {
|
||||
|
||||
require(['localassetmanager'], function () {
|
||||
require(['localassetmanager'], function (LocalAssetManager) {
|
||||
|
||||
LocalAssetManager.fileExists(mediaSource.Path).then(function (exists) {
|
||||
console.log('LocalAssetManager.fileExists: path: ' + mediaSource.Path + ' result: ' + exists);
|
||||
|
|
|
@ -614,7 +614,7 @@ define(['appSettings', 'userSettings', 'appStorage', 'datetime'], function (appS
|
|||
|
||||
if (playMethod == 'DirectPlay' && mediaSource.Protocol == 'File') {
|
||||
|
||||
require(['localassetmanager'], function () {
|
||||
require(['localassetmanager'], function (LocalAssetManager) {
|
||||
|
||||
LocalAssetManager.translateFilePath(resultInfo.url).then(function (path) {
|
||||
|
||||
|
|
|
@ -1566,11 +1566,11 @@ var AppInfo = {};
|
|||
}
|
||||
|
||||
if (Dashboard.isRunningInCordova()) {
|
||||
define("localassetmanager", ["cordova/localassetmanager"]);
|
||||
define("fileupload", ["cordova/fileupload"]);
|
||||
define("localassetmanager", ["cordova/localassetmanager"], returnFirstDependency);
|
||||
define("fileupload", ["cordova/fileupload"], returnFirstDependency);
|
||||
} else {
|
||||
define("localassetmanager", [apiClientBowerPath + "/localassetmanager"]);
|
||||
define("fileupload", [apiClientBowerPath + "/fileupload"]);
|
||||
define("localassetmanager", [apiClientBowerPath + "/localassetmanager"], returnFirstDependency);
|
||||
define("fileupload", [apiClientBowerPath + "/fileupload"], returnFirstDependency);
|
||||
}
|
||||
define("connectionmanager", [apiClientBowerPath + "/connectionmanager"]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue