diff options
author | Andrew Morgan <frommusicpd@ziltro.com> | 2010-09-28 12:52:52 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-09-28 12:52:52 +0200 |
commit | a59ab3e2ee4407a1c912cdf0d2e09f8670cc3ffe (patch) | |
tree | 363c371a5c5bb658bb14bf549c3174e9517eb16f /src/playlist.c | |
parent | 28bcb8bdf568875eeea1349e39b7958d77c8fcc1 (diff) | |
download | mpd-a59ab3e2ee4407a1c912cdf0d2e09f8670cc3ffe.tar.gz mpd-a59ab3e2ee4407a1c912cdf0d2e09f8670cc3ffe.tar.xz mpd-a59ab3e2ee4407a1c912cdf0d2e09f8670cc3ffe.zip |
playlist: make single mode 'sticky'
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 5 |
1 files changed, 1 insertions, 4 deletions
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); } |