changeset 904:2cb51ff37e8d trunk

[svn] - stop the psuedo output plugin when using 'no playlist advance' or 'stop after current song'
author nhjm449
date Thu, 30 Mar 2006 21:04:21 -0800
parents 495a1a6f1d99
children e5727eb096a6
files audacious/playlist.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/playlist.c	Thu Mar 30 14:12:18 2006 -0800
+++ b/audacious/playlist.c	Thu Mar 30 21:04:21 2006 -0800
@@ -1086,7 +1086,11 @@
 {
     GList *plist_pos_list;
 
+    if ((cfg.no_playlist_advance && !cfg.repeat) || cfg.stopaftersong)
+      ip_data.stop = TRUE;
     bmp_playback_stop();
+    if ((cfg.no_playlist_advance && !cfg.repeat) || cfg.stopaftersong)  
+      ip_data.stop = FALSE;
 
     PLAYLIST_LOCK();
     plist_pos_list = find_playlist_position_list();