repo: music action: commit revision: path_from: revision_from: 6c6e51db5d71b4abfee8735d6bb699e3be382bfe: path_to: revision_to:
commit 6c6e51db5d71b4abfee8735d6bb699e3be382bfe Author: epochDate: Thu Jul 30 08:20:24 2020 -0500 outputs sixels only if a variable is set diff --git a/music-nowplaying b/music-nowplaying
--- a/music-nowplaying
+++ b/music-nowplaying
@@ -1,2 +1,6 @@
#!/bin/sh
-cat ${PREFIX}/var/cache/music-nowplaying.txt
+if [ "$want_six" ];then
+ cat ${PREFIX}/var/cache/music/nowplaying.txt 2>/dev/null || echo 'off the air'
+else
+ head -n1 ${PREFIX}/var/cache/music/nowplaying.txt 2>/dev/null || echo 'off the air'
+fi
-----END OF PAGE-----