Commit e3009192 authored by Jonas Haraldsson's avatar Jonas Haraldsson

set streaming to true when tuning

If we are on a track page streaming is not set to true by default and player
would not auto-fetch more tracks
parent f43a7dda
...@@ -309,6 +309,9 @@ function tune(station) { ...@@ -309,6 +309,9 @@ function tune(station) {
// remove any future tracks in playlist and add tracks from new station // remove any future tracks in playlist and add tracks from new station
playlist = playlist.slice(0, current_song + 1); playlist = playlist.slice(0, current_song + 1);
getRadioPlaylist(); getRadioPlaylist();
// set streaming to true to get player to fetch more songs if needed
streaming = true;
} }
}, 'json'); }, 'json');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment