From a59ab3e2ee4407a1c912cdf0d2e09f8670cc3ffe Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 28 Sep 2010 12:52:52 +0200 Subject: [PATCH] playlist: make single mode 'sticky' --- NEWS | 1 + src/playlist.c | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index a1c9feeb1..71c02c165 100644 --- a/NEWS +++ b/NEWS @@ -103,6 +103,7 @@ ver 0.16 (20??/??/??) * added test suite ("make check") * require GLib 2.12 * added libwrap support +* make single mode 'sticky' ver 0.15.12 (2010/07/20) diff --git a/src/playlist.c b/src/playlist.c index a63dd62e4..4a1e54814 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -108,11 +108,8 @@ playlist_song_started(struct playlist *playlist) playlist->current = playlist->queued; playlist->queued = -1; - /* Set pause and remove the single mode. */ + /* Pause if we are in single mode. */ if(playlist->queue.single && !playlist->queue.repeat) { - playlist->queue.single = false; - idle_add(IDLE_OPTIONS); - pc_set_pause(true); }