1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/bower_components/emby-apiclient/serverdiscovery.js

18 lines
366 B
JavaScript
Raw Normal View History

2015-12-14 10:43:03 -05:00
define([], function () {
2015-02-16 15:56:57 -05:00
2015-12-14 10:43:03 -05:00
return {
2015-02-16 15:56:57 -05:00
2015-02-16 22:49:47 -05:00
findServers: function (timeoutMs) {
2015-12-14 10:43:03 -05:00
return new Promise(function (resolve, reject) {
2015-05-06 08:56:26 -04:00
2015-12-14 10:43:03 -05:00
var servers = [];
2015-02-16 22:49:47 -05:00
2015-12-14 10:43:03 -05:00
// Expected server properties
// Name, Id, Address, EndpointAddress (optional)
resolve(servers);
});
2015-02-16 15:56:57 -05:00
}
};
2015-12-14 10:43:03 -05:00
});