title
Products            Buy            Support Forum            Professional            About            Codec Central
 

File Naming Script For Single Vs Multi-Artist Albums

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • waverunner
    • Feb 2021
    • 2

    File Naming Script For Single Vs Multi-Artist Albums

    I am having difficulty creating a file naming script for single vs multi-artist albums. My output goals are:

    Single Artist
    Album Artist\Year • Album Title\Album Artist • Year • Album Title • Track Number • Track Title
    Aerosmith\1989 • Permanent Vacation\Aerosmith • 1989 • Pump • 1-03 • Going Down-Love In An Elevator.m4a

    Various Artists
    Album Artist\Year • Album Title\Album Artist • Year • Album Title • Track Number • Track Artist • Track Title
    Various Artists\1977 • Saturday Night Fever\Various Artists • 1977 • Saturday Night Fever • 1-01 • Bee Gees • Stayin Alive.m4a

    As you can see, I only want the track artist to appear before the track title in cases of multi-artist albums, otherwise it would be redundant. Thanks in advance for the help.
  • Spoon
    Administrator
    • Apr 2002
    • 43893

    #2
    Re: File Naming Script For Single Vs Multi-Artist Albums

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

    However with album twice and album artist and artist twice you are likely to hit the 260 character limit for path names.
    Spoon
    www.dbpoweramp.com

    Comment

    • waverunner
      • Feb 2021
      • 2

      #3
      Re: File Naming Script For Single Vs Multi-Artist Albums

      Thank you, sir. Works perfectly.

      I enabled Very Long Pathnames in Windows 10 so hopefully the 260 wall won't be an issue.

      Originally posted by Spoon
      [MAXLENGTH]80,[IFVALUE]album artist,[album artist],[IFCOMP]Various Artists[][IF!COMP][artist][][][]\[Year] -[MAXLENGTH]80,[album][]\[MAXLENGTH]80,[album artist] [year] [album] [track][IFCOMP] [artist][] - [title][]

      However with album twice and album artist and artist twice you are likely to hit the 260 character limit for path names.

      Comment

      Working...

      ]]>