diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-10-03 22:14:37 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2017-10-03 22:14:37 +0200 |
commit | 9804f0081c32090e594854151269883bfadabf58 (patch) | |
tree | 015cf638e2f8561abebb6c61f4e574d33b7e7c0e /clerk | |
parent | 3571e3740115719a64c820b02ed77e72422e55fe (diff) | |
download | perl-app-clerk-9804f0081c32090e594854151269883bfadabf58.tar.gz perl-app-clerk-9804f0081c32090e594854151269883bfadabf58.tar.xz |
encode rating before sending to rating_client
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -557,7 +557,7 @@ sub mpd_rate_items { if ($rvar{tagging} eq "true") { $mpd->send_message('rating', "$_\t$mode\t${rating}") for @{$_[0]};; } - $mpd->sticker_value("song", $_, $mode, $rating) for @{$_[0]}; + $mpd->sticker_value("song", encode('UTF-8', "${$_}, $mode, $rating) for @{$_[0]}; } sub mpd_replace_with_items { |