diff src/audacious/main.c @ 2574:40407b7363f3 trunk

[svn] - enforce playback stop when clearing the playlist to load new files in. closes #808.
author nenolod
date Sun, 25 Feb 2007 00:53:19 -0800
parents 7b1b52eb663b
children 1ceaf00f9c6d
line wrap: on
line diff
--- a/src/audacious/main.c	Sun Feb 25 00:43:25 2007 -0800
+++ b/src/audacious/main.c	Sun Feb 25 00:53:19 2007 -0800
@@ -915,7 +915,10 @@
                     pos = xmms_remote_get_playlist_length(session);
 
                 if (!options->enqueue)
+                {
                     xmms_remote_playlist_clear(session);
+                    xmms_remote_stop(session);
+                }
 
                 xmms_remote_playlist_add_url_string(session, filename);