title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Conversion: preserving paths

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrisjj
    dBpoweramp Guru

    • Nov 2008
    • 300

    Conversion: preserving paths

    I have various audio base folders at various levels from root containing WMAs themselves in subfolders. I want to launch Batch Convert on any one of these base folders e.g. http://i.imgur.com/e7MnPac.png to convert to a new base folder of M4As that mirrors it i.e. has each output M4A at the position corresponding to the input WMA.

    How can I do this?

    Having tried the various FOLDER elements documented https://archive.is/i1JVD , I can find no "Output Location:" settings that do this. The nearest I have found requires changing the number of [TRIMFIRSTFOLDER] elements for each different base folder level. The best alternative I have found is

    Folder <output base folder>
    Dynamic [origpath]\[origfilename]

    which puts the input base folder path in the output base folder path, and then in Explorer, manually move the output base folder to the right location and delete the redundant copies of the input folders.
    Last edited by chrisjj; November 18, 2015, 03:01 PM.
  • Spoon
    Administrator
    • Apr 2002
    • 44507

    #2
    Re: Conversion: preserving paths

    By the time the files reach the converter, it does not know you selected a 'base' folder to convert, so it is not possible.
    Spoon
    www.dbpoweramp.com

    Comment

    • chrisjj
      dBpoweramp Guru

      • Nov 2008
      • 300

      #3
      Re: Conversion: preserving paths

      OK, thanks.

      Would you consider adding a naming element to solve this?

      E.g. one or both of:

      [TRIMTOBASEFOLDER]string[] removes the first folders that appear in the path to the folder passed to the converter command e.g. by Explorer's 'dBpoweramp Batch Convert' command. Example: [TRIMTOBASEFOLDER]f1\f2\f3[] when executed on '\f1\f2' returns 'f2\f3'

      [TRIMTOCOMMONFOLDER]string[] removes the first folders that appear in the path of all files in this batch Example: [TRIMTOCOMMONFOLDER]f1\f2\f3[] when files are in '\f1\f2\f3' and '\f1\f2\f4' only, returns 'f2\f3'

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44507

        #4
        Re: Conversion: preserving paths

        There is the wish list section of this forum for such requests.
        Spoon
        www.dbpoweramp.com

        Comment

        • chrisjj
          dBpoweramp Guru

          • Nov 2008
          • 300

          #5
          Re: Conversion: preserving paths

          Originally posted by Spoon
          There is the wish list section of this forum for such requests.
          Posted there https://forum.dbpoweramp.com/showthr...805*post161805 .

          Comment

          Working...

          ]]>