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

18 lines
366 B
JavaScript
Raw Normal View History

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