title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Tricky naming scheme - I need help...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dvdr
    dBpoweramp Enthusiast

    • Sep 2008
    • 235

    Tricky naming scheme - I need help...

    Hello
    until now, I have used the following scheme:

    [MAXLENGTH]240,[IFEQUALS]genre,Classical,[IFCOMP]Compilations\[album][IFVALUE]album artist,\[album artist]\,[]\[IFMULTI]Disc [disc] - [][track] - [title] ([composer] - [artist])[][IF!COMP][composer]\[album] ([year])\[IFVALUE]album artist,[album artist],[artist][]\[IFMULTI] Disc [disc] - [][track] - [title] ([album] ([composer]) - [artist])[][][IF!EQUALS]genre,Classical,[IFCOMP]Compilations\[album][IFVALUE]album artist,\[album artist]\,[]\[IFMULTI] Disc [disc] - [][track] - [artist] - [title][][IF!COMP][IFVALUE]album artist,[album artist],[artist][]\[album]\[IFMULTI] Disc [disc] - [][track] - [title] ([artist] - [album])[][][]

    Now I wanted to ADD a command for the genre musical, which looks like this:

    [IFEQUALS]genre,Musical,[IFCOMP]Musical\[album][IFVALUE]album artist,\[album artist]\,[]\[IFMULTI]Disc [disc] - [][track] - [title] ([composer] - [artist])[][IF!COMP]Musical\[composer]\[album]\[IFVALUE]album artist,[album artist],[artist][]\[IFMULTI] Disc [disc] - [][track] - [title] ([album] ([composer]) - [artist])[][]

    Additionaly, if possible, I would love to have a scheme for soundtracks:

    [IFEQUALS]genre,Soundtrack,[IFCOMP]Soundtrack\[album][IFVALUE]album artist,\[album artist]\,[]\[IFMULTI]Disc [disc] - [][track] - [title] ([composer] - [artist])[][IF!COMP]Soundtrack\[composer]\[album]\[IFVALUE]album artist,[album artist],[artist][]\[IFMULTI] Disc [disc] - [][track] - [title] ([album] ([composer]) - [artist])[][]

    But if I understand the naming schemes rules correctly, that would conflict with the command "[IF!EQUALS]genre,Classical,[...." in the middle of the first scheme above - since it's the command "if it's classical /if it's not classical" and not "if/else". What would I have to add a distinction between "if it's classical / if it's musical / if it's soundtrack / if it's something else"?

    Thanks alot for your help
  • LtData
    dBpoweramp Guru

    • May 2004
    • 8288

    #2
    Re: Tricky naming scheme - I need help...

    Unfortunately, doing this can be done but is very complicated. You basically have to set up something like:
    If Classical
    If not classical, if musical
    if not classical, if not musical, if soundtrack
    if not classical, if not musical, if not soundtrack, the rest

    Comment

    • dvdr
      dBpoweramp Enthusiast

      • Sep 2008
      • 235

      #3
      Re: Tricky naming scheme - I need help...

      Here's an idea:
      if I look at

      [IF!EQUALS]genre,Classical,[IFCOMP]Compilations\[album....

      That is a nested configuration for everything that is NOT classical
      so, if I nest in something like

      [IF!EQUALS]genre,Classical,[IFEQUALS]genre,Musical,

      then the programming for Musical

      then something like [IF!EQUALS]genre,Musical,

      followed by the original classical programming

      [IFCOMP]Compilations\[album

      Would that work (in other word: if not classical, then check if it's Musical, followed by Musical's programming, if not musical, go on with the programming for classical

      But that seems to be an awful lot of [ and ] to be overlooked :(

      Comment

      Working...

      ]]>