Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.55 KB | None | 0 0
  1. variables: secrets.yml
  2.  
  3. templates:
  4. global:
  5. # REJECT ANY TORRENT THAT CONTAINS ONE OF THESE
  6. # WORDS IN BETWEEN A SPACE OR A DOT
  7. regexp:
  8. reject:
  9. - (?i)[ .]cam[ .]
  10. - (?i)[ .]bdscr[ .]
  11. - (?i)[ .]dvdscr[ .]
  12. - (?i)[ .]preair[ .]
  13. - (?i)[ .]ppvrip[ .]
  14. - (?i)[ .]r5[ .]
  15. - (?i)[ .]tc[ .]
  16. - (?i)[ .]ts[ .]
  17. - (?i)[ .]ecc[ .]
  18. - (?i)[ .]avc[ .]
  19. - (?i)[ .]qebs[ .]
  20. - (?i)[ .]hdtc[ .]
  21. - (?i)[ .]hdcam[ .]
  22.  
  23.  
  24. ####################
  25. # YAML anchors.
  26. ####################
  27.  
  28. # This takes advantage of the fact that flexget doesn't validate anything prefixed with an underscore
  29. anchors:
  30. # credentials iptorrents
  31. _iptorrents_credentials: &iptorrents-credentials
  32. rss_key: '{? iptorrents.rss_key ?}'
  33. uid: '{? iptorrents.uid ?}'
  34. password: '{? iptorrents.password ?}'
  35.  
  36. # credentials trakt
  37. _trakt_credentials: &trakt-credentials
  38. username: '{? trakt.username ?}'
  39. account: '{? trakt.account ?}'
  40.  
  41. # credentials deluge
  42. _deluge_credentials: &deluge_credentials
  43. host: '{? deluge.host ?}'
  44. #port: '{? deluge.port ?}'
  45. username: '{? deluge.username ?}'
  46. password: '{? deluge.password ?}'
  47.  
  48. #misc Regexes
  49. _archive_regex: &archive-regex
  50. regexp: '.*\.(rar|r0+[01]|zip)$'
  51.  
  52. _video_regex: &video-regex
  53. regexp: '.*\.(mkv|avi|mp4|mpg|)$'
  54.  
  55. _reject_regex: &reject-regex
  56. regexp:
  57. reject:
  58. - HVEC
  59.  
  60. _series_alternative_name: &series_alternative_name
  61. series:
  62. - 'Law & Order: Special Victims Unit':
  63. alternate_name: Law and Order SVU
  64. - Marvel's Agents of S.H.I.E.L.D.:
  65. alternate_name: Marvels Agents of S H I E L D
  66.  
  67. #Trakt templates
  68. # These first two are useful both as full templates and as anchors
  69. series-trakt-list: &series-trakt-list
  70. trakt_list:
  71. <<: *trakt-credentials
  72. list: 'WatchTV'
  73. type: shows
  74. strip_dates: yes
  75.  
  76. movies-trakt-list: &movies-trakt-list
  77. trakt_list:
  78. <<: *trakt-credentials
  79. list: 'MovieQueue'
  80. type: movies
  81.  
  82. trakt-lookup:
  83. trakt_lookup:
  84. <<: *trakt-credentials
  85.  
  86. # exclude torrents with undesirable files
  87. content-rejects:
  88. content_filter:
  89. reject:
  90. - 'password.txt'
  91. - '*.wmv'
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100. tasks:
  101.  
  102. # Get the next episode from Trakt and set it as the beginning for the series plugin
  103. series-set-begin:
  104. priority: 1
  105. next_trakt_episodes:
  106. <<: *trakt-credentials
  107. list: 'WatchTV'
  108. strip_dates: yes
  109. context: collected
  110. position: next
  111. accept_all: yes
  112. set_series_begin: yes
  113. disable: seen
  114.  
  115. # Discover series and add them to Deluge try to find FUM group first
  116. series-discover-FUM:
  117. priority: 100
  118. template: content-rejects
  119. configure_series:
  120. from:
  121. <<: *series-trakt-list
  122. settings:
  123. from_group:
  124. - FUM
  125. - AFG
  126. identified_by: ep
  127. #exact: yes
  128.  
  129. <<: *series_alternative_name
  130.  
  131. discover:
  132. interval: 1 hour
  133. what:
  134. - next_series_episodes: yes
  135. from:
  136. - iptorrents:
  137. <<: *iptorrents-credentials
  138. category:
  139. - TV-XVID
  140. - TV-x264
  141. - TV-Web-DL
  142.  
  143. #download: /home9/zepheris/Temp
  144. deluge:
  145. <<: *deluge_credentials
  146. port: 14406
  147. path: "/home9/zepheris/flex-download/series/incomplete/"
  148. movedone: "/home9/zepheris/flex-download/series/completed/"
  149. addpaused: yes
  150. label: "flexget_series"
  151.  
  152. # Discover series and add them to Deluge
  153. series-discover-AnyGroup:
  154. priority: 200
  155. #delay: 30 minutes
  156. template: content-rejects
  157. content_size:
  158. min: 200
  159. max: 800
  160. configure_series:
  161. from:
  162. <<: *series-trakt-list
  163. settings:
  164. identified_by: ep
  165. #exact: yes
  166.  
  167. <<: *series_alternative_name
  168.  
  169. discover:
  170. interval: 1 hour
  171. what:
  172. - next_series_episodes: yes
  173. from:
  174. - iptorrents:
  175. <<: *iptorrents-credentials
  176. category:
  177. - TV-XVID
  178. - TV-x264
  179. - TV-Web-DL
  180. deluge:
  181. <<: *deluge_credentials
  182. port: 14406
  183. path: "/home9/zepheris/flex-download/series/incomplete/"
  184. movedone: "/home9/zepheris/flex-download/series/completed/"
  185. addpaused: yes
  186. label: "flexget_series"
  187.  
  188. # Discover series and add them to Deluge
  189. series-discover-JustGetIT:
  190. priority: 300
  191. #delay: 1 hour
  192. template: content-rejects
  193. content_size:
  194. min: 200
  195. max: 1600
  196. configure_series:
  197. from:
  198. <<: *series-trakt-list
  199. settings:
  200. identified_by: ep
  201. #exact: yes
  202.  
  203. <<: *series_alternative_name
  204.  
  205. discover:
  206. interval: 1 hour
  207. what:
  208. - next_series_episodes: yes
  209. from:
  210. - iptorrents:
  211. <<: *iptorrents-credentials
  212. category:
  213. - TV-XVID
  214. - TV-x264
  215. - TV-Web-DL
  216. deluge:
  217. <<: *deluge_credentials
  218. port: 14406
  219. path: "/home9/zepheris/flex-download/series/incomplete/"
  220. movedone: "/home9/zepheris/flex-download/series/completed/"
  221. addpaused: yes
  222. label: "flexget_series"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement