diff --git a/server/djrandom/frontend/static/player.js b/server/djrandom/frontend/static/player.js index 855b14f4114eecfbb62d8dab4bd4d5c4b60d68c0..f544e9d4aca38d414ebfa16bf1dc3e225c17c484 100644 --- a/server/djrandom/frontend/static/player.js +++ b/server/djrandom/frontend/static/player.js @@ -473,7 +473,7 @@ djr.Player.prototype.streamCurrentPlaylist = function(enable) { // Extend the current playlist with suggestions. djr.Player.prototype.extendCurrentPlaylist = function() { var player = this; - var cur_songs = this.allSongs(); + var cur_songs = this.playlist.allSongs(); this.backend.moreLikeThese(cur_songs, function(results) { var new_chunk = player.playlist.createUniqueChunk(results, 'suggestions');