Exclude streaming services such as netflix from Radarr
Project description
Excludarr
By default there is no option to exclude streaming providers from the automatically imported movies throught lists in Radarr. I have created 2 basic API wrappers to connect to Radarr and TMDB (the available API wrappers did not work). This script will do the following:
- Get a full overview of movies.
- Exctract the tmdbid value of each movie found.
- Lookup the extracted
tmdbid
value from Radarr at TMDB itself and check if the movie is available on one of the chosen providers in your country. - All movie ids (database ids from Radarr) that are available on one of the chosen streaming services will be deleted and excluded from auto import in the future.
Dependencies
- Python3
- Radarr v3 (latest)
- TMDB account (Free)
Installation
pip install excludarr
Configuration
To configure the application make sure that one of the following files exists:
/etc/excludarr/excludarr.yml
~/.config/excludarr/excludarr.yml
~/.excludarr/config/excludarr.yml
~/.excludarr.yml
./.excludarr.yml
The application will read those configuration files in that order. So ./.excludarr.yml
will overwrite /etc/excludarr/excludarr.yml
. For a full list of options and their description see .excludarr-example.yml
in this repository.
How to use
Make sure you have setup the configuration file correctly. Read the help page carefully. By default the tool will never delete anything without the --force
flag specified.
$ excludarr delete
┏━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ ID ┃ Title ┃ Providers ┃
┡━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ 8 │ Outside the Wire │ netflix │
│ 12 │ We Can Be Heroes │ netflix │
│ 13 │ Jumanji: The Next Level │ netflix │
│ 17 │ Bad Boys for Life │ netflix │
│ 18 │ The SpongeBob Movie: Sponge on the Run │ netflix │
└─────┴────────────────────────────────────────┴───────────┘
Are you sure you want to delete the movies listed in the table from radarr? (y/N)
Development
This library is still being developed. pytmdb and pyradarr will later be seperate modules.
Contributing
Feel free to help and contribute to this project :)
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
Built Distribution
Hashes for excludarr-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aabc4adfbd488b03662cbc44071cfbddb88f4dca34750cf6f1692f94c2e5aa72 |
|
MD5 | 113f8af913bb366db18a16bbf036cdf2 |
|
BLAKE2b-256 | 14a4d1d37c60719a57fbb7f198e998c9d9b6caa33fa43b9471b77df3322e7cd9 |