Unknown underscore when renaming files in Picard

C

Cat_Slobber

Guest
I’m trying to batch rename a lot of music files that contain a forward slash in the %title% ID3 tag with this script:

$num(%tracknumber%,2) - $rreplace(%title%,/,-)

This renames my file to:

06 - Steve, the Emperor of Beer _ from Super Barbecue III.mp3

and this is almost perfect. I don’t know where the underscore is coming from. The original title of the track is:

Steve, the Emperor of Beer / from Super Barbecue III

The expression doesn’t change the forward slash to the expected hyphen character. I do know the script logic works because if I change the forward slash to the underscore, it will be replaced with the hyphen.

Why is the underscore being set in the first place and how do I change this?

6 posts - 4 participants

Read full topic

Continue reading...
 
Top