title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Extra folders for a single disc created on conversion

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

    • Sep 2022
    • 2

    Extra folders for a single disc created on conversion

    Recently I ripped my CD collection to FLAC, around 450 discs, and used Batch Converter to create mirrored folder output of the FLAC rip. That all went well except around ten or twenty albums ended up generating extra folders, which were sub-strings of the full folder name.

    For example if you have this folder as source, basically the album name:
    ABCDEF/

    The conversion to either mp3 or Apple lossless would sometimes output multiple folders:
    ABC/
    ABCD/
    ABCDE/
    ABCDEF/

    Each folder would have several songs, the full album would be spread across those.

    Image below shows the folder names for both non-working, and working test:
    Click image for larger version

Name:	FlacConversionTestSetup.jpg
Views:	1
Size:	72.7 KB
ID:	297759

    I was able to find a workaround to the issue though by going into PerfectTUNES ID Tags and sanitizing the file names, and base folder name, i.e. Removing any punctuation other than comma or dash. I suspect some combination of semicolon, colon, period, or parenthesis in the source file name and/or the base folder name created during the original rip to FLAC is causing a parse error, or folder compare error in the converter source code.

    This image shows the filenames that were problematic:
    Click image for larger version

Name:	MozartFlacIDTags.jpg
Views:	1
Size:	99.2 KB
ID:	297760

    This shows the sanitized files and metadata that correctly produced the single folder output:
    Click image for larger version

Name:	MozartFlacIDTags Sanitized.jpg
Views:	1
Size:	87.7 KB
ID:	297761

    Has anyone else seen this issue or knows of a workaround that could be applied during rip to FLAC that would pre-sanitize the filenames? Or if it could be fixed in the converter that would be helpful as well.

    Lastly here were the converter settings using a fixed <output path>\Source Path\Source Filename. It's a Windows box. Have not tried it on the Mac yet.
    Click image for larger version

Name:	dbPowerampConverter Settings.jpg
Views:	1
Size:	67.0 KB
ID:	297762
    Last edited by photoelectricfx; September 21, 2022, 04:22 AM.
  • Spoon
    Administrator
    • Apr 2002
    • 44509

    #2
    Re: Extra folders for a single disc created on conversion

    It likely means your filename went over 255 characters which would be causing the issue, having a path and filename over 255 characters can cause issues for many systems, programs, on conversion we try to make the filenames fit within 255 characters.

    Your output path should not add extra characters to the overall filename.
    Last edited by Spoon; September 21, 2022, 12:39 PM.
    Spoon
    www.dbpoweramp.com

    Comment

    • photoelectricfx

      • Sep 2022
      • 2

      #3
      Re: Extra folders for a single disc created on conversion

      Originally posted by Spoon
      It likely means your filename went over 255 characters which would be causing the issue, having a path and filename over 255 characters can cause issues for many systems, programs, on conversion we try to make the filenames fit within 255 characters.

      Your output path should not add extra characters to the overall filename.
      Do you mean the folder path is intentionally truncated in order to preserve the full filename?
      Sounds good, I can try a more simple output path.

      Comment

      • garym
        dBpoweramp Guru

        • Nov 2007
        • 5889

        #4
        Re: Extra folders for a single disc created on conversion

        Originally posted by photoelectricfx
        Do you mean the folder path is intentionally truncated in order to preserve the full filename?
        Sounds good, I can try a more simple output path.
        I use maxlength code in my naming string to make sure nothing is too long:

        [MAXLENGTH]240,[IFCOMP]Compilations\[album][IFMULTI]\Disc [disc][]\[track] - [title] - [artist][][IF!COMP][IFVALUE]album artist,[album artist],[artist][]\[album][IFMULTI]\Disc [disc][]\[track] - [title][][]

        Comment

        Working...

        ]]>