SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

1-01 Naming - Renaming Albumartist/Album/DiscIf/(Disc)-Track Tile : How to build the right mask?

Hi my question is around my naming convention here the approach

The Directory approach

If I have multi discs I want

/Albumartist/Album/Disc-01/1-01 Song

If I don’t have multi discs I want

/Albumartist/Album/01 Song

The file Approach :

If I have multi dics I want :

1-01 Song

If i don’t have multi discs I want :

01 Song ; then I don’t want to populate the disc number tag if there is only one disc (90% of songs)

My actual mask is like this :slightly_smiling_face:

ifnotempty2(albumartist,"Various Artists",'/')
+ifnotempty(album,'/')
+ ifmultidisc('Disc ' + ifnotempty(pad(discno,2),'/'))
+ifmultidisc(ifnotempty(pad(discno.substring(1)),'-')) // ifmultidisc(ifnotempty(pad(discno,1),'-')) >> does not work
+ ifnotempty(pad(trackno,2),' ')
+ title  

My best regards for every one and for your help

Hi, try this

ifnotempty2(albumartist,"Various Artists",'/')
+ ifnotempty(album,'/')
+ ifmultidisc('Disc ' + ifnotempty(pad(discno,2),'/'))
+ ifnotempty(ifmultidisc(discno),'-')
+ ifnotempty(pad(trackno,2),' ')
+ title

Ok many thanks , I will try it