[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
non programer needing help with rename folder from metadata  XML
Forum Index -> Jaikoz Questions
Author Message

Joined: 16/08/2010 15:16:20
Messages: 6

Hi all,

I'm not familiar at all with the language used for files and folder renaming filters, but I'm very obsessed with my music tags. I seek some help to manage multiple CDs albums ...
I'd like subfolders to be created for an album, only if the album has multiple CDs.
For example,

If only one CD in the album, album folder should be:
Artist - Year - AlbumName

If 2 CDs in the album, album folders should be:
Artist - Year - AlbumName/CD1
Artist - Year - AlbumName/CD2

would be really glad if someone can help me with that since me and programming are enemies ;)


Joined: 21/08/2006 09:21:27
Messages: 7274

Hi,this should work for you

Set rename mask (and perhaps compilation mask) in Preferences:File and Folder Correct:Rename SubFolder from Metadata as follows and run Action:File and Folder Correct:Correct SubFolder from Metadata

 function ifnotempty(value,sep){
      return value.length > 0 ? value + sep : '';
  function ifnotempty2(value1,value2,sep){
      return value1.length > 0 ? value1 + sep :value2.length > 0 ? value2 + sep:'' ;
 ifnotempty2(albumartist,artist,' - ')  
 + ifnotempty(year,' - ') 
 + ifnotempty(album,'') 
 + (disctotal>1 ? folderseparator + 'CD' + discno    : '')

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