jawilson / flexget-config

My personal configuration for Flexget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Install Flexget
  2. Clone this repository into the .flexget directory of your home directory
    git clone https://github.com/jawilson/flexget-config.git .flexget
  3. Set up your secretfile.yml
  4. 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:

  1. Flexget accepts the torrent regardless if it's a rar-pack or not
  2. My custom content_sort plugin (available in this repository) changes the move_done value if the torrent contains a .rar
  3. The torrent is added to Deluge
  4. Deluge is configured with the Execute plugin to run my trigger-decompress.sh script (also available in this repository) when any torrent is done downloading
  5. trigger-decompress.sh simply calls the Flexget API and requests the Series-Decompress and Movies-Decompress tasks be run
  6. Flexget uses the decompress plugin to unpack the torrent to a 'staging' location, then it runs the appropriate *-Sort-Decompressed task
  7. The sort task checks for files in the 'staging' location from step #6 and renames and moves the files to their appropriate final location

About

My personal configuration for Flexget

License:The Unlicense


Languages

Language:Python 98.9%Language:Shell 1.1%