html encoding (because lol)
This commit is contained in:
parent
2cf8bfa94c
commit
53648c1098
|
@ -18,6 +18,11 @@ for player in $(qdbus $MPRIS_ROOT); do
|
||||||
artist2=${artist2#"$XESAM_ARTIST2"}
|
artist2=${artist2#"$XESAM_ARTIST2"}
|
||||||
title=$(echo "$metadata" | grep "$XESAM_TITLE")
|
title=$(echo "$metadata" | grep "$XESAM_TITLE")
|
||||||
title=${title#"$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 [ "$title" != "" ]; then
|
||||||
if [ "$artist" == "" ]; then
|
if [ "$artist" == "" ]; then
|
||||||
if [ "$artist2" == "" ]; then
|
if [ "$artist2" == "" ]; then
|
||||||
|
|
Loading…
Reference in New Issue