Skip to content

Instantly share code, notes, and snippets.

@fredrikln
Last active July 26, 2020 07:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fredrikln/e24e5ec61baf09133aa8 to your computer and use it in GitHub Desktop.
Save fredrikln/e24e5ec61baf09133aa8 to your computer and use it in GitHub Desktop.
Flexget config
templates:
# Transmission config
transmission:
transmission:
host: 'localhost'
port: 9091
username: [censored]
password: [censored]
ratio: -1.0
addpaused: No
# Add movies to queue from Trakt.tv or IMDB watchlists
fill_movie_queue:
trakt_list:
username: [censored]
list: watchlist
type: movies
# imdb_list:
# login: [censored]
# password: [censored]
# list: watchlist
# force_language: en-us
list_add:
- movie_list: all my watchlists
accept_all: yes
imdb_lookup: yes
# Find movies to download
download_movies:
discover:
what:
- movie_list: all my watchlists
from:
- piratebay: yes
- extratorrent:
category: all
# - torrentz: verified
# - kat:
# category: movies
# verified: yes
quality: hdtv+ 720p+
list_match:
from:
- movie_list: all my watchlists
disable:
- retry_failed
exists_movie:
path: /mnt/[censored]/Movies
lookup: no
set:
path: /mnt/[censored]/Movies/High Definition/{{ imdb_name|replace('/', '_')|replace(':', ' -')|replace(',', '') }}
maxupspeed: 50
main_file_only: yes
ratio: 1.0
# Add series to download
download_series:
assume_quality:
hdtv: 480p
regexp:
reject:
- \bHR\b: {from: title}
- \bREENCODE\b: {from: title}
series:
settings:
best:
quality: hdtv+ <=720p
target: 720p
timeframe: 6 hours
propers: 12 hours
better:
quality: hdtv+ <=720p
target: <720p
timeframe: 6 hours
propers: 12 hours
best:
- Modern Family
- Saturday Night Live
# - Top Gear
- Game of Thrones
- Deadliest Catch
- Silicon Valley
- MythBusters
- Heroes Reborn
- The Walking Dead
- Mr. Robot
- Bones
- Person of Interest
- Dirk Gently's Holistic Detective Agency
better:
- Whose Line Is It Anyway
- The Simpsons
- Family Guy
- American Dad!
- South Park
set:
path: /mnt/[censored]/TV-Series/{{ series_name|replace('\'','') }}/S{{ series_season|pad(2) }}
# Don't spam domains with requests
domain_delay:
domain_delay:
hdbits.org: 15 seconds
bitmetv.org: 15 seconds
tasks:
HDBits:
rss: 'https://hdbits.org/rss/feed?passkey=[censored]&feed=dl'
template:
- domain_delay
- download_series
- transmission
priority: 10
BitMeTV:
rss: 'http://www.bitmetv.org/rss.php?uid=[censored]&passkey=[censored]'
headers:
Cookie: "uid=[censored]; pass=[censored]"
template:
- domain_delay
- download_series
- transmission
priority: 20
Fill Movie Queue:
template:
- fill_movie_queue
priority: 30
Download Movies:
template:
- download_movies
- transmission
priority: 40
schedules:
- tasks: [HDBits, BitMeTV]
interval:
minutes: 15
- tasks: [Fill Movie Queue, Download Movies]
interval:
hours: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment