title
Products            Buy            Support Forum            Professional            About            Codec Central
 

my files names all have two unwanted underscores at the end.

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

    • Oct 2010
    • 48

    my files names all have two unwanted underscores at the end.

    I'm having some problems with the file naming algorithm. All of the ripped track files have two underscores at the end of the file name. I can't see why this is the case. Here's the naming formula I'm using.

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

    The purpose of this algorithm is to include the artist in the filename when the CD is a compilation, but not include the artist in the filename when it's not a compilation.

    I end up with filenames like this:

    2-03 Sergei Prokofiev - Concerto, Op. 26 - III__.flac

    or for a compilation CD
    2-01 Marian Filar Peter Ilyich Tchaikovsky - Concerto, Op. 23 - I__.flac

    Does anyone know how to stop those extra underscores from being added?
  • Dat Ei
    dBpoweramp Guru

    • Feb 2014
    • 1786

    #2
    Re: my files names all have two unwanted underscores at the end.

    No value for composer?

    Dat Ei

    Comment

    • FMNY

      • Oct 2010
      • 48

      #3
      Re: my files names all have two unwanted underscores at the end.

      Don't understand the question. Composer is there.

      Comment

      • garym
        dBpoweramp Guru

        • Nov 2007
        • 5888

        #4
        Re: my files names all have two unwanted underscores at the end.

        Originally posted by FMNY
        I'm having some problems with the file naming algorithm. All of the ripped track files have two underscores at the end of the file name. I can't see why this is the case. Here's the naming formula I'm using.

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


        The purpose of this algorithm is to include the artist in the filename when the CD is a compilation, but not include the artist in the filename when it's not a compilation.

        I end up with filenames like this:

        2-03 Sergei Prokofiev - Concerto, Op. 26 - III__.flac

        or for a compilation CD
        2-01 Marian Filar Peter Ilyich Tchaikovsky - Concerto, Op. 23 - I__.flac

        Does anyone know how to stop those extra underscores from being added?
        You have a carriage return in there that you can't see at the very end of the string. Go to the end of the string and use down arrow to actually move cursor to the line below what you *think* is the end of the string "[][]" then use delete button to delete the hidden CR. I did that to your string and that solved the problem.

        Comment

        • FMNY

          • Oct 2010
          • 48

          #5
          Re: my files names all have two unwanted underscores at the end.

          Thank you so much! That has fixed it.

          Comment

          Working...

          ]]>