From e30091924db2df70e2b46e1eec75ed9ae698c64e Mon Sep 17 00:00:00 2001 From: Jonas Haraldsson Date: Fri, 22 Feb 2013 20:50:14 +0100 Subject: [PATCH] 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 --- nixtape/js/player.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixtape/js/player.js b/nixtape/js/player.js index 89b5d3c8..3091ed6b 100644 --- a/nixtape/js/player.js +++ b/nixtape/js/player.js @@ -309,6 +309,9 @@ function tune(station) { // remove any future tracks in playlist and add tracks from new station playlist = playlist.slice(0, current_song + 1); getRadioPlaylist(); + + // set streaming to true to get player to fetch more songs if needed + streaming = true; } }, 'json'); } -- GitLab