mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 11:58:20 -07:00
18 lines
398 B
JavaScript
18 lines
398 B
JavaScript
(function (globalScope) {
|
|
|
|
globalScope.ServerDiscovery = {
|
|
|
|
findServers: function (timeoutMs) {
|
|
|
|
return new Promise(function (resolve, reject) {
|
|
|
|
var servers = [];
|
|
|
|
// Expected server properties
|
|
// Name, Id, Address, EndpointAddress (optional)
|
|
resolve(servers);
|
|
});
|
|
}
|
|
};
|
|
|
|
})(window); |