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

added album/artist play buttons

This commit is contained in:
Luke Pulverenti 2013-06-07 12:06:32 -04:00
parent 4f5f0b0d07
commit 2a188455c6
6 changed files with 179 additions and 186 deletions

View file

@ -883,11 +883,9 @@ var Dashboard = {
}
else if (msg.MessageType === "Play") {
ApiClient.getItems(Dashboard.getCurrentUserId(), {
MediaPlayer.getItemsForPlayback({
Ids: msg.Data.ItemIds.join(','),
Fields: 'MediaStreams,UserData,DisplayMediaType,SeriesInfo,AudioInfo,Chapters,Path'
Ids: msg.Data.ItemIds.join(',')
}).done(function (result) {
MediaPlayer.play(result.Items, msg.Data.StartPositionTicks);