summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2017-10-03 22:14:37 +0200
committerRasmus Steinke <rasi@xssn.at>2017-10-03 22:14:37 +0200
commit9804f0081c32090e594854151269883bfadabf58 (patch)
tree015cf638e2f8561abebb6c61f4e574d33b7e7c0e /clerk
parent3571e3740115719a64c820b02ed77e72422e55fe (diff)
downloadperl-app-clerk-9804f0081c32090e594854151269883bfadabf58.tar.gz
perl-app-clerk-9804f0081c32090e594854151269883bfadabf58.tar.xz
encode rating before sending to rating_client
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk2
1 files changed, 1 insertions, 1 deletions
diff --git a/clerk b/clerk
index c625435..5f9505a 100755
--- a/clerk
+++ b/clerk
@@ -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 {