add queue -> play next/play later
This commit is contained in:
parent
36019b518d
commit
34931f4f61
1 changed files with 7 additions and 2 deletions
|
@ -85,9 +85,14 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "Add to Queue",
|
||||
"name": "Play Next",
|
||||
"action": function() {
|
||||
app.mk.queue.splice(0,0,[new MusicKit.MediaItem(self.item)])
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Play Later",
|
||||
"action": function() {
|
||||
console.log(self.item)
|
||||
app.mk.queue.append([new MusicKit.MediaItem(self.item)])
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue