Releases: weannounce/arrnounced
Support v3 API in Sonarr
What's Changed
- Update README.md by @tanka8 in #27
- Support for Sonarr's v3 API added
- Fixed the reponse parsing from Radarr at the same time
Full Changelog: 0.9.0...0.9.1
Status page
A new status page is available. It shows the current IRC status.
Improved database purge performance
The purge performance of old announcements was horrendous. The new implementation takes less time and uses a lot less memory.
Purge old announcements
- Arrnounced will by default purge announcements older than 365 days
- This behavior can be changed in the configuration file
- Support added for Python versions 3.7 - 3.9 (see #24 for 3.10)
- Arrnounced will check if the configured backends are reachable and log the result
- Print cookie warning only once
Asynchronous session based backend notifications
- Notifications to backends are now done asynchronously and with a session which should be more efficient
- Project also moved to using Poetry and is therefore also published on PyPI
- Required Python version is still not properly set. The packages only support Python 3.9, this will be fixed later.
Configuration format changed to TOML
- #16 Arrnounced now supports an arbitrary number of backends (Sonarr/Radarr/Lidarr)
- Config option added to download torrent files with HTTPS
Due to the changes in #16 the configuration format was changed to TOML. Ini was used before which have deceivingly similar syntax. TOML is much better defined and had better support for the changed needed for #16. Below follows a list to aid you in updating your configuration.
- Example of TOML format -> https://learnxinyminutes.com/docs/toml/
- Quote strings
- Boolean values: true/false
- Integers unchanged
- Backends moved to subsection
[backends.<backend name>]
- Specify backend type with the
type
option
- Specify backend type with the
- Trackers moved to subsection
[trackers.<tracker type>]
- Always notify a backend with the
notify_backends
option - Tracker categories are moved to subsection
[trackers.<tracker type>.category]
- Tracker settings are moved subsection
[trackers.<tracker type>.settings]
- Tracker types with periods are now supported. Before:
[tvt_ro]
, now:[trackers."tvt.ro"]
- Always notify a backend with the
- The configuration library is changed, rerun
pip install --user -r requirements.txt
if you are not using Docker
The example config is updated to show the changes, example.toml
Bug fixes
Web interface pagination
Pagination
The web interface now allows you to list older announcements and snatches.
Announcements with optional groups
Announcements with optional groups are now handled. This affects for example AR and BTN.
Minor bug fixes
Some other more or less unnoticeable bug fixes are also included.
Bug fixes
Mostly corrections of bugs, spelling and formatting.
As Python's standard library XML parser implementation is vulnerable to maliciously constructed data the implementation now uses defusedxml.
Multiline announcements
Multiline patterns
This release brings support for multiline patterns.
New database design
The database design is updated. The new design preserves the relation between an announcement and whether it was snatched.
If you used Arrnounced prior to this or used one of its predecessors you have two
options.
- Convert your old database using convert_db.py
- Move the old database file for safe keeping.
The database file is called brain.db
and Arrnounced keep it in ~/.arrnounced
Re-notify backend of announcement
The ability to notify Sonarr/Radarr/Lidarr (backends) of an announcement via the web interface was broken for a while. It is now fixed. The notify interface is also changed to notify one of the configured backends. Not only the once configured for the specific tracker in your configuration file.