Newbie Help

Tags: #<Tag:0x00007f7d00908ce0> #<Tag:0x00007f7d00908a38>

Sorry to ask. I am sure it has already been done
So how do i structure the renaming function for the following

Artist (first Character)(Artist)(Album) - (Year)\DIsc (Number) "This only appears if multiple discs(Track Number0 - (Title)

I did find the following that nearly gets me there…

$left($if2(%albumartistsort%, %artistsort%),40)/
$if(%date%,$left(%date%,4)) - $left(%album%,65) /
%tracknumber% $left(%title%,40) - $left($if2(%artistsort%, %artist%),40)
$upper($firstalphachar($if2(%albumartistsort%, %artistsort%),#))
/$left($if2(%albumartistsort%, %artistsort%),65)/
$if(%date%,$left(%date%,4)) - $left(%album%,50) /
%tracknumber% $left(%title%,40) - $left($if2(%artistsort%, %artist%),40)

Thanks Inadvance

I am not sure what how you want “Artist (first Character)(Artist)(Album)” exactly to look like, maybe give an example. But I would start with something like this for the first part of “Artist (first Character)(Artist)(Album) - (Year)”:

$firstalphachar(%albumartistsort%) %albumartist% %album%$if(%date%, - $left(%date%,4))

This will give you something like “B The Beatles Help! - 1965” for the folder name.

Then for the second part "DIsc (Number) “This only appears if multiple discs(Track Number0 - (Title)” something like:

$if($gt(%totaldiscs%,1),Disc %discnumber% )$num(%tracknumber%,2) - %title%

For a single disc release this will show e.g. “07 - Ticket to Ride”. If there would be more than one disc it will be e.g. “Disc 2 07 - Ticket to Ride”. The script with both parts together:

$firstalphachar(%albumartistsort%) %albumartist% %album%$if(%date%, - $left(%date%,4))/$if($gt(%totaldiscs%,1),Disc %discnumber% )$num(%tracknumber%,2) - %title%
1 Like