mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
19 lines
422 B
JavaScript
19 lines
422 B
JavaScript
(function (globalScope) {
|
|
|
|
globalScope.ServerDiscovery = {
|
|
|
|
findServers: function (timeoutMs) {
|
|
|
|
var deferred = DeferredBuilder.Deferred();
|
|
|
|
var servers = [];
|
|
|
|
// Expected server properties
|
|
// Name, Id, Address, EndpointAddress (optional)
|
|
|
|
deferred.resolveWith(null, [servers]);
|
|
return deferred.promise();
|
|
}
|
|
};
|
|
|
|
})(window); |