Skip to main content

SeaDex-Sonarr

Actions License

SeaDex-Sonarr

SeaDex-Sonarr is designed as a tool to ensure that you have Anime releases on Sonarr that match with the best releases tagged on SeaDex. It works by scanning through series tagged as type "Anime" on Sonarr, matching these up via the TVDB ID to AniList mappings via the Kometa Anime Mappings (https://github.com/Kometa-Team/Anime-IDs) and AniDB mappings (https://github.com/Anime-Lists/anime-lists), and then linking these through to SeaDex. It then returns a list of links to download, which can also optionally be pushed through via a Discord bot. This should make it significantly more hands-free to keep the best Anime releases out there.

Installation

SeaDex-Sonarr can be installed via pip:

pip install seadex_sonarr

Or the cutting edge via GitHUb:

git clone https://github.com/bbtufty/seadex-sonarr.git
cd seadex-sonarr
pip install -e .

Usage

To run SeaDex-Sonarr, the Python code is pretty short:

from seadex_sonarr import SeaDexSonarr

sonarr_url = "your-sonarr-url:8989"
sonarr_api_key = "abcdefg12345"

sds = SeaDexSonarr(sonarr_url=sonarr_url, 
                   sonarr_api_key=sonarr_api_key
                   )
sds.run()

If you want to use Discord notifications (recommended), then set up a webhook following this guide and add the URL into the call:

from seadex_sonarr import SeaDexSonarr

sonarr_url = "your-sonarr-url:8989"
sonarr_api_key = "abcdefg12345"
discord_url = "https://discord.com/api/webhooks/abcde12345"

sds = SeaDexSonarr(sonarr_url=sonarr_url, 
                   sonarr_api_key=sonarr_api_key,
                   discord_url=discord_url,
                   )
sds.run()

Advanced Settings

There are a number of switches you can use to filter down what SeaDex-Sonarr returns as the "best" option for you. These are:

  • public_only (defaults to True), will only return results from public trackers
  • prefer_dual_audio (defaults to True), will prefer results tagged as dual audio, if any exist
  • want_best (defaults to True), will prefer results tagged as best, if any exist

Roadmap

  • Currently, some episodes (particularly movies or OVAs) can be missed. This should be improved in the future by using more robust mapping between AniDB entries and AniList entries
  • Add a way to automatically add suggested releases to torrent client

Metadata

Release files for seadex-sonarr 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seadex-sonarr 0.0.2
File Size Uploaded Provenance Actions
seadex_sonarr-0.0.2.tar.gz 148.1 kB Without provenance Details for seadex_sonarr-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seadex-sonarr 0.0.2
File Interpreter ABI Platform Actions
seadex_sonarr-0.0.2-py3-none-any.whl Python 3 none any Details for seadex_sonarr-0.0.2-py3-none-any.whl

Total release size: 184.2 kB

Release files / seadex_sonarr-0.0.2.tar.gz

Download URL seadex_sonarr-0.0.2.tar.gz
Size 148.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6cb27e3237be94d08e2027c4d1578bdf2dd1c34756ebeaf697259188d1e679f0
BLAKE2b-256 checksum
How to use checksums
0338508a5d288494df25fd68a1e193e060fe2d696fff6a9c8b83e065ecace8fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / seadex_sonarr-0.0.2-py3-none-any.whl

Download URL seadex_sonarr-0.0.2-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6979aca7354bb1130f8e0b65c5a300bd95a86ba07cedeec02e6a09e71cdd98d
BLAKE2b-256 checksum
How to use checksums
a0172f9f12d1a718d3d55b0bbd96d3e74d70b41cd0df647cb459a29f60ece225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for seadex-sonarr 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page