Queue tracks

This commit is contained in:
James Barnsley
2017-10-18 20:32:30 +13:00
parent 376a93f7fc
commit 5d8b36db91
2 changed files with 6 additions and 3 deletions

View File

@ -28,10 +28,9 @@ export default function reducer(core = {}, action){
var track = Object.assign(
{},
tltrack.track,
tltrack,
metadata,
{
tlid: tltrack.tlid,
{
playing: (core.current_track && tltrack.tlid == core.current_track.tlid )
})
tracklist.push(track)