song: add comment about cmus mpris support

This commit is contained in:
Michael Straube 2019-10-03 14:43:57 +02:00
parent b694c05dc4
commit 2302825dbc
1 changed files with 1 additions and 0 deletions

View File

@ -2521,6 +2521,7 @@ get_song() {
"plasma-browser-integration"*) get_song_dbus "plasma-browser-integration" ;;
"cmus"*)
# NOTE: cmus >= 2.8.0 supports mpris2
song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};
/tag artist/ {
$1=$2=""; sub(" ", ""); a=$0