song: also quote xesam:title in get_song_dbus matching
This commit is contained in:
parent
90ddcbd3e1
commit
e85a6a03f1
2
neofetch
2
neofetch
|
@ -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}'
|
||||
)"
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue