jellyfin-web/dashboard-ui/apiclient/serverdiscovery.js

18 lines
398 B
JavaScript
Raw Normal View History

2015-02-16 13:56:57 -07:00
(function (globalScope) {
globalScope.ServerDiscovery = {
2015-02-16 20:49:47 -07:00
findServers: function (timeoutMs) {
2015-11-29 15:13:06 -07:00
return new Promise(function (resolve, reject) {
2015-05-06 05:56:26 -07:00
2015-11-29 15:13:06 -07:00
var servers = [];
2015-02-16 20:49:47 -07:00
2015-11-29 15:13:06 -07:00
// Expected server properties
// Name, Id, Address, EndpointAddress (optional)
resolve(servers);
});
2015-02-16 13:56:57 -07:00
}
};
})(window);