illustrate
Products            Buy            Support Forum            Registrations            Professional            About           
 

How do I create array's

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dax67

    • Dec 2024
    • 8

    How do I create array's

    I have all the clubland and now albums, what I want to do is have all the clubland and Now CDs as follows:
    Album Titles: Clubland 25 and Clubland 26
    Trim off the end number (Of which I can do)
    Clubland\25\Title...
    Clubland\26\Title....

    Album Titles: Now 25 and Now 26
    Trim off the end number (Of which i can do)
    Now\25\Title...
    Now\26\Title
    and so on

    So i am wondering if array's can be created without having to do [REPLACE] for every virable.

    Can anyone help?

    This is what I have at the moment, but its no dynamic: (Sorry it looks a mess)
    [MAXLENGTH]80,[IFVALUE]album artist,[album artist],[IFCOMP]Various[][IF!COMP][artist][][][]\[MAXLENGTH]80,\[REPLACE] CD3,,[REPLACE] CD2,,[REPLACE] CD1,,[REPLACE] Disc3,,[REPLACE] Disc2,,[REPLACE] Disc1,,[REPLACE] CD 3,,[REPLACE] CD 2,,[REPLACE] CD 1,,[REPLACE] Disc 3,,[REPLACE] Disc 2,,[REPLACE] Disc 1,,[REPLACE]Clubland 25,Clubland\25,[album][][][][][][][][][][][][][][]\[MAXLENGTH]80,[title] - [artist] - [genre] - [year][]
    Last edited by Dax67; January 03, 2025, 04:48 PM.
  • Dax67

    • Dec 2024
    • 8

    #2
    I've may of worked it out by using GRAB, IF, and other commands. Any help on here would go a long way for me.

    Comment

    • Spoon
      Administrator
      • Apr 2002
      • 44627

      #3
      No arrays, sorry.
      Spoon
      www.dbpoweramp.com

      Comment

      • Dax67

        • Dec 2024
        • 8

        #4
        Hello, I have come up with this so far for the NOW and Clubland CDs.
        I'll use this code just for these 2 group albums, then change the code back to my original code.

        [IF][GRAB]1,3,[album][],=,[REPLACE][album],Now,[album][],[REPLACE][album],Now,[album]\[GRAB]5,,[album][][][]
        [IF][GRAB]1,8,[album][],=,[REPLACE][album],Clubland,[album][],[REPLACE][album],Clubland,[album]\[GRAB]10,,[album][][][]
        \[MAXLENGTH]80,[title] - [artist] - [genre] - [year][]

        Comment

        Working...