Skip to content

1.6.0

Compare
Choose a tag to compare
@denis-stepanov denis-stepanov released this 30 Apr 23:28
· 13 commits to main since this release
c155216

Features:

  • #64: support for BroadLink Universal Remote (--tv_control broadlink), using a new dependency package broadlink. Device auto-detect on the network is supported. A new option --tv_codes could be used to point BroadLink support to the TV codes to use. See more info on setting this up in README;
  • #8, #75, #76: support for interactive controls, using a new dependency package sshkeyboard. A variety of commands is available, starting with possibility to emulate a hit and manipulate TV "in action" status. One could also adjust on the fly AdVent parameters "recognition interval" and "recognition confidence". Equally available are direct commands to TV for mute and volume increase / decrease, making AdVent a kind of TV remote. Finally, a graceful "quit" command is provided (previously quit required hard termination from shell). Hit h at run-time for the list of commands supported;
  • #8: support for new option --in_action which would allow starting AdVent with "TV muted" condition. This is mostly useful in the case of uni-directional controls. An equivalent interactive command would allow setting AdVent back in sync in the case of eventual de-sync from TV state;
  • #53: support for "inner" jingles. For complex ad breaks involving multiple jingles, a new option --exit_jingles allows specifying a number of exit jingles to be taken into account. This would be 1 by default, but could be increased. An equivalent interactive command is equally provided;
  • #55: db-djv-pg tool was made aware of git environment. In the case of operating inside a git repository, it will now inform git of certain file system changes it makes. Currently only rename operation on disk is concerned; it will stage file renaming for commit. Previously track renaming under git was quite a complex operation requiring manual rename and edit of the file concerned. A new option --no-git could be used to disable this new behavior;
  • #66: db-djv-pg tool will now print a number of fingerprints in a track during import / export operations. This could be of interest when exporting a new jingle, in order to quickly evaluate its quality (a good number should be above 1000).

Internal / refactoring:

  • tests with recent Fedoras (up to v39), PIP (up to v24) and PipeWire (up to v1.0.5). All three caused quite some disorder here and there;
  • fixed PIP 24 warning on unconventional DejaVu version (denis-stepanov/dejavu#1). This change requires reinstalling DejaVu from a new tag (see README for more info). If your PIP is < 24, you are not concerned;
  • as a side effect of BroadLink addition TV support modules had to be refactored. A concept of uni-directional (HarmonyHub, BroadLink) and bi-directional (Nil, PulseAudio) controls has been implemented. The interface did not change functionally, but function signatures did change, so if you have had your own TV control module implemented, its interface would need to be adapted;
  • volume input parameter for PulseAudio was constrained to percentage of volume. Previously nearly any valid parameter accepted by pactl was possible, but it was hard to maintain that functionality in line with other controllers.

Documentation:

  • improved description of recognition options;
  • a new guide on recognition tuning in the case of unstable results;
  • new fancy presets;
  • example of 2 hours long recognition session.