Skip to content

Instantly share code, notes, and snippets.

@ianstalk
Created May 9, 2015 22:34
Show Gist options
  • Save ianstalk/62e97a319e4a0260648c to your computer and use it in GitHub Desktop.
Save ianstalk/62e97a319e4a0260648c to your computer and use it in GitHub Desktop.
My flexget config
secrets: secretfile.yml
templates:
tv:
include: series.yml
content_filter:
reject:
- 'password.txt'
- '*.wmv'
#generic transmission template
transmission:
transmission:
enabled: yes
host: https://SEEDBOX_HOSTNAME/transmission/rpc
port: 9099
ratio: 2
username: '{{ secrets.transmission.username }}'
password: '{{ secrets.transmission.password }}'
notify-tv:
pushbullet:
apikey: '{{secrets.pushbullet.apikey}}'
title: 'New Episode'
body: '{{series_name}} season {{series_season}} epsiode {{series_episode}}'
series-copy-mixins:
parsing:
series: guessit
all_series:
parse_only: yes
no_entries_ok: yes
accept_all: yes
seen: local
download-rejects:
regexp:
reject:
- \.part$
from: title
tasks:
kat-tv:
verify_ssl_certificates: no
template: [tv, transmission]
discover:
what:
- emit_series: yes
from:
- kat:
category: tv
completed-files:
no_entries_ok: yes
seen: local
disable: failed
sftp_list:
host: SEEDBOX_HOSTNAME
username: USERNAME
private_key: ~/.ssh/id_rsa
recursive: False
files_only: False
dirs:
- 'private/downloads'
exists:
- '/Volumes/Drobo/downloads/'
accept_all: yes
sftp_download:
to: '/Volumes/Drobo/downloads/'
recursive: True
move-series-raw:
template: [notify-tv, series-copy-mixins]
find:
path: /Volumes/Drobo/downloads/
recursive: yes
regexp: '.+s\d{1,3}e\d{1,3}.*\.(mkv|avi|mp4|mpg)$'
regexp:
reject:
- 'sample'
move:
to: '/Volumes/Drobo/TV/{{series_name}}/Season {{series_season}}/'
move-series-rar:
template: [notify-tv, series-copy-mixins]
find:
path: /Volumes/Drobo/downloads/
recursive: yes
regexp: '.+s\d+e\d+.*\.(rar|r0+[01]|zip)$'
decompress:
to: '/Volumes/Drobo/TV/{{series_name}}/Season {{series_season}}/'
keep_dirs: no
delete_archive: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment