diff src/cue/cuesheet.c @ 987:8f432e790cfb trunk

[svn] - add check for cfg.stopaftersong at the end of cue.
author yaz
date Mon, 30 Apr 2007 21:19:47 -0700
parents a5752784d87b
children 07914886d6aa
line wrap: on
line diff
--- a/src/cue/cuesheet.c	Mon Apr 30 21:18:44 2007 -0700
+++ b/src/cue/cuesheet.c	Mon Apr 30 21:19:47 2007 -0700
@@ -639,6 +639,9 @@
                     }
                 }
                 else {
+                    if(cfg.stopaftersong) {
+                        exec_thread = g_thread_create(do_stop, (void *)real_ip, FALSE, NULL);
+                    }
 #ifdef DEBUG
                     g_print("i: watchdog end of cue, advance in playlist\n\n");
 #endif