diff --git a/np.10s.sh b/np.10s.sh index 3ca8f17..e1754a7 100755 --- a/np.10s.sh +++ b/np.10s.sh @@ -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