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