Script Naming Help

I need help defining the script in Picard. Here is a my example.

01 - 2Pac - Young Black Male

track num, artist, title

You might want to take a look at Writing a File Naming Script — MusicBrainz Picard v2.6.3 documentation . The example there is pretty similar to the naming you want.

2 Likes

I see it but I don’t see the script

Something simple like this would do what you want:

$num(%tracknumber%,2) - %artist% - %title%

The $num(...,2) around the %tracknumber% is just to format the track number with leading 0, as you have indicated.

3 Likes

I wish I understood this a bit better. Thanks for the help.

It’s really not that complicated. Things surrounded by percentage signs are variables, e.g. %title% is a variable holding the track title. If you want your files to have the track title as a name your naming script is:

%title%

When you save a MP3 file for the song “Young Black Male” it will end up as “Young Black Male.mp3”. If you want to have the artist in front you use the %artist% variable. If you want some characters in between, like the " - ", you just write them out:

%artist% - %title%

Same for tracknumber:

%tracknumber% - %artist% - %title%
5 Likes

Perfect. This worked. Thanks

2 Likes