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

disable now playing bar animation for now

This commit is contained in:
Luke Pulverenti 2015-12-14 10:25:31 -05:00
parent 996f2504b2
commit 7ac20e0572
9 changed files with 315 additions and 390 deletions

View file

@ -14,28 +14,28 @@
return syncPromise.promise();
}
var deferred = DeferredBuilder.Deferred();
return new Promise(function (resolve, reject) {
require(['multiserversync'], function () {
require(['multiserversync'], function () {
options = options || {};
options = options || {};
LocalSync.normalizeSyncOptions(options);
LocalSync.normalizeSyncOptions(options);
options.cameraUploadServers = AppSettings.cameraUploadServers();
options.cameraUploadServers = AppSettings.cameraUploadServers();
syncPromise = new MediaBrowser.MultiServerSync(ConnectionManager).sync(options).then(function () {
syncPromise = new MediaBrowser.MultiServerSync(ConnectionManager).sync(options).then(function () {
syncPromise = null;
deferred.resolve();
syncPromise = null;
resolve();
}, function () {
}, function () {
syncPromise = null;
syncPromise = null;
});
});
});
return deferred.promise();
});
},
normalizeSyncOptions: function (options) {