commit 2e24d1b

hovercats  ·  2026-08-19 21:45:44 +0000 UTC
parent 4715742
add flag to delete actual songfile
1 files changed,  +3, -0
M ampv
M ampv
+3, -0
 1@@ -19,6 +19,9 @@ switch($1) {
 2 		songfile=`{getfilepath}
 3 		grep -v $"songfile $playlist > $tmpfile
 4 		mv -f $tmpfile $playlist
 5+	case delete
 6+		songfile=`{getfilepath}
 7+		rm -rf $"songfile
 8 	case next
 9 		printf 'playlist-next\n' | njetcat
10 	case pause