summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk4
1 files changed, 2 insertions, 2 deletions
diff --git a/clerk b/clerk
index d3d1898..382b478 100755
--- a/clerk
+++ b/clerk
@@ -537,8 +537,8 @@ sub mpd_rate_items {
my ($sel, $rating, $mode) = @_;
chomp $rating;
$rating = undef if $rating =~ /^Delete Rating/;
- if ($tagging eq "true") {
- $mpd->send_message('rating', "$uri\t$mode\t${rating}");
+ if ($rvar{tagging} eq "true") {
+ $mpd->send_message('rating', "$_\t$mode\t${rating}") for @{$_[0]};;
}
$mpd->sticker_value("song", $_, $mode, $rating) for @{$_[0]};
}