summaryrefslogtreecommitdiffstats
path: root/clerk_rating_client
diff options
context:
space:
mode:
Diffstat (limited to 'clerk_rating_client')
-rwxr-xr-xclerk_rating_client4
1 files changed, 2 insertions, 2 deletions
diff --git a/clerk_rating_client b/clerk_rating_client
index fa4034b..a00de29 100755
--- a/clerk_rating_client
+++ b/clerk_rating_client
@@ -74,7 +74,7 @@ sub track_rating {
} elsif ($mode eq "ALBUMRATING") {
print ":: tagging track \"${title}\" by \"${albumartist}\" with albumrating of \"${rating}\"\n";
}
- system('mid3v2', "--TXXX:${mode}:${rating}", "${music_root}/${uri}");
+ system('mid3v2', "--TXXX", "${mode}:${rating}", "${music_root}/${uri}");
}
elsif ($uri =~ /.*.ogg$/) {
print "!! OGG files not supported, yet\n";
@@ -122,7 +122,7 @@ sub tag_from_sticker {
system('metaflac', "--set-tag=RATING=$rating", "${music_root}/${uri}");
}
elsif ($uri =~ /.*.mp3$/) {
- system('mid3v2', "--TXXX:RATING:${rating}", "${music_root}/${uri}");
+ system('mid3v2', "--TXXX", "RATING:${rating}", "${music_root}/${uri}");
}
elsif ($uri =~ /.*.ogg$/) {
print "!! OGG files not supported, yet\n";