aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_control.c
diff options
context:
space:
mode:
authorRomain Bignon <romain@peerfuse.org>2009-03-27 15:28:49 +0100
committerRomain Bignon <romain@peerfuse.org>2009-03-27 15:28:49 +0100
commite7519829ac588e4b261c1832bb0e7d6ffbd47322 (patch)
treeec9ab205b3a4344b76dcd60dddc8496ed8357cde /src/playlist_control.c
parente46722b2ebe05fce63bc7b86100c159b5cadd297 (diff)
downloadmpd-e7519829ac588e4b261c1832bb0e7d6ffbd47322.tar.gz
mpd-e7519829ac588e4b261c1832bb0e7d6ffbd47322.tar.xz
mpd-e7519829ac588e4b261c1832bb0e7d6ffbd47322.zip
renamed smartstop to single and changed behavior
When single mode is enabled, after current song it stops playback, or it replay same song if repeat mode is activated.
Diffstat (limited to 'src/playlist_control.c')
-rw-r--r--src/playlist_control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist_control.c b/src/playlist_control.c
index 90aab5f29..9e31c07ab 100644
--- a/src/playlist_control.c
+++ b/src/playlist_control.c
@@ -152,8 +152,8 @@ nextSongInPlaylist(struct playlist *playlist)
next_order = queue_next_order(&playlist->queue, playlist->current);
if (next_order < 0) {
- /* cancel smartstop */
- playlist->queue.smartstop = false;
+ /* cancel single */
+ playlist->queue.single = false;
/* no song after this one: stop playback */
stopPlaylist(playlist);
return;