title
Products            Buy            Support Forum            Professional            About            Codec Central
 

BUG Report: Problems with Conditional Encoding DSP Effect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmcritchie
    • May 2019
    • 20

    BUG Report: Problems with Conditional Encoding DSP Effect

    Hi,

    I am a new user of the Music Converter. I have 3 archival source trees on the same drive (not under the Music folder): an MP3 archive from Amazon, an M4A archive from iTunes, and a FLAC archive that I created by ripping my CDs.

    My goal is to populate a library under the Music folder from all 3 sources. The MP3 and M4A archives should be copied as is, and the FLAC archive should be converted to M4A. I want to be able to add to or update any of the 3 archives, rerun the Batch Converter, and only have the new or modified files be processed.

    For this purpose, I am using 3 instances of the Conditional Encoding DSP Effect:
    1)for FLAC archive: Skip file if all conditions match; Has Extension: .flac; General: Destination is Newer Than Source
    2) for MP3 archive: Copy 1:1 Source to Destination if all conditions match; Has Extension: .mp3; General: Source is Newer than Destination
    3) for M4A archive: Copy 1:1 Source to Destination if all conditions match; Has Extension: .m4a; General: Source is Newer than Destination

    The first time I run the Batch Converter, it works as intended. The subsequent times I run it, I run into several problems:

    Issue *1:
    After the first time, on each convert attempt, I get a warning with a list of existing MP3 and M4A files that could be overwritten via 1:1 copy. The existing FLAC -> M4A files are not listed. Since I have already coded rules to only convert/copy if the destination doesn't exist or is older than the source, I think this warning is neither needed nor appropriate.

    Issue *2:
    If I add new files to all 3 source archives, and click "No to All" in the Confirm File Replace dialog box, all new source files are converted/copied as expected. However, in this case, it often happens that one or more FLAC->M4A files will get re-converted when they shouldn't. Sometimes it's one, two, or three extra files. Sometimes, none. Snip 1 shows an example with 1 extra file: core 4 is processing the extra (unchanged) FLAC file. Note that the count at the top says "Converting File 33 of 32" and that the percentage is 112%. The correct number of files to process is 32.

    Issue *3:
    If I update the modification timestamp of a file in the MP3 source archive to be newer than the corresponding file in the destination folder, and click "No to All", the updated file is ignored and not copied to the destination folder. No files are copied/converted. (I did not test updating the timestamp of files in the other 2 source archives, but am assuming they would have the same problem.)

    Issue *4:
    If I attempt to convert with no new or modified files, but click on "Overwrite" in the Confirm File Replace dialog box, the MP3 source files are sometimes recopied and sometimes undergo a MP3->M4A conversion; meanwhile the M4A source files always undergo a M4A->M4A conversion (instead of a copy), thus lowering their quality. The FLAC->M4A files are not altered. See Snip 2: the Core 1 track is a file from the M4A source archive that is being re-encoded, but should only ever be copied.

    All in all, a little disappointing as a new user. But I can see the core functionality of the Music Converter is solid, and so am hoping that the above four issues can be easily and quickly addressed.

    Thanks,
    Dennis
    Attached Files
  • Spoon
    Administrator
    • Apr 2002
    • 43893

    #2
    Re: BUG Report: Problems with Conditional Encoding DSP Effect

    You need TuneFusion, it would do exactly as you want:

    dBpoweramp Image Converter - PNG, Portable Network Graphics, Bitmap, GIF, JPEG, JPG, TIFF, Webp. Free Download (21 day full trial), start converting today
    Spoon
    www.dbpoweramp.com

    Comment

    • dmcritchie
      • May 2019
      • 20

      #3
      Re: BUG Report: Problems with Conditional Encoding DSP Effect

      Thanks for the pointer to Tune Fusion. It does in most respects do what I need.

      Not to beat a dead horse, but I should point out that your documentation does state that I should be able to do all this with the Music Converter. This link (https://www.dbpoweramp.com/Help/dMC/FileSelector.htm) states: ">> if redoing the mp3 library add the DSP effect 'Conditional Encode' and set to skip already existing destination files."

      And this link (file:///C:/Program%20Files/dBpoweramp/Help/dmc/DSP.htm) states: "Conditional encoding allows Music Converter to either skip certain files, or copy them 1:1 to the destination location, if attributes of the source file match any of the specified values (Bitrate, Bitdepth, Sample Rate, Extension or General). It is possible to use more than 1 of these effects, for example, 1 effect to skip all files where the destination exists, a 2nd effect to copy 1:1 any .mp3 files."

      This documentation resulted in my spending many hours trying to get this to work, and then writing up a detailed bug report for you. So if you are not planning to fully support this functionality in Music Converter, then at a minimum, I would suggest you modify the documentation to clarify the situations that Conditional Encoding does not handle reliably. But while that would help, as a professional programmer myself, my preference would always be to prevent the interface from allowing any unsupported behaviors so that the user is not misled.

      Great product suite otherwise. :-)

      Dennis

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 43893

        #4
        Re: BUG Report: Problems with Conditional Encoding DSP Effect

        You would add another 'Conditional Encode' set to:

        Skip file
        If any condition matches
        General: Destination Exists

        However, TuneFUSION more suits what you are trying to do, it is like using Word for spreadsheets, not Excel.
        Spoon
        www.dbpoweramp.com

        Comment

        Working...

        ]]>