song: fix cmus album

This commit is contained in:
Michael Straube 2017-12-26 09:22:03 +01:00
parent 8ff013e734
commit 31ccd633d2
1 changed files with 1 additions and 1 deletions

View File

@ -1454,7 +1454,7 @@ guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo|elisa/ {printf $5 "
"cmus"*)
song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};
/tag artist/ {$1=$2=""; sub(" ", ""); a=$0}\
/tag album/ {$1=$2=""; sub(" ", ""); b=$0}\
/tag album / {$1=$2=""; sub(" ", ""); b=$0}\
/tag title/ {$1=$2=""; sub(" ", ""); t=$0}\
END { print a " - " b " - " t }')"
;;