1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update xml parsing

This commit is contained in:
Luke Pulverenti 2016-12-02 15:10:35 -05:00
parent c22321c3f9
commit 7ce49ea1e8
9 changed files with 88 additions and 78 deletions

View file

@ -14,19 +14,19 @@ define(['playbackManager', 'userSettings'], function (playbackManager, userSetti
return;
}
if (enabled(items[0].MediaType)) {
currentThemeIds = items.map(function (i) {
return i.Id;
});
currentThemeIds = items.filter(function (i) {
return enabled(i.MediaType);
}).map(function (i) {
return i.Id;
});
playbackManager.play({
items: items,
fullscreen: false,
enableRemotePlayers: false
}).then(function () {
currentOwnerId = ownerId;
});
}
playbackManager.play({
items: items,
fullscreen: false,
enableRemotePlayers: false
}).then(function () {
currentOwnerId = ownerId;
});
} else {