add user permissions for managing tv recordings

This commit is contained in:
Luke Pulverenti
2014-01-13 15:31:09 -05:00
parent c822bfc0cd
commit e206f27839
11 changed files with 81 additions and 21 deletions

View File

@@ -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 || {});