commit:814e83d6119554339c8eb0fa27b3e8e490859e46
author:Chip Black
committer:Chip Black
date:Wed Oct 1 04:37:30 2008 -0500
parents:0b159ca76f2c0488e369f594bb22b1a604941811
Forgot to clear daemon internal playlist on SIGUSR1
diff --git a/utunes.pl b/utunes.pl
line changes: +1/-0
index 60e8058..69a1272
--- a/utunes.pl
+++ b/utunes.pl
@@ -67,6 +67,7 @@ sub daemon {
 			$c = 0;
 		}
 		if (-e "$uthome/playlist") {
+			@list = ();
 			open PLAYLIST, "$uthome/playlist";
 			while (<PLAYLIST>) {
 				chomp;