Commit e85a6a03 authored by Michael Straube's avatar Michael Straube

song: also quote xesam:title in get_song_dbus matching

parent 90ddcbd3
......@@ -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}'
)"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment