first commit
This commit is contained in:
1
modules/sync/localsync.js
Normal file
1
modules/sync/localsync.js
Normal file
@@ -0,0 +1 @@
|
||||
define(["exports","./../common/appsettings.js"],function(_exports,_appsettings){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0;var isSyncing,localSync={sync:function(options){return console.log("localSync.sync starting..."),isSyncing?Promise.resolve():(isSyncing=!0,Emby.importModule("./modules/sync/multiserversync.js").then(function(MultiServerSync){(options=options||{}).cameraUploadServers=_appsettings.default.cameraUploadServers(),(new MultiServerSync).sync(options).then(function(){isSyncing=null},function(err){return isSyncing=null,Promise.reject(err)})}))},setProgressUpdatesEnabled:function(enabled){}};_exports.default=localSync});
|
||||
Reference in New Issue
Block a user