playlist: make single mode 'sticky'

This commit is contained in:
Andrew Morgan 2010-09-28 12:52:52 +02:00 committed by Max Kellermann
parent 28bcb8bdf5
commit a59ab3e2ee
2 changed files with 2 additions and 4 deletions

1
NEWS
View File

@ -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)

View File

@ -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);
}