Leaning-up currentTrack requests - event already has data

This commit is contained in:
James Barnsley
2018-04-01 22:06:02 +12:00
parent fcbfc64ec6
commit 9bffdf3de1
4 changed files with 60 additions and 37 deletions

View File

@ -171,6 +171,13 @@ export function getCurrentTrack(){
}
}
export function currentTrackLoaded(tl_track){
return {
type: 'MOPIDY_CURRENT_TRACK_LOADED',
tl_track: tl_track
}
}
export function getQueue(){
return {
type: 'MOPIDY_GET_QUEUE'