flexget-config
flexget-config copied to clipboard
My personal configuration for Flexget
Flexget Configuration Files
Created by: Jeff Wilson
Available from: https://github.com/jawilson/flexget-config (originally located in https://github.com/jawilson/dotfiles)
I'm using the secrets plugin to hide my private credentials for various plugins. If you want to do this as well, you will need to create a secretfile.yml file in the same directory as your config.yml.
Installation
- Install Flexget
- Clone this repository into the
.flexgetdirectory of your home directorygit clone https://github.com/jawilson/flexget-config.git .flexget - Set up your
secretfile.yml - Run the Flexget daemon
flexget daemon start -d
I've also added the following line to my local crontab (crontab -e):
@reboot /usr/local/bin/flexget daemon start -d >/dev/null 2>&1
Rar-unpacking
My entire setup results in a single video file (.mkv, .mp4, etc) in the final destination with a nice name regardless if it's packed in a rar or not.
Here's the gist of how it works:
- Flexget accepts the torrent regardless if it's a rar-pack or not
- My custom
content_sortplugin (available in this repository) changes themove_donevalue if the torrent contains a.rar - The torrent is added to Deluge
- Deluge is configured with the Execute plugin to run my
trigger-decompress.shscript (also available in this repository) when any torrent is done downloading trigger-decompress.shsimply calls the Flexget API and requests theSeries-DecompressandMovies-Decompresstasks be run- Flexget uses the
decompressplugin to unpack the torrent to a 'staging' location, then it runs the appropriate*-Sort-Decompressedtask - The sort task checks for files in the 'staging' location from step #6 and renames and moves the files to their appropriate final location