Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables: variables.yml
- web_server: yes
- # Run every task once an hour plus or minus 60 seconds
- schedules:
- - tasks: '*download*'
- interval:
- minutes: 30
- jitter: 120
- - tasks: 'Add*'
- interval:
- hours: 6
- jitter: 120
- #########################################################TEMPLATES
- templates:
- ################################GLOBAL############################
- global:
- retry_failed: yes
- retry_time: 15 minutes
- retry_time_multiplier: 2
- max_retries: 9
- pathscrub: windows
- content_filter:
- reject:
- - '*.rar'
- - '*.zip'
- - '*.wmv'
- - 'password'
- require:
- - '*.avi'
- - '*.mkv'
- - '*.mp4'
- regexp:
- reject:
- - ts: {from: title}
- - hindi: {from: title}
- - \bspanish\b: {from: title}
- - dutch: {from: title}
- - swedish: {from: title}
- - s\d+e\d+: {from: title}
- - '\d{4}.\d{2}.\d{2}': {from: title}
- - \d+x\d+: {from: title}
- - \bR5\b: {from: title}
- - \bWEBSCR\b: {from: title}
- - \bscreener\b: {from: title}
- - \bTS\b: {from: title}
- - \bCam\b: {from: title}
- - \bITA\b: {from: title}
- - \bGERMAN\b: {from: title}
- - \bFRENCH\b: {from: title}
- - \bRUS\b: {from: title}
- - \bHC\b: {from: title}
- - \bREMUX\b: {from: title}
- - \bBDRiP\b: {from: title}
- - (s|d)ub(s|bed)?\b: {from: title}
- - \b(duo|tri|quadri|tetra|penta)logy\b: {from: title}
- - \b3-?D\b: {from: title}
- - \btrailer\b: {from: title}
- - '{C_P}': {from: title}
- - TrTd TeaM: {from: title}
- - \[TNTVillage\]: {from: title}
- - \[facepalm\]: {from: title}
- - \bASAP\b: {from: title}
- - \[MULTi\]: {from: title}
- - \[xAll\]: {from: title}
- - \[HDRip\]: {from: title}
- - \[3D\]: {from: title}
- - \bSWESUB\b: {from: title}
- - \btrailer\b: {from: title}
- - \bKorSub\b: {from: title}
- domain_delay:
- showrss.info: 10 seconds
- torrentz2.eu: 5 seconds
- thepiratebay.se: 10 seconds
- eztv.io: 10 seconds
- rarbg.to: 10 seconds
- ettv.tv: 10 seconds
- ################################GLOBAL############################
- #
- #####
- #####
- templates:
- #####
- ##
- mymovies:
- imdb_lookup: yes
- require_field: imdb_id
- seen_movies: strict
- exists_movie:
- - ~/media/Movies
- proper_movies: yes
- quality: 720p+
- content_size:
- max: 3000
- min: 800
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- magnetization_timeout: 30
- label: Movies/{{imdb_genres}}
- container_directory "{{ imdb_name|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
- content_filename "{{ imdb_name|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
- #####
- #####
- tv:
- thetvdb_lookup: yes
- set:
- content_filename: "{{ series_name }}_{{ series_id }}_{% if tvdb_ep_name|default(False) %}_{{ tvdb_ep_name }} {% endif %}_{{ quality|upper }}_{% if proper_count %}_proper{% if proper_count > 1 %}{{ proper_count }}{% endif %}{% endif %}"
- container_directory: "{{ series_name }}"
- all_series:
- quality: "<=576p"
- #####
- #####
- #####
- #########################################################TEMPLATES END
- #####
- #####
- ################################ TASKS ####################
- #####
- #####
- ################# TV TASKS ####################
- ##
- tasks:
- download-TVscripted:
- template: tv
- priority: 3
- # interval: 30 minutes
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: "-Scripted-"
- magnetization_timeout: 30
- accept_all: no
- configure_series:
- settings:
- identified_by: ep
- quality: "<=576p"
- from:
- trakt_list:
- username: '{? trakt.usr?}'
- account: '{? trakt.acct ?}'
- list: TVscripted
- type: shows
- rss: https://eztv.io/ezrss.xml
- rss: https://ettv.tv/rss.php?cat=5
- rss: https://rarbg.to/rssdd_magnet.php?categories=18;41
- archive:
- - scripted
- - trakt
- - tv
- - torrent
- #
- tasks:
- download-TVreal:
- template: tv
- priority: 40
- # interval: 30 minutes
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: Real
- magnetization_timeout: 30
- accept_all: no
- configure_series:
- settings:
- quality: "<=576p"
- identified_by: ep
- from:
- trakt_list:
- username: '{? trakt.usr?}'
- account: '{? trakt.acct ?}'
- list: TVreal
- type: shows
- rss: https://eztv.io/ezrss.xml
- rss: https://ettv.tv/rss.php?cat=5
- rss: https://rarbg.to/rssdd_magnet.php?categories=18
- archive:
- - real
- - trakt
- - tv
- - torrent
- #
- tasks:
- download-TVdamien:
- template: tv
- priority: 40
- # interval: 30 minutes
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: Damien
- magnetization_timeout: 30
- accept_all: no
- configure_series:
- settings:
- quality: "<=576p"
- identified_by: ep
- from:
- trakt_list:
- username: '{? trakt.usr?}'
- account: '{? trakt.acct ?}'
- list: TVdamien
- type: shows
- rss: https://eztv.io/ezrss.xml
- rss: https://ettv.tv/rss.php?cat=5
- rss: https://rarbg.to/rssdd_magnet.php?categories=18
- archive:
- - damien
- - trakt
- - tv
- - torrent
- #
- tasks:
- download-TVdamien-Animated:
- template: tv
- priority: 43
- # interval: 30 minutes
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: Damien_Animated
- magnetization_timeout: 30
- accept_all: no
- configure_series:
- settings:
- quality: "<=576p"
- identified_by: ep
- from:
- trakt_list:
- username: '{? trakt.usr?}'
- account: '{? trakt.acct ?}'
- list: TVdamien_Animated
- type: shows
- rss: https://eztv.io/ezrss.xml
- rss: https://ettv.tv/rss.php?cat=5
- rss: https://rarbg.to/rssdd_magnet.php?categories=18
- archive:
- - damien
- - trakt
- - tv
- - torrent
- #
- tasks:
- download-TVmaybe:
- template: tv
- priority: 45
- # interval: 30 minutes
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: Maybe
- magnetization_timeout: 30
- # template:
- # - tv
- # - deluge_local
- accept_all: no
- configure_series:
- settings:
- quality: "<=576p"
- identified_by: ep
- from:
- trakt_list:
- username: '{? trakt.usr?}'
- account: '{? trakt.acct ?}'
- list: TVmaybe
- type: shows
- rss: https://eztv.io/ezrss.xml
- rss: https://ettv.tv/rss.php?cat=5
- rss: https://rarbg.to/rssdd_magnet.php?categories=18
- archive:
- - maybe
- - trakt
- - tv
- - torrent
- #
- tasks:
- download-TVboring:
- template: tv
- priority: 50
- # interval: 30 minutes
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: Boring
- magnetization_timeout: 30
- accept_all: no
- configure_series:
- settings:
- quality: "<=576p"
- identified_by: ep
- propers: yes
- from:
- trakt_list:
- username: '{? trakt.usr?}'
- account: '{? trakt.acct ?}'
- list: TVboring
- type: shows
- rss: https://eztv.io/ezrss.xml
- rss: https://ettv.tv/rss.php?cat=5
- rss: https://rarbg.to/rssdd_magnet.php?categories=18
- archive:
- - boring
- - trakt
- - tv
- - torrent
- #
- tasks:
- download-ShowRSS-boring:
- template: tv
- priority: 60
- # interval: 30 minutes
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: Boring
- magnetization_timeout: 30
- accept_all: yes
- rss: '{? myrss.boring ?}'
- archive:
- - boring
- - showrss
- - tv
- - torrent
- #
- tasks:
- download-ShowRSS-real:
- template: tv
- priority: 55
- # interval: 30 minutes
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: Real
- magnetization_timeout: 30
- accept_all: yes
- rss: '{? myrss.real ?}'
- archive:
- - real
- - showrss
- - tv
- - torrent
- #
- tasks:
- download-ShowRSS-mylist:
- template: tv
- priority: 5
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: "-Scripted-"
- magnetization_timeout: 30
- accept_all: yes
- rss: '{? myrss.mylist ?}'
- archive:
- - scripted
- - showrss
- - tv
- - torrent
- #####
- #####
- ################## MOVIE TASKS ####################
- ##
- #task to pull movies from trakt.tv watchlist and add to the movie list
- tasks:
- AddtraktMovies:
- priority: 1
- list_add:
- - movie_list: movies
- #strip_year: yes
- trakt_list:
- account: '{? trakt.acct ?}'
- username: '{? trakt.usr ?}'
- list: watchlist
- type: movies
- accept_all: yes
- seen: local
- ####
- ####
- #task that automatically downloads movies from the movie_list
- tasks:
- Add-mymovies:
- template: mymovies
- priority: 9 # run after the movie queue fill task
- discover:
- what:
- - movie_list: movies
- from:
- #- search_rss:
- #url: http://piratebay.tech/search.php?q={{search_term}}&cat=207
- - rarbg:
- category: 54
- # rss: https://rarbg.to/rssdd_magnet.php?categories=17;54
- # rss: http://www.torlock.com/television/rss.xml
- # rss: https://www.limetorrents.info/rss/
- # rss: https://torrentgalaxy.to/rss
- torrent_alive: 10 # Will reject results with less than 10 seeds
- imdb_lookup: yes # can also use imdb_lookup or tmdb_lookup
- quality: dvdrip+ !2160p !360p !480p !xvid # Make sure decent quality
- seen_movies: strict
- list_match:
- from:
- - movie_list: movies
- # deluge:
- # host: '{? delugeremote.host ?}'
- # port: '{? delugeremote.port ?}'
- # username: '{? daemon.usr ?}'
- # password: '{? daemon.pwd ?}'
- # main_file_only: yes
- # hide_sparse_files: yes
- # magnetization_timeout: 30
- # label: Movies/{{imdb_genres}}
- # container_directory "{{ imdb_name|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
- # content_filename "{{ imdb_name|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
- digest: recentlyAccepted
- #
- tasks:
- spitItOut:
- from_digest:
- list: recentlyAccepted
- accept_all: yes
- seen: no
- make_html:
- file: ~/flexgetDigest.html
- #######################################################################################
- ####
- ####
- ################################### Manual tasks ######################################
- ####
- ####
- tasks:
- AddTV-Torrents:
- template: tv
- priority: 75
- # It picks up .torrent file from the folder and flexget processes
- # the torrent, and then gives it to deluge
- # so the files are processed by the TV template. Only TV torrents go here.
- # torrents that flexget didn't catch, or new serie i found and have already some ep out.
- filesystem: ~/torrents/AddTV-Torrents
- accept_all: yes
- deluge:
- host: '{? daemon.host ?}'
- port: '{? daemon.port ?}'
- username: '{? daemon.usr ?}'
- password: '{? daemon.pwd ?}'
- main_file_only: yes
- hide_sparse_files: yes
- label: "-Scripted-"
- magnetization_timeout: 30
- ###
- tasks:
- AddMovie-Torrents:
- template: mymovies
- priority: 80
- # It picks up .torrent file from the folder and flexget processes
- # the torrent, and then gives it to deluge
- # so the files are processed by the TV template. Only TV torrents go here.
- # torrents that flexget didn't catch, or new serie i found and have already some ep out.
- filesystem: ~/torrents/AddMovieTorrents
- accept_all: yes
- #####
- #####
- ####
- ####
- #########################CLEANUP TASKS ###############################################
- ####
- ####
Add Comment
Please, Sign In to add comment