html encoding (because lol)

This commit is contained in:
xenia 2021-06-04 04:25:30 -04:00
parent 2cf8bfa94c
commit 53648c1098
1 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,11 @@ for player in $(qdbus $MPRIS_ROOT); do
artist2=${artist2#"$XESAM_ARTIST2"}
title=$(echo "$metadata" | grep "$XESAM_TITLE")
title=${title#"$XESAM_TITLE"}
title=$(echo "$title" | recode ascii..html)
artist=$(echo "$artist" | recode ascii..html)
artist2=$(echo "$artist2" | recode ascii..html)
if [ "$title" != "" ]; then
if [ "$artist" == "" ]; then
if [ "$artist2" == "" ]; then