summaryrefslogtreecommitdiff
path: root/src/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist.c')
-rw-r--r--src/playlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 412ddce19..0c499f0ad 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -687,6 +687,9 @@ int playPlaylist(FILE * fp, int song, int stopOnError) {
clearPlayerError();
if(song==-1) {
+ if(playlist_state == PLAYLIST_STATE_PLAY) {
+ return playerSetPause(fp, 0);
+ }
if(playlist.current >= 0 && playlist.current < playlist.length)
{
i = playlist.current;