Skip to main content

Discord bot for Radarr/Sonarr integration

Project description

wi1-bot

A Discord bot to integrate Radarr & Sonarr, allowing commands like !addmovie and !downloads.

Usage

  1. Copy config.yaml.template to $XDG_CONFIG_HOME/wi1-bot/config.yaml and set the necessary values.
  2. pip install wi1-bot (or from source: pip install git+https://github.com/wthueb/wi1-bot.git)
  3. wi1-bot

Development

  1. git clone https://github.com/wthueb/wi1-bot.git
  2. cd wi1-bot/
  3. pip install -e .[dev]
  4. pre-commit install

Requires Python >=3.10.

TODO

  • have config.discord.users be a dict with 'quotas' and 'name' for *arr tags
  • Better pushover notifications
    • Failures for pretty much everything
    • Notifications for grabs/downloads of personal watchlist
  • Tag user who added movie when it's downloaded
    • Would replace Radarr/Sonarr's Discord webhooks
    • !notify <query> to also be tagged when a movie/show someone else added is downloaded
      • react to "added movie/show" instead of having to !notify
      • react to notification to stop notifications
      • if user tries to add movie that's already present, add them to list to notify
      • Would require a DB; don't use tags as those are to strictly track quotas
        • DB is useful for caching other information as well
  • Use Discord slash commands instead of normal text commands
    • This is difficult/impossible currently, can't have "conversation" with slash commands
  • Enforce quotas
  • Testing
    • docker(-compose) for spinning up Sonarr and Radarr instances to test API interactions
  • Web dashboard for seeing transcode queue, transcode progress, quotas
  • !linktmdb
  • !movieinfo showing user/public ratings and other general info (runtime, cast, director)
    • use TMDB API to get movie metadata
    • if movie isn't on Radarr, react to message to add it?
    • Tautulli API (get_history) to show who has already seen the movie
  • User leaderboard
    • movies/shows added, Tautulli watch counts

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wi1-bot-1.3.13.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wi1_bot-1.3.13-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file wi1-bot-1.3.13.tar.gz.

File metadata

  • Download URL: wi1-bot-1.3.13.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.17

File hashes

Hashes for wi1-bot-1.3.13.tar.gz
Algorithm Hash digest
SHA256 00ff937a1873b8b236de99ea400271146fdbbcd6d7dffe3b6e2cf070d98ef387
MD5 3f331e31aee5a44cfd38993e332581a4
BLAKE2b-256 0799d482908c200d44c227fe6a50eea7e985fb61bccd9cc26bd95409bc59e25e

See more details on using hashes here.

File details

Details for the file wi1_bot-1.3.13-py3-none-any.whl.

File metadata

  • Download URL: wi1_bot-1.3.13-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.17

File hashes

Hashes for wi1_bot-1.3.13-py3-none-any.whl
Algorithm Hash digest
SHA256 dd854110bf9548ab47a74f61d0c4cf2eb2545a7238a0aaa4ddf6f24becfff7c4
MD5 26babfe8bfb603c73b1bf046a45e0e28
BLAKE2b-256 e800fdf9ec1c650786c1a1b83b80ee29b091de11fb153efa90e396d89b5ad77e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page