Help With Vinyl Numbering in my script

Tags: #<Tag:0x00007f2a54b27ca0> #<Tag:0x00007f2a54b27b60>

Can someone help me please just finishing up my script, please?
I understand just a bit of this script so I piece stuff together and it takes me forever to get things to work.
but now I am stuck,
I want only when it is a vinyl release to have my track numbers like this…
A1, A2, A3 … B1, B2, B3
but keep CDs and Digital media normal numbering. Here is my script if someone can just help add the last bit of tagger script it would be greatly appreciated.

%_extension%/
$replace(%albumartist%,…,…)
/[%releasestatus%-%releasetype%]/
$if($eq($or(%originaldate%,%date%),1),
$left($if2(%originaldate%,%date%),4) - %album% [$if(%releasecountry%,%releasecountry% - )$if(%label%,%label% - )$if(%catalognumber%,%catalognumber% - )$if(%media%,%media% - ),)
$if($eq($left(%_bitrate%,5),$right(%_bitrate%,5)),CBR $left(%_bitrate%,3),VBR)
$noop($set(_numbr,$left(%_bitrate%,3)))
$set(_numbr,$div(%_bitrate%,1000)) - $if2($left(%date%,4)
$if($gt(%totaldiscs%,1),][%totaldiscs%%media%,)])/$if($gt(%totaldiscs%,1),%discnumber%-,)$num(%tracknumber%,2)$if(%compilation%, %artistsort% -,) %title%

I could have sworn there was a variable for this, but I just checked the documentation and I can’t find it.

An old topic but it may be useful to someone:

$if($in(%media%,Vinyl),%_musicbrainz_tracknumber%,$num(%tracknumber%,2))

Creates two-digit song number for CDs and A1, A2 for Vinyl.

5 Likes

Wow I just noticed you did this update on your script This will clean up a big mess on mine thanks so much
@hbrtkp

You’re welcome. I have two more things left to do, one of which is described here:

Maybe someone knows the solution?

Sounds great looking forward to the update. I am also trying to make a separate Soundtracks/ directory
but eliminating the artist from the front of the folder name so it just uses the movie.
Example:
Not this–> Soundtracks/Various Artists - Transformers-_Age_of_Extinction-_The_Score-(LLLCD1311)-OST-2014
This–>Soundtracks/Transformers-_Age_of_Extinction-_The_Score-(LLLCD1311)-OST-2014