mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dlna profiles
This commit is contained in:
parent
94988219d3
commit
0daa91e419
7 changed files with 26 additions and 13 deletions
|
@ -2799,17 +2799,13 @@
|
|||
*/
|
||||
self.getItems = function (userId, options) {
|
||||
|
||||
if (!userId) {
|
||||
throw new Error("null userId");
|
||||
}
|
||||
|
||||
var url;
|
||||
|
||||
if ((typeof userId).toString().toLowerCase() == 'string') {
|
||||
url = self.getUrl("Users/" + userId + "/Items", options);
|
||||
} else {
|
||||
options = userId;
|
||||
url = self.getUrl("Items", options || {});
|
||||
|
||||
url = self.getUrl("Items", options);
|
||||
}
|
||||
|
||||
return self.ajax({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue