mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-07 14:52:52 +01:00
restored network browser
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user