Skip to content

v0.4.2

Choose a tag to compare

@nosoop nosoop released this 17 Sep 00:00
· 94 commits to main since this release

Added

  • Output (sub)path template support with --output-template. You can now customize the names of the output files and create subfolders relative to the --output-directory. (#12)
    • In the CLI, path templates are specified in the yt-dlp / ytarchive-style %(key)s format, excluding file extension. The stream title is truncated as needed to ensure all output paths are consistent.
      • See available values here.
      • moonarchive doesn't use Python's native string interpolation mechanism (it reimplements the formatting style under the string.Template class), and so does not allow the exotic formatting options that are present in yt-dlp.
      • Note that the API does not have this restriction, and by default uses a version of the formatting class that derives from string.Template.
    • Absolute paths in --output-template are forbidden; if you really want, you can set the --output-directory to the filesystem root, then specify --output-template relative to that.