diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-09-23 17:45:48 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2017-09-23 17:45:48 +0200 |
commit | beec137e3dcbda4051b6f10056f91a5d05ecdd00 (patch) | |
tree | 95c210ef3d17901009c5f80268484c47e1abb5e0 /clerk_rating_client | |
parent | 5ec053649f3893f1e4a2323ea83ffac014b40c9f (diff) | |
download | perl-app-clerk-beec137e3dcbda4051b6f10056f91a5d05ecdd00.tar.gz perl-app-clerk-beec137e3dcbda4051b6f10056f91a5d05ecdd00.tar.xz |
fix mid3vs call
Diffstat (limited to 'clerk_rating_client')
-rwxr-xr-x | clerk_rating_client | 4 |
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"; |