Fix playback path

This commit is contained in:
An Phan 2016-01-28 15:58:41 +08:00
parent 24cb32ceea
commit 20157e489e

View file

@ -95,7 +95,7 @@ export default {
// Set the song as the current song
queueStore.current(song);
this.player.source(`${sharedStore.state.cdnUrl}/api/${song.id}/play?jwt-token=${ls.get('jwt-token')}`);
this.player.source(`${sharedStore.state.cdnUrl}api/${song.id}/play?jwt-token=${ls.get('jwt-token')}`);
// We'll just "restart" playing the song, which will handle notification, scrobbling etc.
this.restart();