added library grouping settings.
This commit is contained in:
parent
dc1da009b3
commit
d0f7690950
9 changed files with 80 additions and 30 deletions
|
@ -2552,6 +2552,23 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||
});
|
||||
};
|
||||
|
||||
self.getUserViews = function (userId, options) {
|
||||
|
||||
if (!userId) {
|
||||
throw new Error("null userId");
|
||||
}
|
||||
|
||||
options = options || {};
|
||||
|
||||
var url = self.getUrl("Users/" + userId + "/Views", options);
|
||||
|
||||
return self.ajax({
|
||||
type: "GET",
|
||||
url: url,
|
||||
dataType: "json"
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
Gets artists from an item
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue