[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Help with mask editing  XML
Forum Index -> SongKong Questions
Author Message
yomattyj



Joined: 15/06/2015 13:43:16
Messages: 1
Offline

I've spent a lot of time trying to edit the masks and I'm not being successful at all! I've run "my versions) a few times and managed to mess things up. I'm not remotely a coder.....Any chance you can create some scripts that I can plug in? Here's what I'm looking to do....

AlbumArtist or Artist/Year - Album/Disc # (if multi) - Disc Name (if it exists)/Disc#-Track#-Title

For example - Bob Dylan/1985 - Biograph/Disc 1 - "The Early Years" /1-01 Lay Lady Lay

Additionally, for Compilations that ARE NOT by the same artist (ie Various Artists), I'm trying to do this -

Various Artists/2005 - 3 Decades of Rock/Disc 1 - "The 90's"/1-01 Song Title

Thanks so much for any help you might be able to provide!!
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7359
Offline

You can create a new mask and use this for both

Code:
 ifnotempty(albumartist,'/')
 + ifnotempty(year,' - ')
 + ifnotempty(album,'/')
 + 'Disc ' + discno
 + ifnotempty(discsubtitle,'')
 + '/'
 + ifnotempty(discno,'-')
 + ifnotempty(pad(trackno,2),' ')
 


because the AlbumArtist will be the artist you want for single artist releases and "Various Artist" for Various Artist releases, and as far as I can see no other differences are reuired by you.

However if did need to handle Various Artist compilations different to Single Artist Compilations and Single Artist non compilations for your compilation rename mask you could use the following logic for your compilation rename mask

Code:
 if(albumartist.localeCompare("Various Artists")==0)
 (
     #Put Various Artist Compilation mask here
 )
 else
 (
     #Put Single artist Compilation mask here
 )
 




thanks Paul (Administrator)
 
Forum Index -> SongKong Questions
Go to:   
Powered by JForum 2.1.6 © JForum Team