1
0
Fork 0
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:
Luke Pulverenti 2016-08-06 22:56:32 -04:00
parent 866ecf78b4
commit c71f597c58
14 changed files with 250 additions and 435 deletions

View file

@ -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);

View file

@ -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) {

View file

@ -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"]);