aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-31 03:18:30 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-31 03:18:30 +0000
commitded15bf118d170c0172609b0dce11ce42df80241 (patch)
treea087fc62288a5119c26ce0f398df86ed6817be8b /src/playlist.c
parent4de1a41c835994540e7c160353a00c901d92b6a1 (diff)
downloadmpd-ded15bf118d170c0172609b0dce11ce42df80241.tar.gz
mpd-ded15bf118d170c0172609b0dce11ce42df80241.tar.xz
mpd-ded15bf118d170c0172609b0dce11ce42df80241.zip
fix avuton's mp4 compile bug
git-svn-id: https://svn.musicpd.org/mpd/trunk@1253 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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;