Wow!
Thank you very much for your answer, you’re helping me a lot!
Just breaking the default script in parts helped me understand it better.
I’m not really sure to understand how the $if
works though. In the first iteration in the script there is only two variables (is it the correct word?) with one comma and you said the then
is omitted, is that not the else
which is omitted?
$if($ne(%albumartist%,),%album%/)
If that’s so why in all the other 3 iterations there is also only two variables but 2 commas.
$if($gt(%totaldiscs%,1),%discnumber%-,)
$if($ne(%albumartist%,),$num(%tracknumber%,2) ,)
$if(%_multiartist%,%artist% - ,)
Which seems to indicate that the then
is empty.
Well i’m a little confused here.
Reading your explenation for the "multiartist if
", maybe helped me to understand. In $if
(the function), if if
(the variable) is true, so the function write then
and if if
(variable) is false, the function write else
. Sorry if i’m not clear, we’re talking something i don’t really understand and english is not my native tong.
If what i just said is correct then why in the first iteration the then is omitted?
For the disc number, how can we make a folder named Disc %discnumber%
? Like that ?
$if($gt(%totaldiscs%,1),"Disc "%discnumber%-,)
For the track number, what happens if there is more than 99 songs in the album?
And about the date how can i write the month and the year if there is more than one album of the artist in one year and only the year if there is only one album in the year?
Thank you again for your help and sorry for my approximations.
One last thing, how do you highlight the script lines here on the forum?