An automated system to download trailers.
3.7K
Backdropper is a tool written in Python that is used to import movies and shows from Radarr and Sonar, download appropriate trailers, remove borders and adding them to your library.
(note: currently only works in Linux)
Backdropper can be used as a standalone program or as a docker container. This guide assumes you already have Docker (if used), Radarr, and Sonarr installed and set up.
git clone https://github.com/ShiniGandhi/Backdroppr.git.cd Backdroppr.sudo apt install python3 ffmpeg -y.pip install -r requirements.txt.python3 main.py.git clone https://github.com/ShiniGandhi/Backdroppr.git.cd Backdroppr.docker build -t shinigandhi/backdroppr:latest . (you can skip if you want to use my image)docker-compose up -d.radarr_api: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
radarr_host: "http://172.0.0.1:7878"
sonarr_api: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
sonarr_host: "http://172.0.0.1:8989"
tmdb_api: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
output_dirs: "trailers"
sleep_time: 3
length_range: "30,300"
### Optional ###
filetype: "webm"
skip_intros: True
subs: True
### Uncomment if needed ###
moviepath: "/vault/Media/Movies"
tvpath: "/vault/Media/TV Shows"
| Name | Description | Example | Required |
|---|---|---|---|
| radarr_api | API key received from Radarr | 4556edb99d442d83b88c6809c42fc78d | Yes |
| radarr_host | IP and port in-which Radarr runs | http://172.0.0.1:7878 | Yes |
| sonarr_api | API key received from Sonarr | 01bb1ebca84e8939f112c414b98c70f7 | Yes |
| sonarr_host | IP and port in-which Sonarr runs | http://172.0.0.1:8989 | Yes |
| tmdb_api | API key from themoviedb | 96dd72f9176e688b8967829911a184fb | Yes |
| output_dirs | The directory inside the tv show/movie's directory that trailers will be downloaded to. Multiple values can be set using a comma ( ,). | trailers or trailers,backdrops | Yes |
| sleep_time | Time in hours that the script will wait until running again. Can be set to minutes using a decimal point. Currently required, will be made optional in the next release. | 3 or 0.5 | Yes |
| length_range | Time range in seconds in which the trailer must be. Separated with a comma , Currently required, will be made optional in the next release, but I do recommend setting it, as some entries may have extremely long or short videos. | 30,300 | Yes |
| filetype | File extension used in target file. Defaults to mp4 (h264) if left empty. I recommend using webm since it uses vp9, which, while slower to encode is more efficient. | webm - vp9 codec mp4 - h264 codec | No |
| skip_intros | Uses SponsorBlock to detect intros and other junk in the video and skips it. Doesn't always work. If you're experiencing any issues just disable it for a while. Defaults to False if not set. | True or Falase | No |
| subs | Whether or not subtitles will be downloaded vtt if webm and ass if mp4. Defaults to False if not set. | True or Falase | No |
| moviepath | Override the path set inside Radarr if not the same as the script's Useful if Radarr is running inside a container or on a different machine. | "/vault/Media/Movies" | No |
| tvpath | Override the path set inside Sonarr if not the same as the script's Useful if Sonarr is running inside a container or on a different machine. | "/vault/Media/TV Shows" | No |
services:
backdroppr:
image: shinigandhi/backdroppr:latest
restart: always
volumes:
- ./config:/config #Where the config file will be located
- /vault/Media/TV Shows:/tv #TV show directory re-routing
- /vault/Media/Movies:/movies #Movie directory re-routing
Content type
Image
Digest
sha256:b755ba922…
Size
533.1 MB
Last updated
about 3 years ago
docker pull shinigandhi/backdroppr