Help for adjusting renaming script

First off, sorry for not responding sooner. I hope that I didn’t leave the impression that I was ignoring you.

Just to clarify, is this how your files are currently named, or is this your starting point for the new file naming? I assume the latter.

This should be available from the %media% tag.

In order to automate this, the script will need to know which artists are considered “very special”. You will need to prepare and maintain a list.

This information may be available from the %genre% tag; however, the genres assigned vary widely according to personal taste. The ideal case would be if you already had a genre tag assigned in the metadata of each file, containing your preferred genre for the track. This could be used if it was available, otherwise falling back to the value provided by MusicBrainz.

I believe that genre is a track attribute, rather than an artist attribute. For example, an artist may very well produce music of different genres, sometimes even on the same album. My favorite example of this is the track “Hot Dog” (clearly “country music”) on the Led Zeppelin album “In Through the Out Door”.

You could have Picard automatically organize your files as you’ve shown, but be aware that this would result in an album being split up if one (or more) track on the album was assigned a different genre from the rest. A preferred approach might be to have a series of tagging scripts (one for each genre that you want to use) that you would run manually to set the genre for a whole album before you saved it. This value could be saved as a tag within each file so that it you would only have to enter it once, and it would be reused if you ever re-tagged the file / album. @Billy_Yank has provided an example of how this is done in his scripts

Tagging scripts are found in the. Scripting section of Picard’s configuration options settings.

From my perspective, not really. The scripts used are specific to the requirements of each individual user.

Picard will only allow one file naming script at a time. Unless the script author has included an example of the output in the script documentation (or as a comment in the script itself), the only other (easy) way that I know is to copy the script as the naming script in Picard and see what the examples look like, that Picard includes at the bottom of the File Naming options screen.

The tagging scripts are entered in the Scripting section, and the file naming script is entered in the File Naming section of the option settings. Have a look at the Scripting and Scripts sections of the documentation for a bit more information regarding the different types of scripts. You might also want to have a look at the Writing a File Naming Script tutorial.

4 Likes