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

Thread: Dynamic Naming with disc number

  1. #1

    Dynamic Naming with disc number

    Still trying to figure out what I need to do. If I have a value in the disc field, I want it to be part of the file name next to the track. If I'm on disk 3, the track should be named 03-01 - Title.mp3. If there is no value in the disc field, it should be 01 - Title.mp3. I can't seem to figure out how to test if that field has a value; i keep ending up with [disc-] in the file name. This is what I have:

    [MAXLENGTH]80,[IFVALUE]album artist,[album artist],[IFCOMP]Various Artists[][IF!COMP][artist][][][]\[MAXLENGTH]80,[year] - [album][]\[MAXLENGTH]80,[IFVALUE]disc,[disc-],[][track] - [title][]

    Any help is greatly appreciated. Thank you

  2. #2

    Re: Dynamic Naming with disc number

    I had a feeling after I posted this question I would find something that works. Maybe it's not the best way

    [MAXLENGTH]80,[IFVALUE]album artist,[album artist],[IFCOMP]Various Artists[][IF!COMP][artist][][][]\[MAXLENGTH]80,[year] - [album][]\[MAXLENGTH]80,[IFVALUE]disc,[SETLEN]2,48,,[disc][]-,[][track] - [title][]

  3. #3
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,725

    Re: Dynamic Naming with disc number

    Quote Originally Posted by dzangger67 View Post
    I had a feeling after I posted this question I would find something that works. Maybe it's not the best way

    [MAXLENGTH]80,[IFVALUE]album artist,[album artist],[IFCOMP]Various Artists[][IF!COMP][artist][][][]\[MAXLENGTH]80,[year] - [album][]\[MAXLENGTH]80,[IFVALUE]disc,[SETLEN]2,48,,[disc][]-,[][track] - [title][]

    try this instead. Puts the disc number there if multidisk, and ignores if single disk.

    [MAXLENGTH]80,[IFVALUE]album artist,[album artist],[IFCOMP]Various Artists[][IF!COMP][artist][][][]\[MAXLENGTH]80,[year] - [album][]\[MAXLENGTH]80,[IFMULTI][disc]-[][track] - [title][]

Posting Permissions

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