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:
parent
4f5f0b0d07
commit
2a188455c6
6 changed files with 179 additions and 186 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue