mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
restored network browser
This commit is contained in:
parent
33d21adbe3
commit
a721a6b7af
3 changed files with 43 additions and 13 deletions
14
ApiClient.js
14
ApiClient.js
|
@ -496,6 +496,20 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
|
|||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets a list of network devices from the server
|
||||
*/
|
||||
self.getNetworkDevices = function () {
|
||||
|
||||
var url = self.getUrl("Environment/NetworkDevices");
|
||||
|
||||
return self.ajax({
|
||||
type: "GET",
|
||||
url: url,
|
||||
dataType: "json"
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Cancels a package installation
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue