summaryrefslogtreecommitdiffstats
path: root/clerk_rating_client
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2017-09-23 17:45:48 +0200
committerRasmus Steinke <rasi@xssn.at>2017-09-23 17:45:48 +0200
commitbeec137e3dcbda4051b6f10056f91a5d05ecdd00 (patch)
tree95c210ef3d17901009c5f80268484c47e1abb5e0 /clerk_rating_client
parent5ec053649f3893f1e4a2323ea83ffac014b40c9f (diff)
downloadperl-app-clerk-beec137e3dcbda4051b6f10056f91a5d05ecdd00.tar.gz
perl-app-clerk-beec137e3dcbda4051b6f10056f91a5d05ecdd00.tar.xz
fix mid3vs call
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";