summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-20 19:21:55 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-20 19:21:55 +0200
commit677a6e08e3c47de72257ccd03c75a07c4cd63812 (patch)
tree951c76ac5379489023938df5094adf3eed605bb8 /streamer.c
parentb27d52578f21130ba5480e44468427528be53b17 (diff)
fixed reshuffling playlist that is not current
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/streamer.c b/streamer.c
index 65d43cf2..94d35f98 100644
--- a/streamer.c
+++ b/streamer.c
@@ -232,7 +232,7 @@ streamer_move_to_nextsong (int reason) {
if (!it) {
// all songs played, reshuffle and try again
if (pl_loop_mode == PLAYBACK_MODE_LOOP_ALL) { // loop
- pl_reshuffle (&it, NULL);
+ plt_reshuffle (streamer_playlist, &it, NULL);
}
}
if (!it) {
@@ -268,7 +268,7 @@ streamer_move_to_nextsong (int reason) {
trace ("all songs played! reshuffle\n");
// all songs played, reshuffle and try again
if (pl_loop_mode == PLAYBACK_MODE_LOOP_ALL) { // loop
- pl_reshuffle (&it, NULL);
+ plt_reshuffle (streamer_playlist, &it, NULL);
}
}
if (!it) {