title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 3 of 3

Thread: How do I make the following Naming path?

  1. #1
    dBpoweramp Enthusiast
    Join Date
    Apr 2014
    Location
    Cyprus
    Posts
    106

    How do I make the following Naming path?

    Hi

    To correctly archive my files from ripped CDs, I need code to create the following naming path. I'm not quite sure how to do it so help is very much appreciated.

    IF genre = classical
    then IFCOMP
    then 1_Classical\[album]\[IFMULTI][disc]-[][track]-[title], [composer], [artist]-[disc_total]
    else [composer][]\[album]\[IFMULTI][disc]-[][track]-[title], [composer], [artist]-[disc_total]
    else IFCOMP
    then 2_Modern\[album]\[IFMULTI][disc]-[][track]-[title], [artist]-[disc_total]
    else If [album artist sort] has value
    then [album artist sort][][]\[album]\[IFMULTI][disc]-[][track]-[title], [artist]-[disc_total]
    else [artist sort][][]\[album]\[IFMULTI][disc]-[][track]-[title], [artist]-[disc_total]

    Some parts I've managed to write into code, but others... :-)

    Thanks!

  2. #2
    dBpoweramp Guru
    Join Date
    Dec 2008
    Location
    London, UK
    Posts
    4,015

    Re: How do I make the following Naming path?

    I'm trying to understand the above. Is this pseudo-code correct:

    IF genre = classical Then
    IFCOMP Then
    1_Classical\[album]\[IFMULTI][disc]-[][track]-[title], [composer], [artist]-[disc_total]
    Else
    [composer]\[album]\[IFMULTI][disc]-[][track]-[title], [composer], [artist]-[disc_total]
    Endif
    Else
    IFCOMP then
    2_Modern\[album]\[IFMULTI][disc]-[][track]-[title], [artist]-[disc_total]
    Else
    If [album artist sort] has a value Then
    [album artist sort]\[album]\[IFMULTI][disc]-[][track]-[title], [artist]-[disc_total]
    Else
    [artist sort]\[album]\[IFMULTI][disc]-[][track]-[title], [artist]-[disc_total]
    Endif
    Endif
    Endif
    Last edited by mville; 03-21-2016 at 11:14 AM.

  3. #3
    dBpoweramp Enthusiast
    Join Date
    Apr 2014
    Location
    Cyprus
    Posts
    106

    Re: How do I make the following Naming path?

    Quote Originally Posted by mville View Post
    I'm trying to understand the above. Is this pseudo-code correct:

    IF genre = classical Then
    IFCOMP Then
    1_Classical\[album]\[IFMULTI][disc]-[][track]-[title], [composer], [artist]-[disc_total]
    Else
    [composer]\[album]\[IFMULTI][disc]-[][track]-[title], [composer], [artist]-[disc_total]
    Endif
    Else
    IFCOMP then
    2_Modern\[album]\[IFMULTI][disc]-[][track]-[title], [artist]-[disc_total]
    Else
    If [album artist sort] has a value Then
    [album artist sort]\[album]\[IFMULTI][disc]-[][track]-[title], [artist]-[disc_total]
    Else
    [artist sort]\[album]\[IFMULTI][disc]-[][track]-[title], [artist]-[disc_total]
    Endif
    Endif
    Endif
    Yes, correct.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •