[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
syntax for folder correct and filename correct  XML
Forum Index -> General
Author Message
mano_lito

Enthusiast

Joined: 19/03/2011 18:29:20
Messages: 15
Offline

Although I have been using Jaikoz for a few years already and I love it, I really don't get the syntax procedure. I´d like someone to give me the code for these syntax. I´d like my folder rename to work like this:

Artist/Artist - [Year] Album

I´d like my syntax for renaming filenames from metadata to work like this:

Artist - Track number - Title



I guess this must be an easy question for experienced Jaikoz users. By the way, is there any place where I can learn more about jaikoz syntaxes structures so I could do this by myself. Thank you very very much!!!
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7361
Online

Its javascript notation so any javascript reference can detail how you create a mask.

Wrt Jaikoz the known variables are listed in the listbox at the bottom of the screen, use + to concatenate strings, and use 'value' for literals. The basic Javascript if statement is (expression ? outputidtrue : ouputiffalse)

Code:
Artist/Artist - [Year] Album


becomes

Code:
artist + '/' + artist + ' - ' + '['+year+']' + ' ' + album


Code:
Artist - Track number - Title 


simply becomes

Code:
artist  + ' - ' + trackno+ ' - '  + title

thanks Paul (Administrator)
mano_lito

Enthusiast

Joined: 19/03/2011 18:29:20
Messages: 15
Offline

thanks a lot for your explanation, now it's much clearer.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.6 © JForum Team