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

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

  1. #1

    Join Date
    Oct 2010
    Posts
    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?

  2. #2
    dBpoweramp Guru
    Join Date
    Feb 2014
    Posts
    1,730

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

    No value for composer?

    Dat Ei

  3. #3

    Join Date
    Oct 2010
    Posts
    48

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

    Don't understand the question. Composer is there.

  4. #4
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,705

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

    Quote Originally Posted by FMNY View Post
    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.

  5. #5

    Join Date
    Oct 2010
    Posts
    48

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

    Thank you so much! That has fixed it.

Posting Permissions

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