Commit a59ab3e2 authored by Andrew Morgan's avatar Andrew Morgan Committed by Max Kellermann

playlist: make single mode 'sticky'

parent 28bcb8bd
...@@ -103,6 +103,7 @@ ver 0.16 (20??/??/??) ...@@ -103,6 +103,7 @@ ver 0.16 (20??/??/??)
* added test suite ("make check") * added test suite ("make check")
* require GLib 2.12 * require GLib 2.12
* added libwrap support * added libwrap support
* make single mode 'sticky'
ver 0.15.12 (2010/07/20) ver 0.15.12 (2010/07/20)
......
...@@ -108,11 +108,8 @@ playlist_song_started(struct playlist *playlist) ...@@ -108,11 +108,8 @@ playlist_song_started(struct playlist *playlist)
playlist->current = playlist->queued; playlist->current = playlist->queued;
playlist->queued = -1; playlist->queued = -1;
/* Set pause and remove the single mode. */ /* Pause if we are in single mode. */
if(playlist->queue.single && !playlist->queue.repeat) { if(playlist->queue.single && !playlist->queue.repeat) {
playlist->queue.single = false;
idle_add(IDLE_OPTIONS);
pc_set_pause(true); pc_set_pause(true);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment