Directory & Filename Scripting

Tags: #<Tag:0x00007f0eb919ec58>

I am very new to Picard and I have searching around for the right way to setup the scripts to save and organize all the files into the below:

Artist
Album Name (Year)
Artist - Song Title - Track# 01.mp3

Artist
Album Name (Year)
CD 1
Artist - Song Title - Track# 01.mp3
CD 2
Artist - Song Title - Track# 01.mp3

A couple of people posted the below but the Track# is at the end.

%albumartist%/%album%/$if($gt($if2(%totaldiscs%,1),1),$if2(%discnumber%,1)-,)$num($if2(%tracknumber%,1),2) %title%

Welcome to the growing list of Picard users. I suggest that you take a look at the file naming script tutorial, which should help you understand how to make small edits to the file naming script. If I understand you correctly, I think that your needs can be met with the following script:

%albumartist%/%album% \($if(%date%,$left(%date%,4),0000)\)/$if($gt($if2(%totaldiscs%,1),1),CD $if2(%discnumber%,1)/,)%artist% - %title% - Track $num($if2(%tracknumber%,1),2)
3 Likes

Ok thanks I just wanted a second pair of eyes on it.