title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Autoencoder.txt - Conversion to MP3 (Folder structure)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mad_dr
    • Mar 2009
    • 9

    Autoencoder.txt - Conversion to MP3 (Folder structure)

    Hello,

    I've spent some time scouring the forums for a solution to my issue but haven't been successful so would appreciate some pointers.

    I have the full version of DB Poweramp, bundled with an AVA RS3 server. The server is set to rip my CDs to M4A and put them into a folder on my WHS like so:

    C:\shares\M4A\artist1\album1\track1.m4a
    C:\shares\M4A\artist1\album1\track2.m4a
    C:\shares\M4A\artist1\album2\track1.m4a
    C:\shares\M4A\artist1\album2\track2.m4a
    C:\shares\M4A\artist2\album1\track1.m4a
    C:\shares\M4A\artist2\album1\track2.m4a
    C:\shares\M4A\artist2\album2\track1.m4a
    C:\shares\M4A\artist2\album2\track2.m4a

    This works perfectly for me.

    I have the tried to setup the DSP for Autoencoder to automatically use the M4A files to create MP3 files and put them in a different share, located like this:

    C:\shares\MP3\artist1\album1\track1.mp3
    C:\shares\MP3\artist1\album1\track2.mp3
    C:\shares\MP3\artist1\album2\track1.mp3
    C:\shares\MP3\artist1\album2\track2.mp3
    C:\shares\MP3\artist2\album1\track1.mp3
    C:\shares\MP3\artist2\album1\track2.mp3
    C:\shares\MP3\artist2\album2\track1.mp3
    C:\shares\MP3\artist2\album2\track2.mp3

    I'd like it to keep all of the album artwork and tag information the same as the M4A versions so it's basically just duplicating the whole file tree from C:\shares\M4A, converting it to MP3 and dumping it in C:\shares\MP3.

    I'm struggling with the line in the autoencoder.txt file which chooses the file naming structure. The one with [TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][][][]origpath/origfile

    I can't seem to get it configured how I need to because although it's clearly 'seeing the source M4A files (yay!) and is creating the output files in the right main-directory (C:\shares\MP3 - yay!) I seem to be able to only get one of the following:

    1. It creates a folder in the C:\shares\MP3 folder (excellent!) but it ALSO preserves the whole file path from the original, so it ends up like:
    C:\shares\MP3\shares\M4A\artist1\album1\track1.mp3
    C:\shares\MP3\shares\M4A\artist1\album1\track2.mp3
    C:\shares\MP3\shares\M4A\artist1\album2\track1.mp3
    C:\shares\MP3\shares\M4A\artist1\album2\track2.mp3
    C:\shares\MP3\shares\M4A\artist2\album1\track1.mp3
    C:\shares\MP3\shares\M4A\artist2\album1\track2.mp3
    C:\shares\MP3\shares\M4A\artist2\album2\track1.mp3
    C:\shares\MP3\shares\M4A\artist2\album2\track2.mp3

    Or else, it creates a folder in the C:\shares\MP3 folder strips off all of the original folders, including the artist folder, so it ends up like this:
    C:\shares\MP3\album1\track1.mp3
    C:\shares\MP3\album1\track2.mp3
    C:\shares\MP3\album2\track1.mp3
    C:\shares\MP3\album2\track2.mp3
    (Basically the C:\shares\MP3 folder is filled with a big list of albums, but not separated into Artist folders.

    I guess I'm looking for a happy medium - can anyone please paste in here exactly what this line shoud look like in my autoencoder.txt file. I'm sure I can't be far off but it's eluding me at the moment. Any help appreciated.

    Thanks!
    Andy
  • Spoon
    Administrator
    • Apr 2002
    • 44095

    #2
    Re: Autoencoder.txt - Conversion to MP3 (Folder structure)

    Try:

    [TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][origpath][][][]\[origfile]
    Spoon
    www.dbpoweramp.com

    Comment

    • mad_dr
      • Mar 2009
      • 9

      #3
      Re: Autoencoder.txt - Conversion to MP3 (Folder structure)

      Thanks Spoon.

      I have a feeling that's what it was set to originally when it was stripping off the artist folder but of course I'll give it a try when I'm at home this evening. I tried to reduce the number of [TRIMFIRSTFOLDER]s that were in the string but that's when it began to go wrong for me!

      So I tried removing ALL of the [TRIMFIRSTFOLDER]s hoping it would mirror the M4A folder but that's when it started putting it in there as C:\shares\MP3\shares\M4A\artist1\album1 etc...

      So I added them back in one at a time and it all got very confusing...

      Will have a go this evening and let you know.

      Comment

      • mad_dr
        • Mar 2009
        • 9

        #4
        Re: Autoencoder.txt - Conversion to MP3 (Folder structure)

        Hmm - still no joy Spoon.

        Here's the line from my autoencoder.txt file:

        "[TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][origpath][][][]\[origfile]"

        It's still stripping off too many folders (it's stripping off the artist name parent folder that the album folders should be in). So it's still leaving me with
        C:\shares\MP3\album1 rather than
        C:\shares\MP3\artist1\album1

        Should I take out one of the [TRIMFIRSTFOLDER]s? To leave it as:

        "[TRIMFIRSTFOLDER][TRIMFIRSTFOLDER]origpath][][][]\[origfile]"?

        Thanks!

        Comment

        • Spoon
          Administrator
          • Apr 2002
          • 44095

          #5
          Re: Autoencoder.txt - Conversion to MP3 (Folder structure)

          Take off a [TRIMFIRSTFOLDER] and []
          Spoon
          www.dbpoweramp.com

          Comment

          • mad_dr
            • Mar 2009
            • 9

            #6
            Re: Autoencoder.txt - Conversion to MP3 (Folder structure)

            Hmm - I thought I replied to this, but I must not have! Your last post (above) worked perfectly. For anyone else who is interested or has the same problem, the line in my file now says:

            "[TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][origpath][][]\[origfilename]"

            Thanks Spoon!
            Andy

            Comment

            Working...

            ]]>