Discord bot for Radarr/Sonarr integration
Project description
wi1-bot
A Discord bot to integrate Radarr & Sonarr, allowing commands like !addmovie and !downloads.
Usage
- Copy
config.yaml.template
to$XDG_CONFIG_HOME/wi1-bot/config.yaml
and set the necessary values. pip install wi1-bot
(or from source:pip install git+https://github.com/wthueb/wi1-bot.git
)wi1-bot
Development
git clone https://github.com/wthueb/wi1-bot.git
cd wi1-bot/
pip install -e .[dev]
pre-commit install
Requires Python >=3.10.
TODO
- https://github.com/kkroening/ffmpeg-python
ffmpeg -codecs
,ffmpeg -hwaccels
- ffmpeg filters for deinterlacing, scaling
- ffmpeg remove bad subtitle streams
- use sqlite
- 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
- !rate / !ratings (https://developers.themoviedb.org/3/movies/rate-movie)
- !movierec based off of ratings and similar-to-user ratings?
- https://towardsdatascience.com/the-4-recommendation-engines-that-can-predict-your-movie-tastes-109dc4e10c52
- or just use TMDB's API to get recommendations (if that's possible?)
- !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.4.10.tar.gz
(22.4 kB
view details)
Built Distribution
wi1_bot-1.4.10-py3-none-any.whl
(26.0 kB
view details)
File details
Details for the file wi1-bot-1.4.10.tar.gz
.
File metadata
- Download URL: wi1-bot-1.4.10.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e01f557a6598955e423362f707d192ada66cdaaaa69985d6d51bdbd40fb262d6 |
|
MD5 | d141441d56df057d3f73e560410280ec |
|
BLAKE2b-256 | eb8e89c2129623be6a2541210c2b63201d5050f26484a1870a6af60b8d28de22 |
File details
Details for the file wi1_bot-1.4.10-py3-none-any.whl
.
File metadata
- Download URL: wi1_bot-1.4.10-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7ab54f5af6dba087ff5c0d9a494d7d0a4ba8a9e4f1174dc34b846b714964ce |
|
MD5 | 7b1e0ed79ade2548aedb532da5b16878 |
|
BLAKE2b-256 | f5b86fdbb8b10816eda1d4a887000dfbe349ef6b610230f1cdb228d4f00d5ba9 |