What bugs do you still have? Any idea when you will fix them?
If you are talking about my script, I haven’t noticed any bugs.
But please report any and I will attempt to fix it.
I just wanted to create a script that people can customize to their liking at the very bottom.
Please note that all options should be set to 1 or 2, anything else will mess things up.
Edit: I added that into the script noop.
2nd Edit: I noticed a very minor error and I will fix it tomorrow.
You mean something like this:
$replace($rreplace( $if($eq(%albumartist%,Various Artists), [Various Artists], $if($eq(%albumartist%,[unknown]), [Unknown], $left($rreplace($if2(%albumartistsort%,%artistsort%),; [^\)]+,), 60)) ) / $if(%date%,[$left(%date%,4)] )$left($replace(%album%,/,), 70) / $if($gt(%totaldiscs%,1),$if(%discnumber%, $num(%discnumber%,2)-),) $num(%tracknumber%,2). $left(%title%,120),[:?"_]+,), , )
Here’s the updated version. Fixed a very minor error.
$noop( *** DO NOT EDIT THE AREA BELOW | EDITABLE AREA WILL BE AT THE VERY BOTTOM *** ) $set(MainFolder1,-= $upper($left(%albumartist%,1)) =-/) $set(MainFolder2,-= $upper($left(%albumartistsort%,1)) =-/) $set(MainFolder3,) $set(Artist1,$replace($rreplace(%albumartist%,[_:*?"<>|],-),?,)/) $set(Artist2,$replace($rreplace(%albumartistsort%,[_:*?"<>|],-),?,)/) $set(Album1,$replace($rreplace(%album%,[_:*?"<>|], -),?,)$if(%date%,$if(%album%, )[$left(%date%,4)])/) $set(Album2,$replace($rreplace(%album%,[_:*?"<>|], -),?,)/) $set(MultiDisc1,$if($gt(%totaldiscs%,1),Disc $num(%discnumber%,1)/) $set(MultiDisc2,) $set(PreTitle1,$replace($rreplace(%albumartist% - %album% -,[_:*?"<>|], -),?,)) $set(PreTitle2,) $set(Track1, $num(%tracknumber%,2) - ) $set(Track2, $num(%discnumber%,1)-$num(%tracknumber%,2) - )) $set(Title,$replace($rreplace(%title%,[_:*?"<>|],),?,)) $noop( *** DO NOT EDIT THE AREA ABOVE| EDITABLE AREA IS JUST BELOW *** ) $noop( *** The Following will use the example of artist: Amy Winehouse and album: Back to Black *** ) $noop( *** Default output: -=A =-/Amy Winehouse/Back to Black /Disc 1/Amy Winehouse - Back to Black - 01 - Rehab *** ) $noop( *** Change the NUMERICAL value ONLY! Example: %MainFolder1% would be changed to %MainFolder2% *** ) $noop( *** Only change the numerical value to either 1 or 2, anything else will mess things up. *** ) %MainFolder1% $noop( OPTION 1 -= A=- | OPTION 2 -= W =- | OPTION 3 = No single character folder will be created. ) %Artist1% $noop( OPTION 1 = Amy WineHouse| OPTION 2 = Winehouse, Amy ) %Album1% $noop( OPTION 1 = Back to Black  | OPTION 2 = Back to Black ) %MultiDisc1% $noop( OPTION 1 = If album has more than 1 Disc, then add Disc folders | OPTION 2 = Do not sort by Disc, put all files into a single folder. ) %PreTitle1% $noop( OPTION 1 = Show Artist and Album in the track title | OPTION 2 = Do not display Artist or Album) %Track1% $noop( OPTION 1 = Track Number: 01 | OPTION 2: Track Number: 1-01-> This is best if MultiDisc is set to 2, because you will have 2 track numbers as 01 - *track names*, etc. ) %Title% $noop( NO OPTION - Just display the name of the track. )
How do you deal with naming when you have albums which are different editions/versions? For me the album names are the same, so it tried to put all the files into the same folder.
The way I do it here is to include the release date in the directory naming scheme.
Yeah I did that for a while, but wasn’t sure that would satisfy software that only read file name to determine versions. So I was thinking of baking everything in to the file name, but that gets ugly - especially if you start putting dates into it.
I use _releasecomments to get the disambiguation note. Also, I add Single and EP to the release folder if appropriate. That way the Hounds of Love album is in a folder called “Hounds of Love” while the single is “Hounds of Love (Single)”.
I know this post is a couple years old, but I just recently copied and fairly significantly tweaked it to meet my needs. Something i’m struggling with is the above $set command. If I’m understanding it correctly, isn’t that command supposed to be “writing” the value of _artist back to the actual artist tag of each track? I ask because I don’t see such an action happening when I save files with this file naming scripts running (using Picard 1.4.2). Same thing with:
I even tried changing both $set commands to string “TEST” just to see what would happen. No change in the actual tags of the resulting files.
I think I must be missing something. Either the purpose of the command or something else. I assume you have your entire script in the File Naming script window; though maybe that’s where I’ve gone wrong and need to have all or some of the script in the Scripts option window.