From: Siraaj Khandkar Date: Tue, 10 Jul 2018 02:20:49 +0000 (-0400) Subject: Use mpd song title if available X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=15b5c7d5b7e2dc85c2a6825e15805bdff840aee2;p=khatus.git Use mpd song title if available --- diff --git a/bin/khatus_show b/bin/khatus_show index 8642153..69024fd 100755 --- a/bin/khatus_show +++ b/bin/khatus_show @@ -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, "/")