Merge pull request #1324 from arisinfenix/song

song: add comment about cmus mpris support
This commit is contained in:
dylan 2019-10-03 16:23:38 +03:00 committed by GitHub
commit 0bcd638938
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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