Hi,

While preparing a patch for another problem in s-j I made one for this
too. It's a simple one liner, so hopefully it can be included.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
diff -Nur sound-juicer-2.14.5/src/sj-main.c sound-juicer-2.14.5.new/src/sj-main.c
--- sound-juicer-2.14.5/src/sj-main.c	2006-07-12 14:54:16.000000000 +0200
+++ sound-juicer-2.14.5.new/src/sj-main.c	2007-03-09 18:38:30.000000000 +0100
@@ -729,6 +729,9 @@
     /* FIXME: recover? */
   }
 
+  /* first make sure we're not playing */
+  stop_playback ();
+  
   d(g_printerr ("** media removed from device %s\n", drive->device));
   stop_ui_hack ();
   update_ui_for_album (NULL);

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to