Trying to play once added

This commit is contained in:
James Barnsley
2016-10-19 14:09:34 +13:00
parent 51bf248ac9
commit 9e2b5aac3a
11 changed files with 120 additions and 32 deletions

View File

@ -30,6 +30,14 @@ export function changeTrack( tlid ){
}
}
export function playTracks( uris ){
return {
type: 'MOPIDY_PLAY_TRACKS',
call: 'tracklist.add',
value: { at_position: 0, uris: uris }
}
}
export function removeTracks( tlids ){
return {
type: 'MOPIDY_REMOVE_TRACKS',