Skip to content

21w28a

Compare
Choose a tag to compare
@WyattBlue WyattBlue released this 18 Jul 08:03
· 1127 commits to master since this release

What's New

Units are now handled in a uniform fashion.

  • Invalid numbers now only trigger errors, not crashes.
  • Spaces are allow in all units now. (exp --frame_margin "30 frames")

Here's a list of all the units and their aliases in this version:

 - Seconds units: s, sec, secs, second, seconds
 - Frame units:   f, frame, frames
 - Sample units:  Hz, kHz
 - Percent:       %

Other Stuff:

  • Backwards range (example --cut_out 30,-50) now works, is tested, and will be added to documentation soon
  • Fixed crash related to URL inputs when neither a cookiefile path or an archive path are specified

In The Future

Add more documentation, both internal and external, on what units do, where you can use them.

Tip: you can use the percent unit in any float_type option.

Dev Stuff

  • Updated typing info so that it can be understood by mypy
  • GitHub Actions Workflow updated so that:
    • changes in main dunder init don't trigger testing
    • youtube-dl is installed
  • URL inputs are now tested.

Full Changelog: 21w26a...21w28a