mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add user permissions for managing tv recordings
This commit is contained in:
parent
fe3c35efdb
commit
7d9325b1b2
4 changed files with 28 additions and 6 deletions
11
ApiClient.js
11
ApiClient.js
|
@ -378,6 +378,17 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||
});
|
||||
};
|
||||
|
||||
self.getAuthorizedFeatures = function (options) {
|
||||
|
||||
var url = self.getUrl("Users/AuthorizedFeatures", options || {});
|
||||
|
||||
return self.ajax({
|
||||
type: "GET",
|
||||
url: url,
|
||||
dataType: "json"
|
||||
});
|
||||
};
|
||||
|
||||
self.getLiveTvServices = function (options) {
|
||||
|
||||
var url = self.getUrl("LiveTv/Services", options || {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue