KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT SERVER-PC 10.0 build 26200 (Windows 11) AMD64
User : ServerPC ( 0)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  C:/Users/ServerPC/AppData/Roaming/Emby-Server/system/dashboard-ui/modules/sync/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : C:/Users/ServerPC/AppData/Roaming/Emby-Server/system/dashboard-ui/modules/sync/serversync.js
define(["exports","./mediasync.js","./../emby-apiclient/connectionmanager.js"],function(_exports,_mediasync,_connectionmanager){function ServerSync(){}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,ServerSync.prototype.sync=function(server,options){return _connectionmanager.default.isLoggedIn(server.Id)?_connectionmanager.default.connectToServer(server,{updateDateLastAccessed:!1,enableWebSocket:!1,reportCapabilities:!1,enableAutomaticBitrateDetection:!1,autoLogin:"lastuser"}).then(function(result){return"SignedIn"===result.State?function(apiClient,options){return console.log("ServerSync.performSync to server: "+apiClient.serverId()),options=options||{},(new _mediasync.default).sync(apiClient,options)}(_connectionmanager.default.getApiClient(server.Id),options):(console.log("Unable to connect to server id: "+server.Id),Promise.reject())}):(console.log("Skipping sync to server "+server.Id+" because there is no saved authentication information."),Promise.resolve())};_exports.default=ServerSync});

Anon7 - 2021