Skip to content

Build 9781 [20261012]

Choose a tag to compare

@nemethviktor nemethviktor released this 12 Oct 08:15
· 2 commits to main since this release

Build 9781 [20261012]

Fixed

  • Crash (duplicate dictionary key) when a folder held files that pad to the same sort name, e.g. 1.mp3 and 001.mp3.
  • Crash when ffmpeg could not be started (the error was swallowed, then reading the exit code threw).
  • Invalid or missing arguments produced a confusing "path invalid" message; the parser's usage text is now shown and the app exits with code 1. --help/--version exit with 0.
  • The mp3 filter matched any name ending in mp3 (e.g. foo.xmp3); it now checks the exact .mp3 extension, ignoring case.
  • -f was marked required despite having a default; it is now optional.
  • Console.Clear() no longer crashes when output is redirected.
  • Unreadable subfolders are skipped instead of aborting the run.

Changed

  • The merge is written to <folder>.merging.tmp and renamed to <folder>.mp3 only when ffmpeg succeeded and produced a non-empty file, so a failed run can no longer leave a corrupt .mp3.
  • Original files are deleted only after the merged file is in place; delete failures are reported rather than fatal.
  • ffmpeg arguments are passed as an argument list (correct quoting for spaces/trailing backslashes) and -nostdin is added so ffmpeg can't hang waiting for input.
  • Exit code is 1 if any folder failed to merge.
  • Filenames containing | (unsupported by ffmpeg's concat syntax) cause that folder to be skipped with a message.
  • Code restructured into static methods with doc comments; nullable-warning suppression removed.

Build

  • A Release build now also publishes a single-file, framework-dependent win-x64 exe to bin/Release/net8.0-windows/win-x64/publish/ (no separate publish step).

Documentation

  • README: documented optional -f, -k, subfolder/root handling, temp-file safety and the | limitation.
  • Added this changelog.