song: also quote xesam:title in get_song_dbus matching

This commit is contained in:
Michael Straube 2018-10-30 07:53:54 +01:00
parent 90ddcbd3e1
commit e85a6a03f1
1 changed files with 1 additions and 1 deletions

View File

@ -2374,7 +2374,7 @@ get_song() {
org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' \
string:'Metadata' |\
awk -F '"' 'BEGIN {RS=" entry"}; /"xesam:artist"/ {a = $4} /"xesam:album"/ {b = $4}
/xesam:title/ {t = $4} END {print a "\n" b "\n" t}'
/"xesam:title"/ {t = $4} END {print a "\n" b "\n" t}'
)"
}