Skip to content

1.5.0

Compare
Choose a tag to compare
@denis-stepanov denis-stepanov released this 22 Dec 01:23
· 126 commits to main since this release

Features:

  • #44: a comprehensive exercise of AdVent engine performance testing and tuning. As a result, default number of threads was lowered from 4 to 2, and the default listening interval was decreased from 3 to 2 seconds. Overall, this results in twice as less CPU usage and faster reaction in default configuration. Detailed results are documented in README;
  • significant boost to the database tool (db-djv-pg):
    • #4: support for directory tree scanning. It is now possible to pass folders to the import command thus eliminating the need for a complex xargs command. In the case of export, a new option -d will now create a tree DB/<country>/<channel>/<track> matching the format of the advent-db repository;
    • #34: a new option -s to import/export commands will now allow for hard synchronization between source and target. When used, it will overwrite all the tracks in target which have a SHA1 different from the source, as well as will delete all tracks in target which do not have equivalent in the source;
    • #35: support for smart overwrite: overwrite on import / export (-o option) will now only be done if SHA1 hashes of a source and a target do not match. One can still force overwrite with a new option -O;
    • #3: support for rename command allowing renaming of tracks in the database or on disk (for the latter specify the .djv file extension);
    • #36: support for dbinfo command showing a lot of information about Dejavu database and AdVent metadata in it. -c option will additionally run consistency checks on the database;
    • #42: support for vacuum command which optimizes database performance. An additional option -f will perform "hard" vacuuming by rebuilding all the tables. Operations modifying the database will now internally execute VACUUM at the end of transaction.
    • #57: long operations will now be displayed using nice progress bars, thanks to the amazing alive-progress package;
  • documentation was augmented with a table of presets for recognition options, as well as with "other uses" section;
  • fix deprecation warning from the latest PIP 22.3 on Fedora;
  • deprecate Logitech Harmony Hub and announce forthcoming support for BroadLink Universal Remote;
  • various internal refactoring.