Use mpd song title if available
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 10 Jul 2018 02:20:49 +0000 (22:20 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 10 Jul 2018 02:20:49 +0000 (22:20 -0400)
bin/khatus_show

index 8642153..69024fd 100755 (executable)
@@ -393,6 +393,8 @@ mpd_current=$(
         END {
             if (data["Name:"]) {
                 out = data["Name:"]
+            } else if (data["Title:"]) {
+                out = data["Title:"]
             } else {
                 file = data["file:"]
                 last = split(file, parts, "/")
This page took 0.020489 seconds and 4 git commands to generate.