Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables: secrets.yml
- templates:
- global:
- # REJECT ANY TORRENT THAT CONTAINS ONE OF THESE
- # WORDS IN BETWEEN A SPACE OR A DOT
- regexp:
- reject:
- - (?i)[ .]cam[ .]
- - (?i)[ .]bdscr[ .]
- - (?i)[ .]dvdscr[ .]
- - (?i)[ .]preair[ .]
- - (?i)[ .]ppvrip[ .]
- - (?i)[ .]r5[ .]
- - (?i)[ .]tc[ .]
- - (?i)[ .]ts[ .]
- - (?i)[ .]ecc[ .]
- - (?i)[ .]avc[ .]
- - (?i)[ .]qebs[ .]
- - (?i)[ .]hdtc[ .]
- - (?i)[ .]hdcam[ .]
- ####################
- # YAML anchors.
- ####################
- # This takes advantage of the fact that flexget doesn't validate anything prefixed with an underscore
- anchors:
- # credentials iptorrents
- _iptorrents_credentials: &iptorrents-credentials
- rss_key: '{? iptorrents.rss_key ?}'
- uid: '{? iptorrents.uid ?}'
- password: '{? iptorrents.password ?}'
- # credentials trakt
- _trakt_credentials: &trakt-credentials
- username: '{? trakt.username ?}'
- account: '{? trakt.account ?}'
- # credentials deluge
- _deluge_credentials: &deluge_credentials
- host: '{? deluge.host ?}'
- #port: '{? deluge.port ?}'
- username: '{? deluge.username ?}'
- password: '{? deluge.password ?}'
- #misc Regexes
- _archive_regex: &archive-regex
- regexp: '.*\.(rar|r0+[01]|zip)$'
- _video_regex: &video-regex
- regexp: '.*\.(mkv|avi|mp4|mpg|)$'
- _reject_regex: &reject-regex
- regexp:
- reject:
- - HVEC
- _series_alternative_name: &series_alternative_name
- series:
- - 'Law & Order: Special Victims Unit':
- alternate_name: Law and Order SVU
- - Marvel's Agents of S.H.I.E.L.D.:
- alternate_name: Marvels Agents of S H I E L D
- #Trakt templates
- # These first two are useful both as full templates and as anchors
- series-trakt-list: &series-trakt-list
- trakt_list:
- <<: *trakt-credentials
- list: 'WatchTV'
- type: shows
- strip_dates: yes
- movies-trakt-list: &movies-trakt-list
- trakt_list:
- <<: *trakt-credentials
- list: 'MovieQueue'
- type: movies
- trakt-lookup:
- trakt_lookup:
- <<: *trakt-credentials
- # exclude torrents with undesirable files
- content-rejects:
- content_filter:
- reject:
- - 'password.txt'
- - '*.wmv'
- tasks:
- # Get the next episode from Trakt and set it as the beginning for the series plugin
- series-set-begin:
- priority: 1
- next_trakt_episodes:
- <<: *trakt-credentials
- list: 'WatchTV'
- strip_dates: yes
- context: collected
- position: next
- accept_all: yes
- set_series_begin: yes
- disable: seen
- # Discover series and add them to Deluge try to find FUM group first
- series-discover-FUM:
- priority: 100
- template: content-rejects
- configure_series:
- from:
- <<: *series-trakt-list
- settings:
- from_group:
- - FUM
- - AFG
- identified_by: ep
- #exact: yes
- <<: *series_alternative_name
- discover:
- interval: 1 hour
- what:
- - next_series_episodes: yes
- from:
- - iptorrents:
- <<: *iptorrents-credentials
- category:
- - TV-XVID
- - TV-x264
- - TV-Web-DL
- #download: /home9/zepheris/Temp
- deluge:
- <<: *deluge_credentials
- port: 14406
- path: "/home9/zepheris/flex-download/series/incomplete/"
- movedone: "/home9/zepheris/flex-download/series/completed/"
- addpaused: yes
- label: "flexget_series"
- # Discover series and add them to Deluge
- series-discover-AnyGroup:
- priority: 200
- #delay: 30 minutes
- template: content-rejects
- content_size:
- min: 200
- max: 800
- configure_series:
- from:
- <<: *series-trakt-list
- settings:
- identified_by: ep
- #exact: yes
- <<: *series_alternative_name
- discover:
- interval: 1 hour
- what:
- - next_series_episodes: yes
- from:
- - iptorrents:
- <<: *iptorrents-credentials
- category:
- - TV-XVID
- - TV-x264
- - TV-Web-DL
- deluge:
- <<: *deluge_credentials
- port: 14406
- path: "/home9/zepheris/flex-download/series/incomplete/"
- movedone: "/home9/zepheris/flex-download/series/completed/"
- addpaused: yes
- label: "flexget_series"
- # Discover series and add them to Deluge
- series-discover-JustGetIT:
- priority: 300
- #delay: 1 hour
- template: content-rejects
- content_size:
- min: 200
- max: 1600
- configure_series:
- from:
- <<: *series-trakt-list
- settings:
- identified_by: ep
- #exact: yes
- <<: *series_alternative_name
- discover:
- interval: 1 hour
- what:
- - next_series_episodes: yes
- from:
- - iptorrents:
- <<: *iptorrents-credentials
- category:
- - TV-XVID
- - TV-x264
- - TV-Web-DL
- deluge:
- <<: *deluge_credentials
- port: 14406
- path: "/home9/zepheris/flex-download/series/incomplete/"
- movedone: "/home9/zepheris/flex-download/series/completed/"
- addpaused: yes
- label: "flexget_series"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement