config.yml 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990
  1. variables: variables.yml
  2. templates:
  3. transmission-settings:
  4. _transmission-primary: &transmission-primary
  5. host: '{? torrent.primary.host ?}'
  6. port: '{? torrent.primary.port ?}'
  7. username: '{? torrent.primary.username ?}'
  8. password: '{? torrent.primary.password ?}'
  9. _transmission-secondary: &transmission-secondary
  10. host: '{? torrent.secondary.host ?}'
  11. port: '{? torrent.secondary.port ?}'
  12. username: '{? torrent.secondary.username ?}'
  13. password: '{? torrent.secondary.password ?}'
  14. kodi-settings:
  15. _kodi-primary: &kodi-primary
  16. url: '{? kodi.url ?}'
  17. port: '{? kodi.port ?}'
  18. username: '{? kodi.username ?}'
  19. password: '{? kodi.password ?}'
  20. category-movies-settings:
  21. _category-movies-filter: &category-movies-filter
  22. if:
  23. - "not movie_name|default(None)": fail
  24. # Sometimes anime does not have year due the lookup are not optimized for anime
  25. - "not movie_year|default(None) and not 'anime' in category": fail
  26. - "'spanish' in location|lower":
  27. set:
  28. category: "spanish"
  29. - "'spanish' in location|lower and imdb_mpaa_rating|default('') in ['PG-13']":
  30. set:
  31. category: "pg13"
  32. - "'spanish' in location|lower and imdb_mpaa_rating|default('') in ['PG']":
  33. set:
  34. category: "pg"
  35. - "'spanish' in location|lower and ('family' in trakt_genres|default([]) or 'family' in imdb_genres|default([]))":
  36. set:
  37. category: "family"
  38. - "'general' in location|lower and ('family' in trakt_genres|default([]) or 'family' in imdb_genres|default([]))":
  39. set:
  40. category: "family_english"
  41. - "'spanish' in location|lower and imdb_mpaa_rating|default('') in ['G']":
  42. set:
  43. category: "allages"
  44. - "'general' in location|lower and imdb_mpaa_rating|default('') in ['G']":
  45. set:
  46. category: "allages_english"
  47. - "'spanish' in location|lower and imdb_mpaa_rating|default('') in ['R', 'NC-17']":
  48. set:
  49. category: "adults_spanish"
  50. - "'general' in location|lower and imdb_mpaa_rating|default('') in ['R', 'NC-17']":
  51. set:
  52. category: "adults"
  53. - "'anime' in location|lower or 'anime' in trakt_genres|default([]) or 'anime' in imdb_genres|default([])":
  54. set:
  55. category: "anime"
  56. - "'spanish' in location|lower and ('anime' in trakt_genres|default([]) or 'anime' in imdb_genres|default([]))":
  57. set:
  58. category: "anime_spanish"
  59. - "'spanish' in location|lower and ('anime' in trakt_genres|default([]) or 'anime' in imdb_genres|default([])) and imdb_mpaa_rating|default('') in ['G', 'PG', 'TV-PG', 'TV-G', 'TV-Y', 'TV-Y7']":
  60. set:
  61. category: "anime_pg"
  62. category-series-settings:
  63. _category-series-filter: &category-series-filter
  64. if:
  65. - "series_name is undefined or series_name is none": fail
  66. - "'spanish' in location|lower":
  67. set:
  68. category: "spanish"
  69. - "'spanish' in location|lower and tvdb_content_rating|default('') in ['G', 'PG', 'PG-13', 'TV-PG', 'TV-G', 'TV-Y', 'TV-Y7', 'TV-14']":
  70. set:
  71. category: "pg"
  72. - "'spanish' in location|lower and tvdb_content_rating|default('') in ['G']":
  73. set:
  74. category: "allages"
  75. - "'general' in location|lower and tvdb_content_rating|default('') in ['G']":
  76. set:
  77. category: "allages_english"
  78. - "'anime' in location|lower or 'anime' in trakt_genres|default([]) or 'anime' in tvdb_genres|default([]) or 'Anime' in tvdb_genres|default([])":
  79. set:
  80. category: "anime"
  81. - "'spanish' in location|lower and 'anime' in category|default('')":
  82. set:
  83. category: "anime_spanish"
  84. - "'spanish' in location|lower and 'anime' in category|default('') and tvdb_content_rating|default('') in ['G', 'PG', 'PG-13', 'TV-PG', 'TV-G', 'TV-Y', 'TV-Y7', 'TV-14']":
  85. set:
  86. category: "anime_pg"
  87. transmission-movies:
  88. transmission:
  89. <<: *transmission-primary
  90. path: '{? paths.torrent ?}/movies/general'
  91. add_paused: no
  92. main_file_only: yes
  93. rename_like_files: yes
  94. magnetization_timeout: 120
  95. content_filename: "{{ movie_name }}{% if movie_year|default(None) %} ({{ movie_year }}){% endif %}{% if quality|default(False) %}{% set screen_size, format, video_codec, audio_codec = screen_size|default(quality.resolution), format|default(quality.source), video_codec|default(quality.codec), audio_codec|default(quality.audio) %}{% endif %}{% if screen_size|default(False) %}[{{ screen_size }}]{% endif %}{% if format|default(False) %}.{{format|capitalize}}{% endif %}{% if video_codec|default(False) %}.{{video_codec}}{% endif %}{% if audio_codec|default(False) %}.{{audio_codec|upper}}{% endif %}{% if tmdb_id|default(None) %}.tmdb-{{tmdb_id}}{% elif imdb_id|default(None) %}.imdb-{{imdb_id}}{% endif %}"
  96. include_subs: yes
  97. skip_files:
  98. - '*.sfv'
  99. - '*[sS]ample*'
  100. - '*.txt'
  101. - '*.lnk'
  102. transmission-purge:
  103. disable: [seen, seen_info_hash]
  104. regexp:
  105. reject_excluding:
  106. - /+(downloads|Torrents)/+(anime|movies|series)
  107. from: transmission_downloadDir
  108. language-reject:
  109. regexp:
  110. reject:
  111. - \b(ita|ger|spa|swe|nor|nordic|kor|esp|nl|pl|french|casteñano|spanish|hindi)\b # Languages
  112. - \b(un|hard)sub|sub(bed|titulado)\b # Subtitles (hardsub / Subbed / Subtitulado / Unsubbed) allow Subs|Sub
  113. - \b(dub|_dub|dubbed)\b
  114. - \bdublat\n
  115. - \bVOSTFR\b
  116. from: title
  117. common-reject:
  118. regexp:
  119. reject:
  120. - \b60fps\b
  121. - \bpv\b
  122. - \bHC\b
  123. - 1XBET
  124. - \bpctreload\b
  125. - \bpctmix\b
  126. - ganool
  127. from: title
  128. common-sort:
  129. max_reruns: 1
  130. sort_by:
  131. - field: torrent_availability
  132. reverse: yes
  133. - field: quality
  134. reverse: yes
  135. common-filter:
  136. convert_magnet:
  137. timeout: 180 seconds
  138. #magnets: no
  139. content_filter:
  140. require:
  141. - '*.avi'
  142. - '*.mkv'
  143. - '*.mp4'
  144. reject: '*.lnk'
  145. common-urlrewrite:
  146. urlrewrite:
  147. #torrentz2:
  148. # regexp: 'https?://torrentz2.eu/(?P<id>\w+)'
  149. # format: 'magnet:?xt=urn:btih:\g<id>'
  150. # itorrents:
  151. # regexp: 'https?://itorrents.org/torrent/(?P<id>\w+)\.torrent.*'
  152. # format: 'magnet:?xt=urn:btih:\g<id>'
  153. torrentdownload:
  154. regexp: 'https?://www.torrentdownload.info/.*/(?P<id>\w+)'
  155. format: 'magnet:?xt=urn:btih:\g<id>'
  156. lookup-movies:
  157. trakt_lookup: yes
  158. imdb_lookup: yes
  159. tmdb_lookup: yes
  160. parsing:
  161. movie: guessit
  162. copy-series:
  163. <<: *category-series-filter
  164. copy-movies:
  165. <<: *category-movies-filter
  166. manipulate:
  167. - imdb_id:
  168. from: filename
  169. extract: '.*imdb-(.*)\..*'
  170. find_all: yes
  171. - tmdb_id:
  172. from: filename
  173. extract: '.*tmdb-(.*)\..*'
  174. find_all: yes
  175. content_size:
  176. min: 275
  177. require_field:
  178. - movie_name
  179. exists_movie:
  180. path: '{? paths.movies ?}'
  181. allow_different_qualities: better
  182. type: files
  183. copy:
  184. to: "{? paths.movies ?}/{{ category|default('general')|lower }}/{{ trakt_movie_name|default(movie_name) }}{% if movie_year|default(None) %} ({{ movie_year }}){% endif %}"
  185. rename: "{{ trakt_movie_name|default(movie_name) }} {% if movie_year|default(None) %}({{ movie_year }}){% endif %}{% if quality|default(False) %}{% set screen_size, format, video_codec, audio_codec = screen_size|default(quality.resolution), format|default(quality.source), video_codec|default(quality.codec), audio_codec|default(quality.audio) %}{% endif %}{% if screen_size|default(False) %}[{{ screen_size }}]{% endif %}{% if format|default(False) %}.{{format|capitalize}}{% endif %}{% if video_codec|default(False) %}.{{video_codec}}{% endif %}{% if audio_codec|default(False) %}.{{audio_codec|upper}}{% endif %}"
  186. allow_dir: yes
  187. along:
  188. subdirs:
  189. - Sub
  190. - Subs
  191. - Extra
  192. - Extras
  193. extensions:
  194. - srt
  195. download-movies:
  196. proper_movies: 4 weeks
  197. domain_delay:
  198. torrentz2: 5 seconds
  199. zooqle: 5 seconds
  200. thepiratebay: 5 seconds
  201. apibay: 5 seconds
  202. limetorrents: 5 seconds
  203. torrent_alive: 1 # Will reject results with less than 1 seeds
  204. content_size:
  205. min: 200
  206. max: 9500
  207. subtitles-movies:
  208. list_add:
  209. - subtitle_list:
  210. list: subtitles-movies
  211. check_subtitles: yes
  212. remove_after: 7 days
  213. languages:
  214. - es
  215. - en
  216. manipulate-anime:
  217. manipulate:
  218. - title:
  219. replace:
  220. regexp: '[^a-zA-Z0-9\-~_.()\[\]\s]' # remove katakana or similar to better parsing
  221. format: ''
  222. - title:
  223. replace:
  224. regexp: '([a-zA-Z]+)\s+?-\s+?([a-zA-Z]+)'
  225. format: '\1 \2'
  226. - title:
  227. replace:
  228. regexp: 'Season\s?(\d{1,3})\s?(\(\d+\))?\s?-?\s?(\d{2,3})'
  229. format: '\2 S\1E\3'
  230. - title:
  231. replace:
  232. regexp: 'S(\d{2,3})-?E(\d{2,3})'
  233. format: 'S\1E\2'
  234. - title:
  235. replace:
  236. regexp: '(\d{1,3})\s+?~\s+?(\d{1,3})'
  237. format: '\1-\2'
  238. - title:
  239. replace:
  240. regexp: 'SP\s+?(\d{1,3})'
  241. format: 'S00E\1'
  242. - title:
  243. replace:
  244. regexp: '\sTV\s|--+'
  245. format: '-'
  246. - title:
  247. replace:
  248. regexp: '(\d{1,3})v\d{1,2}'
  249. format: '\1'
  250. kodi-update:
  251. kodi_library:
  252. <<: *kodi-primary
  253. action: scan
  254. category: video
  255. kodi-clean:
  256. kodi_library:
  257. <<: *kodi-primary
  258. action: clean
  259. category: video
  260. notify-all:
  261. notify:
  262. entries:
  263. title: '*Task:* {{task}} | {{title}}'
  264. message: |
  265. {%- if trakt_series_name is defined or series_name is defined %}
  266. *Starting to donwload serie:* {{trakt_series_name|d(series_name)}} - {{trakt_ep_id|d(series_id)}}
  267. *Season:* {{trakt_season|d(series_season)}}
  268. *Episode:* {{trakt_episode|d(series_id)}}
  269. *Name:* {{trakt_ep_name|d('N/A')}}
  270. {%- elif movie_name is defined %}
  271. *Starting to download movie:* {{ movie_name }} ({{ movie_year|d('--') }})
  272. {%- else %}
  273. *Title:* {{title}}
  274. {%- endif %}
  275. *Quality:* {{quality|d('')}}
  276. *Category:* {{category|d('english')|capitalize}}
  277. {%- if imdb_mpaa_rating is defined and imdb_mpaa_rating %}
  278. *Rating:* {{imdb_mpaa_rating|default('')}}
  279. {%- endif %}
  280. {%- if trakt_rating is defined and trakt_rating %}
  281. *Score trakt:* {{trakt_rating}}/10 - {{trakt_votes|d('-')}} votes
  282. {%- endif %}
  283. {%- if tmdb_rating is defined and tmdb_rating %}
  284. *Score tmdb:* {{tmdb_rating}}/10 - {{tmdb_votes|d('-')}} votes
  285. {%- endif %}
  286. {%- if imdb_id is defined %}
  287. {%- if imdb_score is defined and imdb_score %}
  288. *Score imdb:* {{imdb_score}}/10 - {{imdb_votes|d('-')}} votes
  289. {%- endif %}
  290. *Genres:* {{imdb_genres|join(', ')|title if imdb_genres is defined and imdb_genres else '-'}}
  291. *Directors:* {{imdb_directors.values()|join(', ')|title if imdb_directors is defined and imdb_directors else '-'}}
  292. {%- endif %}
  293. {%- if trakt_series_url is defined %}
  294. *Url:* {{trakt_series_url}}
  295. {%- elif imdb_url is defined %}
  296. *Url:* {{imdb_url}}
  297. {%- endif %}
  298. {%- if trakt_overview is defined %}
  299. *Plot:*
  300. {%- if trakt_translations is defined and trakt_translations and 'es' in trakt_translations %}
  301. _[Español]_ {{trakt_translations.es.overview}}
  302. -----------
  303. {%- endif %}
  304. _[English]_ {{trakt_overview|d(imdb_plot_outline|d(''))}}
  305. {%- endif %}
  306. {%- if trakt_trailer is defined %}
  307. -----------
  308. [Trailer:]({{trakt_trailer}})
  309. {%- endif %}
  310. via:
  311. - xmpp:
  312. sender: '{? xmpp.sender ?}'
  313. password: '{? xmpp.password ?}'
  314. recipients: '{? xmpp.recipients ?}'
  315. - telegram:
  316. bot_token: '{? telegram.token ?}'
  317. parse_mode: markdown
  318. disable_previews: no
  319. recipients: '{? telegram.recipients ?}'
  320. tasks:
  321. collection-movies:
  322. priority: 1
  323. seen: local # We don't want accepted movies on this feed to affect actual download feed
  324. inputs:
  325. - trakt_list:
  326. username: '{? accounts.trakt_primary.username ?}'
  327. list: collection
  328. type: movies
  329. - trakt_list:
  330. username: '{? accounts.trakt_secondary.username ?}'
  331. list: collection
  332. type: movies
  333. accept_all: yes
  334. list_add:
  335. - movie_list: watchlist_movies
  336. # task to pull movies from trakt.tv and add to the movie list
  337. watchlist-movies:
  338. priority: 1
  339. seen: local # We don't want accepted movies on this feed to affect actual download feed
  340. inputs:
  341. - trakt_list:
  342. username: '{? accounts.trakt_primary.username ?}'
  343. list: watchlist
  344. type: movies
  345. - trakt_list:
  346. username: '{? accounts.trakt_secondary.username ?}'
  347. list: watchlist
  348. type: movies
  349. accept_all: yes
  350. list_add:
  351. - movie_list: watchlist_movies
  352. watchlist-movies-anime:
  353. priority: 1
  354. seen: local # We don't want accepted movies on this feed to affect actual download feed
  355. inputs:
  356. - anilist:
  357. username: '{? accounts.anilist_primary.username ?}'
  358. status:
  359. - current
  360. - planning
  361. - completed
  362. release_status:
  363. - releasing
  364. - finished
  365. format:
  366. - movie
  367. - anidb_list:
  368. user_id: '{? accounts.anidb_primary.username ?}'
  369. type: movies
  370. mode: get
  371. - anidb_list:
  372. user_id: '{? accounts.anidb_primary.username ?}'
  373. type: movies
  374. mode: watch
  375. accept_all: yes
  376. list_add:
  377. - movie_list: watchlist_movies_anime
  378. watchlist-movies-spanish:
  379. priority: 1
  380. seen: local # We don't want accepted movies on this feed to affect actual download feed
  381. inputs:
  382. - trakt_list:
  383. username: '{? accounts.trakt_primary.username ?}'
  384. list: spanish
  385. type: movies
  386. - trakt_list:
  387. username: '{? accounts.trakt_secondary.username ?}'
  388. list: spanish
  389. type: movies
  390. accept_all: yes
  391. list_add:
  392. - movie_list: watchlist_movies_spanish
  393. watchlist-movies-spanish-all:
  394. priority: 1
  395. seen: local # We don't want accepted movies on this feed to affect actual download feed
  396. inputs:
  397. - trakt_list:
  398. username: '{? accounts.trakt_primary.username ?}'
  399. list: spanish
  400. type: movies
  401. - trakt_list:
  402. username: '{? accounts.trakt_secondary.username ?}'
  403. list: spanish
  404. type: movies
  405. - trakt_list:
  406. username: '{? accounts.trakt_secondary.username ?}'
  407. list: watchlist
  408. type: movies
  409. accept_all: yes
  410. list_add:
  411. - movie_list: watchlist_movies_spanish_all
  412. watchlist-movies-spanish-force:
  413. priority: 1
  414. seen: local # We don't want accepted movies on this feed to affect actual download feed
  415. inputs:
  416. - trakt_list:
  417. username: '{? accounts.trakt_secondary.username ?}'
  418. list: spanish
  419. type: movies
  420. language: es
  421. - trakt_list:
  422. username: '{? accounts.trakt_primary.username ?}'
  423. list: spanish
  424. type: movies
  425. language: es
  426. accept_all: yes
  427. list_add:
  428. - movie_list: watchlist_movies_spanish_force
  429. # tasks to pull series lists
  430. watchlist-series:
  431. priority: 1
  432. seen: local # We don't want accepted movies on this feed to affect actual download feed
  433. inputs:
  434. # - trakt_list:
  435. # username: '{? accounts.trakt_secondary.username ?}'
  436. # list: watchlist
  437. # type: shows
  438. - trakt_list:
  439. username: '{? accounts.trakt_primary.username ?}'
  440. list: watchlist
  441. type: shows
  442. - trakt_list:
  443. username: '{? accounts.trakt_primary.username ?}'
  444. list: series
  445. type: shows
  446. set_series_begin: yes
  447. if:
  448. - "series_name is defined": accept
  449. list_add:
  450. - entry_list: watchlist_series
  451. watchlist-series-anime:
  452. priority: 1
  453. seen: local # We don't want accepted movies on this feed to affect actual download feed
  454. inputs:
  455. - anidb_list:
  456. user_id: '{? accounts.anidb_primary.username ?}'
  457. type: shows
  458. mode: get
  459. - anidb_list:
  460. user_id: '{? accounts.anidb_primary.username ?}'
  461. type: ovas
  462. mode: get
  463. - anilist:
  464. username: '{? accounts.anilist_primary.username ?}'
  465. status:
  466. - current
  467. - planning
  468. - completed
  469. release_status:
  470. - releasing
  471. - finished
  472. format:
  473. - ona
  474. - tv_short
  475. - special
  476. set_series_begin: yes
  477. if:
  478. - "anidb_name is defined": accept
  479. - "al_title is defined": accept
  480. list_add:
  481. - entry_list: watchlist_series_anime
  482. watchlist-series-spanish:
  483. priority: 1
  484. seen: local # We don't want accepted movies on this feed to affect actual download feed
  485. inputs:
  486. # - trakt_list:
  487. # username: '{? accounts.trakt_secondary.username ?}'
  488. # list: spanish
  489. # type: shows
  490. - trakt_list:
  491. username: '{? accounts.trakt_primary.username ?}'
  492. list: spanish
  493. type: shows
  494. set_series_begin: yes
  495. if:
  496. - "series_name is defined": accept
  497. list_add:
  498. - entry_list: watchlist_series_spanish
  499. # collect next movies to download
  500. # with a primitive queue
  501. collect-movies:
  502. manual: yes
  503. priority: 1
  504. seen: no
  505. accept_all: yes
  506. movie_list: watchlist_movies
  507. limit_new: 20
  508. sort_by:
  509. - field: added
  510. reverse: no
  511. list_add: # update added date to send it to last position
  512. - movie_list: watchlist_movies
  513. collect-movies-spanish:
  514. manual: yes
  515. priority: 1
  516. seen: no
  517. accept_all: yes
  518. movie_list: watchlist_movies_spanish
  519. limit_new: 20
  520. sort_by:
  521. - field: added
  522. reverse: no
  523. list_add: # update added date to send it to last position
  524. - movie_list: watchlist_movies_spanish
  525. collect-movies-spanish-modified:
  526. manual: yes
  527. priority: 1
  528. seen: no
  529. accept_all: yes
  530. movie_list: watchlist_movies_spanish
  531. limit_new: 20
  532. sort_by:
  533. - field: added
  534. reverse: no
  535. manipulate:
  536. - title:
  537. phase: metainfo
  538. replace:
  539. regexp: '(\(.*\))'
  540. format: '\1 lat'
  541. collect-movies-spanish-force:
  542. manual: yes
  543. priority: 1
  544. seen: no
  545. accept_all: yes
  546. movie_list: watchlist_movies_spanish_force
  547. limit_new: 20
  548. sort_by:
  549. - field: added
  550. reverse: no
  551. list_add: # update added date to send it to last position
  552. - movie_list: watchlist_movies_spanish_force
  553. # task to copy finished movies
  554. copy-movies:
  555. priority: 2
  556. template:
  557. - lookup-movies
  558. - copy-movies
  559. - subtitles-movies
  560. - notify-all
  561. - kodi-update
  562. metainfo_movie: yes
  563. accept_all: yes
  564. seen: local
  565. filesystem:
  566. path:
  567. - '{? paths.torrent ?}/movies'
  568. - '{? paths.torrent ?}/remote/movies'
  569. regexp: '.*\.(avi|mkv|mp4)$'
  570. recursive: yes
  571. digest:
  572. list: copy_movies_fallback
  573. state:
  574. - failed
  575. copy-movies-fallback:
  576. priority: 3
  577. template:
  578. - lookup-movies
  579. - copy-movies
  580. - subtitles-movies
  581. - notify-all
  582. - kodi-update
  583. metainfo_movie: no
  584. parsing:
  585. movie: internal
  586. manipulate:
  587. - imdb_id:
  588. remove: yes
  589. - imdb_name:
  590. remove: yes
  591. - imdb_year:
  592. remove: yes
  593. - imdb_url:
  594. remove: yes
  595. - trakt_movie_id:
  596. remove: yes
  597. - trakt_movie_name:
  598. remove: yes
  599. - tmdb_id:
  600. remove: yes
  601. - movie_year:
  602. remove: yes
  603. - movie_name:
  604. remove: yes
  605. # - movie_year:
  606. # from: title
  607. # extract: \((\d+)\)
  608. # - movie_name:
  609. # from: title
  610. # extract: (.*)\(\d+\)
  611. - title:
  612. replace:
  613. regexp: '[\-~_\s]'
  614. format: ' '
  615. - title:
  616. replace:
  617. regexp: '[\[\]\.]'
  618. format: '.'
  619. retry_failed: no
  620. accept_all: yes
  621. seen: local
  622. require_field:
  623. - movie_name
  624. - movie_year
  625. unique:
  626. field:
  627. - id
  628. - title
  629. action: reject
  630. from_digest:
  631. list: copy_movies_fallback
  632. sequence:
  633. - notify:
  634. entries:
  635. what: failed
  636. title: '* Failed Copy Movie: {{movie_name|default(title)}} ({{movie_year|default("--")}})'
  637. message: |
  638. Task: {{task}}
  639. Id: {{id|default(title)}}
  640. Filename: {{filename}}
  641. Location: {{location}}
  642. Reason: {{reason|default("")}}
  643. via:
  644. - xmpp:
  645. sender: '{? xmpp.sender ?}'
  646. password: '{? xmpp.password ?}'
  647. recipients: '{? xmpp.recipients ?}'
  648. # task to copy finished series
  649. copy-series:
  650. priority: 2
  651. template:
  652. - copy-series
  653. - kodi-update
  654. metainfo_series: yes
  655. trakt_lookup: yes
  656. thetvdb_lookup: yes
  657. parsing:
  658. series: guessit
  659. accept_all: yes
  660. seen: local
  661. filesystem:
  662. path:
  663. - '{? paths.torrent ?}/series/general'
  664. - '{? paths.torrent ?}/series/spanish'
  665. - '{? paths.torrent ?}/remote/series/general'
  666. regexp: '.*\.(avi|mkv|mp4)$'
  667. recursive: yes
  668. if:
  669. # Delegate to series-copy-anime task
  670. - "'anime' in category|default('')": reject
  671. - "trakt_series_name|default(None) is none and tvdb_series_name|default(None) is none": reject
  672. content_size:
  673. min: 20
  674. require_field:
  675. - series_id
  676. - series_name
  677. - series_season
  678. exists_series:
  679. path: "{? paths.series ?}/{{ category|default('general')|lower }}/{{ trakt_series_name|default(series_name)|title }}/Season {{ trakt_season|default(series_season) }}"
  680. allow_different_qualities: better
  681. copy:
  682. to: "{? paths.series ?}/{{ category|default('general')|lower }}/{{ trakt_series_name|default(series_name)|title }}/Season {{ trakt_season|default(series_season) }}"
  683. rename: "{{ trakt_series_name|default(series_name)|title }} {{ trakt_ep_id|default(series_id) }}{%if trakt_ep_name|default(False) %}-{{ trakt_ep_name }}{% endif %}{% if quality|default(False) %}{% set screen_size, format, video_codec, audio_codec = screen_size|default(quality.resolution), format|default(quality.source), video_codec|default(quality.codec), audio_codec|default(quality.audio) %}{% endif %}{% if screen_size|default(False) %}[{{ screen_size }}]{% endif %}{% if format|default(False) %}.{{format|capitalize}}{% endif %}{% if video_codec|default(False) %}.{{video_codec}}{% endif %}{% if audio_codec|default(False) %}.{{audio_codec|upper}}{% endif %}"
  684. allow_dir: yes
  685. along:
  686. subdirs:
  687. - Sub
  688. - Subs
  689. - subs
  690. - sub
  691. - Subs/
  692. - Sub/
  693. - Extra
  694. - Extras
  695. extensions:
  696. - srt
  697. digest:
  698. list: purge_series
  699. state:
  700. - rejected
  701. list_add:
  702. - subtitle_list:
  703. list: subtitles-series
  704. remove_after: 7 days
  705. allow_dir: true
  706. recursion_depth: 2
  707. languages:
  708. - es
  709. - en
  710. # task to copy finished anime series
  711. copy-series-anime:
  712. priority: 2
  713. template:
  714. - copy-series
  715. - manipulate-anime
  716. - kodi-update
  717. metainfo_series: yes
  718. thetvdb_lookup: yes
  719. parsing:
  720. series: guessit
  721. accept_all: yes
  722. seen: local
  723. filesystem:
  724. path:
  725. - '{? paths.torrent ?}/series/anime'
  726. - '{? paths.torrent ?}/series/spanish'
  727. - '{? paths.torrent ?}/remote/series/anime'
  728. regexp: '.*\.(avi|mkv|mp4)$'
  729. recursive: yes
  730. if:
  731. - "'anime' not in category|default('')": reject
  732. - "series_parser is defined and series_parser.season is not none and series_parser.season|string|length < 4 and series_id is number":
  733. set:
  734. anime_season: "{{series_parser.season}}"
  735. anime_episode: "{{series_parser.season}}E{{series_id}}"
  736. - "series_id is string and series_id|default('')|length > 7":
  737. set:
  738. anime_episode: "{{series_id|re_replace('S[0-9]+E', 'EP')}}"
  739. - "tvdb_first_air_date|default(None) is not none":
  740. set:
  741. anime_first_air_date: " ({{tvdb_first_air_date|formatdate('%Y')}})"
  742. - "series_parser is defined and tvdb_series_name|default(None) is not none and series_parser.name != tvdb_series_name":
  743. # This is because any of the flexget lookup support anime correctly
  744. set:
  745. tvdb_series_name: ""
  746. tvdb_ep_name: ""
  747. anime_first_air_date: ""
  748. - "series_parser is defined and series_parser.year|default(None) is not none and series_parser.year|string != anime_first_air_date|default('')":
  749. # TODO: implement anidb lookup
  750. set:
  751. anime_year: " ({{series_parser.year}})"
  752. - "series_name is defined":
  753. set:
  754. anime_title: "{{ tvdb_series_name|default(series_name, true)|strip_year|title }}{{ anime_first_air_date|default(anime_year|default('')) }}"
  755. anime_path: "{{ category|default('anime')|lower }}/{{ anime_title }}{%if tvdb_season|default(anime_season|default(False)) %}/Season {{ tvdb_season|default(anime_season) }}{% endif %}"
  756. content_size:
  757. min: 20
  758. require_field:
  759. - series_id
  760. - series_name
  761. exists_series:
  762. path: "{? paths.series ?}/{{anime_path}}"
  763. allow_different_qualities: better
  764. copy:
  765. to: "{? paths.series ?}/{{anime_path}}"
  766. rename: "{{ anime_title }} {%if tvdb_ep_id|default(False) %}{{ tvdb_ep_id|upper }}{% elif tvdb_episode|default(False) %}{{ \"EP\" ~ tvdb_episode }}{% elif series_id is number %}{{ anime_episode|default(\"EP\" ~ series_id) }}{% else %}{{ anime_episode|default(series_id)|upper }}{% endif %}{%if tvdb_ep_name|default(False, true) %}-{{ tvdb_ep_name }}{% endif %}{% if quality|default(False) %}{% set screen_size, format, video_codec, audio_codec = screen_size|default(quality.resolution), format|default(quality.source), video_codec|default(quality.codec), audio_codec|default(quality.audio) %}{% endif %}{% if screen_size|default(False) %}[{{ screen_size }}]{% endif %}{% if format|default(False) %}.{{format|capitalize}}{% endif %}{% if video_codec|default(False) %}.{{video_codec}}{% endif %}{% if audio_codec|default(False) %}.{{audio_codec|upper}}{% endif %}"
  767. allow_dir: yes
  768. along:
  769. subdirs:
  770. - Sub
  771. - Subs
  772. - Extra
  773. - Extras
  774. extensions:
  775. - srt
  776. list_add:
  777. - subtitle_list:
  778. list: subtitles-series
  779. remove_after: 7 days
  780. languages:
  781. - es
  782. - en
  783. # task that automatically downloads movies from the movie_list
  784. download-movies:
  785. priority: 10
  786. template:
  787. - lookup-movies
  788. - common-sort
  789. - common-filter
  790. - common-reject
  791. - language-reject
  792. - common-urlrewrite
  793. - download-movies
  794. - transmission-movies
  795. discover:
  796. what:
  797. - from_task: collect-movies
  798. from:
  799. - 1337x:
  800. order_by: seeders
  801. - piratebay:
  802. category: highres movies
  803. sort_by: seeds
  804. sort_reverse: false
  805. - piratebay:
  806. category: movies
  807. sort_by: seeds
  808. sort_reverse: false
  809. - rarbg:
  810. category:
  811. - x264 720p
  812. - Full BD
  813. - XviD 720p
  814. sorted_by: seeders
  815. min_seeders: 1
  816. use_tvdb: true
  817. - rarbg:
  818. category:
  819. - x264 720p
  820. - Full BD
  821. - XviD 720p
  822. sorted_by: seeders
  823. min_seeders: 1
  824. - yts: yes
  825. - argenteam:
  826. force_subtitles: no
  827. #- torrentleech:
  828. # rss_key: '{? accounts.torrentleech.key ?}'
  829. # username: '{? accounts.torrentleech.username ?}'
  830. # password: '{? accounts.torrentleech.password ?}'
  831. interval: 2 hours
  832. release_estimations: ignore
  833. # best_quality:
  834. # on_best: do_nothing
  835. # on_lower: reject
  836. quality: hr-720p webrip+ !h265 !10bit !dts !dtshd
  837. upgrade:
  838. target: 720p webdl+ !h265 !10bit !dts !dtshd
  839. tracking: yes
  840. timeframe: 8 weeks
  841. on_lower: reject
  842. propers: yes
  843. list_match:
  844. from:
  845. - movie_list: watchlist_movies
  846. require_field:
  847. - movie_name
  848. - movie_year
  849. digest:
  850. list: clean_watchlist
  851. state:
  852. - accepted
  853. download-movies-anime:
  854. priority: 10
  855. template:
  856. - common-sort
  857. - common-filter
  858. - common-reject
  859. - language-reject
  860. - common-urlrewrite
  861. - download-movies
  862. - transmission-movies
  863. metainfo_movie: yes
  864. parsing:
  865. movie: guessit
  866. domain_delay:
  867. nyaa: 20 seconds
  868. discover:
  869. what:
  870. - movie_list:
  871. list_name: watchlist_movies_anime
  872. strip_year: no
  873. from:
  874. - nyaa:
  875. category: anime raw
  876. filter: filter remakes
  877. - nyaa:
  878. category: anime eng
  879. filter: filter remakes
  880. - 1337x:
  881. category: anime
  882. order_by: seeders
  883. - limetorrents:
  884. category: anime
  885. order_by: seeds
  886. interval: 2 hours
  887. release_estimations: ignore
  888. manipulate:
  889. - title:
  890. replace:
  891. regexp: '[^a-zA-Z0-9\-_.()\[\]\s]' # remove katakana or similar
  892. format: ''
  893. - title:
  894. replace:
  895. regexp: '^\[(.*?)\]\[(.*?)\](\[|\()'
  896. format: '[\1]\2\3'
  897. # best_quality:
  898. # identified_by: "{{media_id|default(discovered_from)}}"
  899. # on_best: do_nothing
  900. # on_lower: reject
  901. quality:
  902. - dvdrip+
  903. - hr-720p webrip+ !10bit !dts !dtshd
  904. - hr-1080p !cam !ts !bdscr !dvdscr !10bit !dts !dtshd
  905. - webrip+ !cam !ts !bdscr !dvdscr !10bit !dts !dtshd
  906. upgrade:
  907. target: 1080p webdl+ !10bit !dts !dtshd
  908. tracking: yes
  909. timeframe: 8 weeks
  910. on_lower: reject
  911. propers: yes
  912. list_match:
  913. from:
  914. - movie_list: watchlist_movies_anime
  915. require_field:
  916. - movie_name
  917. set:
  918. path: '{? paths.torrent ?}/movies/anime'
  919. digest:
  920. list: clean_watchlist_anime
  921. state:
  922. - accepted
  923. # task that automatically downloads movies in spanish
  924. download-movies-spanish:
  925. priority: 10
  926. template:
  927. - lookup-movies
  928. - common-sort
  929. - common-filter
  930. - common-reject
  931. - common-urlrewrite
  932. - download-movies
  933. - transmission-movies
  934. discover:
  935. what:
  936. - from_task: collect-movies-spanish
  937. - from_task: collect-movies-spanish-force
  938. from:
  939. #- torrentz:
  940. # reputation: good
  941. # extra_terms: lat
  942. #- torrentz:
  943. # reputation: good
  944. # extra_terms: latino
  945. #- torrentz:
  946. # reputation: good
  947. # extra_terms: cinecalidad
  948. # - descargas2020: yes
  949. - argenteam:
  950. force_subtitles: no
  951. #- torrentleech:
  952. # rss_key: '{? accounts.torrentleech.key ?}'
  953. # username: '{? accounts.torrentleech.username ?}'
  954. # password: '{? accounts.torrentleech.password ?}'
  955. #- search_rss:
  956. # url: 'https://zooqle.com/search?q={{ search_term }}+lat&fmt=rss'
  957. # link: 'auto'
  958. #- search_rss:
  959. # url: 'https://zooqle.com/search?q={{ search_term }}+latino&fmt=rss'
  960. # link: 'auto'
  961. # TODO: custom plugins for torrentdownloads/cinecalidad and elitetorrent.nl
  962. #- search_rss:
  963. # url: 'https://www.torrentdownloads.me/rss.xml?type=search&search={{ search_term }}+lat'
  964. # link: 'info_hash'
  965. #- search_rss:
  966. # url: 'https://www.torrentdownloads.me/rss.xml?type=search&search={{ search_term }}+latino'
  967. # link: 'info_hash'
  968. - search_rss:
  969. url: 'https://www.torrentdownload.info/feed?q={{search_term}}+lat'
  970. link: 'auto'
  971. - search_rss:
  972. url: 'https://www.torrentdownload.info/feed?q={{search_term}}+latino'
  973. link: 'auto'
  974. - search_rss:
  975. url: 'https://www.limetorrents.info/searchrss/{{search_term}}+lat'
  976. link: 'auto'
  977. - search_rss:
  978. url: 'https://www.limetorrents.info/searchrss/{{search_term}}+latino'
  979. link: 'auto'
  980. interval: 2 hours
  981. release_estimations: ignore
  982. quality:
  983. - dvdrip+ !h265 !10bit !dts !dtshd
  984. - 480p-1080p !cam !ts !bdscr !dvdscr !h265 !10bit !dts !dtshd
  985. - 720p+ webrip+ !h265 !10bit !dts !dtshd
  986. # best_quality:
  987. # on_best: do_nothing
  988. # on_lower: reject
  989. upgrade:
  990. target: 1080p webdl+ !h265 !10bit !dts !dtshd
  991. tracking: yes
  992. timeframe: 8 weeks
  993. on_lower: reject
  994. propers: yes
  995. regexp:
  996. accept:
  997. - \bcinecalidad\b
  998. reject_excluding:
  999. - .lat|-lat-|latino|latin|dual-lat|dual.lat|dual-latino|spa-lat|spa-latino|spanish-latino|esp-lat|esp-latino|esp.lat|spa.lat
  1000. from:
  1001. - title
  1002. list_match:
  1003. from:
  1004. - movie_list: watchlist_movies_spanish
  1005. - movie_list: watchlist_movies_spanish_all
  1006. - movie_list: watchlist_movies_spanish_force
  1007. require_field:
  1008. - movie_name
  1009. - movie_year
  1010. set:
  1011. path: '{? paths.torrent ?}/movies/spanish'
  1012. digest:
  1013. list: clean_watchlist_spanish
  1014. state:
  1015. - accepted
  1016. download-movies-spanish-optimistic:
  1017. priority: 10
  1018. template:
  1019. - lookup-movies
  1020. - common-sort
  1021. - common-filter
  1022. - common-reject
  1023. - common-urlrewrite
  1024. - download-movies
  1025. - transmission-movies
  1026. discover:
  1027. what:
  1028. - from_task: collect-movies-spanish-modified
  1029. - from_task: collect-movies-spanish-force
  1030. from:
  1031. - 1337x:
  1032. order_by: seeders
  1033. - piratebay:
  1034. category: highres movies
  1035. sort_by: seeds
  1036. sort_reverse: false
  1037. - piratebay:
  1038. category: movies
  1039. sort_by: seeds
  1040. sort_reverse: false
  1041. - rarbg:
  1042. category:
  1043. - x264
  1044. - x264 720p
  1045. - x264 1080p
  1046. - XviD
  1047. - XviD 720p
  1048. - Full BD
  1049. sorted_by: seeders
  1050. min_seeders: 1
  1051. - argenteam:
  1052. force_subtitles: no
  1053. - limetorrents:
  1054. category: movies
  1055. order_by: seeds
  1056. interval: 2 hours
  1057. release_estimations: ignore
  1058. quality:
  1059. - dvdrip+ !h265 !10bit !dts !dtshd
  1060. - 480p-1080p !cam !ts !bdscr !dvdscr !h265 !10bit !dts !dtshd
  1061. - 720p+ webrip+ !h265 !10bit !dts !dtshd
  1062. upgrade:
  1063. target: 1080p webdl+ !h265 !10bit !dts !dtshd
  1064. tracking: yes
  1065. timeframe: 8 weeks
  1066. on_lower: reject
  1067. propers: yes
  1068. regexp:
  1069. accept:
  1070. - \bcinecalidad\b
  1071. reject_excluding:
  1072. - .lat|-lat-|latino|latin|dual-lat|dual.lat|dual-latino|spa-lat|spa-latino|spanish-latino|esp-lat|esp-latino|esp.lat|spa.lat
  1073. from:
  1074. - title
  1075. list_match:
  1076. from:
  1077. - movie_list: watchlist_movies_spanish
  1078. - movie_list: watchlist_movies_spanish_all
  1079. - movie_list: watchlist_movies_spanish_force
  1080. require_field:
  1081. - movie_name
  1082. - movie_year
  1083. set:
  1084. path: '{? paths.torrent ?}/movies/spanish'
  1085. digest:
  1086. list: clean_watchlist_spanish
  1087. state:
  1088. - accepted
  1089. # task that automatically downloads series from the entry_list
  1090. download-series:
  1091. priority: 10
  1092. template:
  1093. - common-sort
  1094. - common-filter
  1095. - common-reject
  1096. - language-reject
  1097. - common-urlrewrite
  1098. - notify-all
  1099. trakt_lookup: yes
  1100. thetvdb_lookup: yes
  1101. parsing:
  1102. series: guessit
  1103. domain_delay:
  1104. 1337x: 5 seconds
  1105. thepiratebay: 5 seconds
  1106. discover:
  1107. what:
  1108. - next_series_episodes:
  1109. from_start: yes
  1110. backfill: yes
  1111. from:
  1112. - 1337x:
  1113. order_by: seeders
  1114. - rarbg:
  1115. category:
  1116. - 49 # TV UHD Episodes
  1117. - HDTV
  1118. - SDTV
  1119. sorted_by: seeders
  1120. min_seeders: 1
  1121. - rarbg:
  1122. category:
  1123. - 49 # TV UHD Episodes
  1124. - HDTV
  1125. - SDTV
  1126. sorted_by: seeders
  1127. min_seeders: 1
  1128. use_tvdb: yes
  1129. - piratebay:
  1130. category: highres tv
  1131. sort_by: seeds
  1132. sort_reverse: false
  1133. - piratebay:
  1134. category: tv
  1135. sort_by: seeds
  1136. sort_reverse: false
  1137. - limetorrents:
  1138. category: tv
  1139. order_by: seeds
  1140. interval: 2 hours
  1141. release_estimations:
  1142. optimistic: 90 days
  1143. torrent_alive: 1 # Will reject results with less than 1 seeds
  1144. content_size:
  1145. min: 20
  1146. max: 7500
  1147. include: series.yml
  1148. configure_series:
  1149. from:
  1150. entry_list: watchlist_series
  1151. # limit:
  1152. # amount: 2
  1153. # from:
  1154. # entry_list: watchlist_series
  1155. settings:
  1156. identified_by: ep
  1157. timeframe: 48 hours
  1158. target: hr-720p hdtv+ !h265 !10bit !dts !dtshd
  1159. quality: webrip+ !h265 !10bit !dts !dtshd
  1160. tracking: backfill
  1161. upgrade: yes
  1162. specials: yes
  1163. exact: yes
  1164. season_packs: no
  1165. require_field:
  1166. - trakt_series_name
  1167. - trakt_ep_id
  1168. transmission:
  1169. <<: *transmission-secondary
  1170. path: '{? paths.torrent_remote ?}/series/general'
  1171. add_paused: no
  1172. main_file_only: yes
  1173. rename_like_files: yes
  1174. magnetization_timeout: 120
  1175. content_filename: "{{ trakt_series_name }} {{ trakt_ep_id }}{%if trakt_ep_name|default(False) %}-{{trakt_ep_name}}{% endif %}{% if quality|default(False) %}{% set screen_size, format, video_codec, audio_codec = screen_size|default(quality.resolution), format|default(quality.source), video_codec|default(quality.codec), audio_codec|default(quality.audio) %}{% endif %}{% if screen_size|default(False) %}[{{ screen_size }}]{% endif %}{% if format|default(False) %}.{{format|capitalize}}{% endif %}{% if video_codec|default(False) %}.{{video_codec}}{% endif %}{% if audio_codec|default(False) %}.{{audio_codec|upper}}{% endif %}"
  1176. include_subs: yes
  1177. skip_files:
  1178. - '*.sfv'
  1179. - '*[sS]ample*'
  1180. - '*.txt'
  1181. - '*.lnk'
  1182. # task that automatically downloads series pack from the entry_list
  1183. download-series-pack:
  1184. priority: 10
  1185. template:
  1186. - common-sort
  1187. - common-filter
  1188. - common-reject
  1189. - language-reject
  1190. - common-urlrewrite
  1191. - notify-all
  1192. imdb_lookup: yes
  1193. trakt_lookup: yes
  1194. parsing:
  1195. series: guessit
  1196. domain_delay:
  1197. 1337x: 5 seconds
  1198. thepiratebay: 5 seconds
  1199. discover:
  1200. what:
  1201. - next_series_seasons:
  1202. from_start: yes
  1203. backfill: yes
  1204. from:
  1205. - 1337x:
  1206. order_by: seeders
  1207. - rarbg:
  1208. category:
  1209. - x264 720p
  1210. - HDTV
  1211. - SDTV
  1212. sorted_by: seeders
  1213. min_seeders: 1
  1214. - rarbg:
  1215. category:
  1216. - x264 720p
  1217. - HDTV
  1218. - SDTV
  1219. sorted_by: seeders
  1220. min_seeders: 1
  1221. use_tvdb: yes
  1222. - piratebay:
  1223. category: highres tv
  1224. sort_by: seeds
  1225. sort_reverse: false
  1226. - piratebay:
  1227. category: tv
  1228. sort_by: seeds
  1229. sort_reverse: false
  1230. - limetorrents:
  1231. category: tv
  1232. order_by: seeds
  1233. interval: 2 hours
  1234. release_estimations:
  1235. optimistic: 90 days
  1236. torrent_alive: 2 # Will reject results with less than 1 seeds
  1237. content_size:
  1238. min: 20
  1239. max: 50000
  1240. include: series.yml
  1241. configure_series:
  1242. from:
  1243. entry_list: watchlist_series
  1244. settings:
  1245. identified_by: ep
  1246. timeframe: 48 hours
  1247. target: 720p hdtv+ !h265 !10bit !dts !dtshd
  1248. quality: webrip+ !h265 !10bit !dts !dtshd
  1249. tracking: backfill
  1250. upgrade: yes
  1251. specials: yes
  1252. exact: yes
  1253. season_packs: only
  1254. require_field:
  1255. - trakt_series_name
  1256. transmission:
  1257. <<: *transmission-secondary
  1258. path: '{? paths.torrent_remote ?}/series/general'
  1259. add_paused: no
  1260. magnetization_timeout: 120
  1261. include_subs: yes
  1262. skip_files:
  1263. - '*.sfv'
  1264. - '*[sS]ample*'
  1265. - '*.txt'
  1266. - '*.lnk'
  1267. # task that automatically downloads series anime from the entry_list
  1268. download-series-anime:
  1269. priority: 10
  1270. template:
  1271. - common-sort
  1272. - common-filter
  1273. - common-reject
  1274. - language-reject
  1275. - common-urlrewrite
  1276. - manipulate-anime
  1277. - notify-all
  1278. metainfo_series: yes
  1279. thetvdb_lookup: yes
  1280. parsing:
  1281. series: guessit
  1282. domain_delay:
  1283. nyaa: 20 seconds
  1284. discover:
  1285. what:
  1286. - next_series_episodes: yes
  1287. # backfill: yes -> has error with sequence (without season) anime
  1288. from:
  1289. - nyaa:
  1290. category: anime raw
  1291. filter: filter remakes
  1292. - nyaa:
  1293. category: anime eng
  1294. filter: filter remakes
  1295. interval: 2 hours
  1296. release_estimations: ignore
  1297. torrent_alive: 1 # Will reject results with less than 1 seeds
  1298. regexp:
  1299. reject:
  1300. # - \d\d\s?~\s?\d\d+ # Ignore packs due in sequence is not supported
  1301. # - \d\d\-\d\d+
  1302. - vol(\s|.)?\d+\s?-\s?vol
  1303. - \bvol(\s|.)?\d+\b
  1304. - \b(ita|ger|spa|swe|nor|nordic|kor|esp|nl|pl|french|casteñano|spanish|hindi)\b # Languages
  1305. - \b(hard(sub|dub)|dub|_dub)(bed)?\b # Subtitles (hardsub / Dubbed) allow Subs|Sub
  1306. - dub|_dub|dubbed
  1307. - \b60fps\b
  1308. - \bs(\d+)\s\b
  1309. - \bpv\b
  1310. - dublat
  1311. - \bVOSTFR\b
  1312. - 1XBET
  1313. - ganool
  1314. from: title
  1315. content_size:
  1316. min: 20
  1317. max: 75000
  1318. include: anime.yml
  1319. configure_series:
  1320. from:
  1321. # limit:
  1322. # amount: 2
  1323. # from:
  1324. entry_list: watchlist_series_anime
  1325. settings:
  1326. identified_by: sequence
  1327. sequence_regexp: '(\d{2,3})(?:v(?P<version>\d))?'
  1328. timeframe: 72 hours
  1329. target: hr-720p hdtv+ !h265 !10bit !dts !dtshd
  1330. qualities:
  1331. - dvdrip+ !h265 !10bit !dts !dtshd
  1332. - webrip+ !h265 !10bit !dts !dtshd
  1333. - 480p-720p webrip+ !h265 !10bit <=flac
  1334. - 480p-720p !cam !ts !bdscr !dvdscr !h265 !10bit !dts !dtshd
  1335. upgrade: yes
  1336. tracking: yes
  1337. specials: yes
  1338. begin: 01
  1339. exact: yes
  1340. season_packs: yes
  1341. special_ids:
  1342. - OVA
  1343. - SP
  1344. - Special
  1345. - special
  1346. require_field:
  1347. # - series_id
  1348. - series_name
  1349. transmission:
  1350. <<: *transmission-secondary
  1351. path: '{? paths.torrent_remote ?}/series/anime'
  1352. add_paused: no
  1353. main_file_only: no
  1354. magnetization_timeout: 120
  1355. include_subs: yes
  1356. skip_files:
  1357. - '*.sfv'
  1358. - '*[sS]ample*'
  1359. - '*.txt'
  1360. - '*.lnk'
  1361. # Task to get subtitles
  1362. subtitles-add:
  1363. priority: 1
  1364. manual: yes
  1365. template:
  1366. - notify-all
  1367. filesystem:
  1368. path:
  1369. - '{? paths.movies ?}'
  1370. - '{? paths.series ?}'
  1371. regexp: '.*\.(avi|mkv|mp4)$'
  1372. recursive: yes
  1373. age:
  1374. field: modified
  1375. action: reject
  1376. age: 7 days
  1377. seen: local # seen shouldn't interfer with anything outside this subtitles task
  1378. check_subtitles: yes
  1379. if:
  1380. - "not subtitles or ('es' not in subtitles and 'spa' not in subtitles)": accept
  1381. list_add:
  1382. - subtitle_list:
  1383. list: subtitles-all
  1384. remove_after: 7 days
  1385. languages:
  1386. - es
  1387. - en
  1388. subtitles-get:
  1389. priority: 1
  1390. seen: no
  1391. inputs:
  1392. - subtitle_list:
  1393. list: subtitles-series
  1394. - subtitle_list:
  1395. list: subtitles-movies
  1396. - subtitle_list:
  1397. list: subtitles-all
  1398. list_match:
  1399. from:
  1400. - subtitle_list:
  1401. list: subtitles-series
  1402. - subtitle_list:
  1403. list: subtitles-movies
  1404. - subtitle_list:
  1405. list: subtitles-all
  1406. subliminal:
  1407. languages:
  1408. - es
  1409. - en
  1410. exact_match: yes
  1411. single: no
  1412. authentication:
  1413. opensubtitles:
  1414. username: '{? accounts.opensubtitles.username ?}'
  1415. password: '{? accounts.opensubtitles.password ?}'
  1416. filter-duplicate-movies:
  1417. priority: 15
  1418. seen: no # Too keep looking duplicates for same movie
  1419. metainfo_movie: yes
  1420. filesystem:
  1421. path:
  1422. - '{? paths.movies ?}'
  1423. regexp: '.*\.(avi|mkv|mp4)$'
  1424. recursive: yes
  1425. retrieve: files
  1426. sequence:
  1427. - manipulate:
  1428. - title:
  1429. phase: filter
  1430. from: location
  1431. - sort_by: id
  1432. - duplicates:
  1433. field: id
  1434. action: accept
  1435. - set:
  1436. duplicate_reason: "{{reason}}"
  1437. - best_quality:
  1438. on_best: reject
  1439. on_lower: accept
  1440. list_match: # Check is already added to avoid notification noise
  1441. from:
  1442. - entry_list: duplicate_movies_added
  1443. action: reject
  1444. remove_on_match: no
  1445. single_match: no
  1446. list_add:
  1447. - pending_list: duplicate_movies
  1448. - entry_list: duplicate_movies_added
  1449. notify:
  1450. entries:
  1451. title: '* Duplicate Movies: {{movie_name|default(title)}} ({{movie_year|default("--")}})'
  1452. message: |
  1453. Task: {{task}}
  1454. Id: {{id|default(title)}}
  1455. Filename: {{filename}}
  1456. Location: {{location}}
  1457. Reason: {{duplicate_reason|default(reason)}}
  1458. Status: Pending approve
  1459. via:
  1460. - xmpp:
  1461. sender: '{? xmpp.sender ?}'
  1462. password: '{? xmpp.password ?}'
  1463. recipients: '{? xmpp.recipients ?}'
  1464. filter-remove-movies:
  1465. priority: 15
  1466. seen: no # Too keep looking to remove for same movie
  1467. filesystem:
  1468. path:
  1469. - '{? paths.movies ?}'
  1470. regexp: '.*\.(avi|mkv|mp4)$'
  1471. recursive: yes
  1472. retrieve: files
  1473. age:
  1474. field: modified
  1475. action: accept
  1476. age: 1000 days # TODO: change after first run
  1477. trakt_lookup:
  1478. username: '{? accounts.trakt_primary.username ?}'
  1479. account: '{? accounts.trakt_primary.username ?}'
  1480. if:
  1481. - trakt_collected: reject
  1482. - not trakt_watched: reject
  1483. - trakt_movie_user_rating and trakt_movie_user_rating <= 5: accept
  1484. list_match: # Check is already added to avoid notification noise
  1485. from:
  1486. - entry_list: remove_movies_added
  1487. action: reject
  1488. remove_on_match: no
  1489. single_match: no
  1490. list_add:
  1491. - pending_list: remove_movies
  1492. - entry_list: remove_movies_added
  1493. notify:
  1494. entries:
  1495. title: '* To Remove Movies: {{movie_name|default(title)}} ({{movie_year|default("--")}})'
  1496. message: |
  1497. Task: {{task}}
  1498. Id: {{id|default(title)}}
  1499. Filename: {{filename}}
  1500. Location: {{location}}
  1501. Rating: {{trakt_movie_user_rating}}
  1502. Collected: {{trakt_collected}}
  1503. Reason: {{reason|default("--")}}
  1504. Status: Pending approve
  1505. via:
  1506. - xmpp:
  1507. sender: '{? xmpp.sender ?}'
  1508. password: '{? xmpp.password ?}'
  1509. recipients: '{? xmpp.recipients ?}'
  1510. filter-duplicate-series:
  1511. priority: 15
  1512. seen: no # Too keep looking duplicates for same movie
  1513. metainfo_series: yes
  1514. parsing:
  1515. series: internal
  1516. filesystem:
  1517. path:
  1518. - '{? paths.series ?}'
  1519. regexp: '.*\.(avi|mkv|mp4)$'
  1520. recursive: yes
  1521. sequence:
  1522. - require_field:
  1523. - series_id
  1524. - series_name
  1525. - series_season
  1526. - series_episode
  1527. - sort_by: id
  1528. - duplicates:
  1529. field: id
  1530. action: accept
  1531. - set:
  1532. duplicate_reason: "{{reason}}"
  1533. - best_quality:
  1534. on_best: reject
  1535. on_lower: accept
  1536. list_add:
  1537. - entry_list: duplicate_series
  1538. notify:
  1539. entries:
  1540. title: '* Duplicate serie episode: {{series_name}} - {{series_id}}'
  1541. message: |
  1542. Task: {{task}}
  1543. Id: {{id|default(title)}}
  1544. Episode: {{series_id}}
  1545. Filename: {{filename}}
  1546. Location: {{location}}
  1547. Reason: {{duplicate_reason|default(reason)}}
  1548. Status: approved
  1549. via:
  1550. - xmpp:
  1551. sender: '{? xmpp.sender ?}'
  1552. password: '{? xmpp.password ?}'
  1553. recipients: '{? xmpp.recipients ?}'
  1554. filter-reject-copy-series:
  1555. priority: 15
  1556. metainfo_series: yes
  1557. trakt_lookup: yes
  1558. parsing:
  1559. series: guessit
  1560. seen: no
  1561. from_digest:
  1562. list: purge_series
  1563. require_field:
  1564. - series_id
  1565. - series_name
  1566. - series_season
  1567. list_add:
  1568. - entry_list: exists_series
  1569. if:
  1570. - "rejected_by == 'exists_series'": accept
  1571. notify:
  1572. entries:
  1573. title: '* Reject copy episode: {{series_name}} - {{series_id}}'
  1574. message: |
  1575. Task: {{task}}
  1576. Id: {{id|default(title)}}
  1577. Episode: {{series_id}}
  1578. Filename: {{filename}}
  1579. Location: {{location}}
  1580. Reason: {{reason|default('Unknow')}}
  1581. Status: approved
  1582. via:
  1583. - xmpp:
  1584. sender: '{? xmpp.sender ?}'
  1585. password: '{? xmpp.password ?}'
  1586. recipients: '{? xmpp.recipients ?}'
  1587. # tasks to purge/clean (hard) per week
  1588. purge-torrents-primary:
  1589. priority: 15
  1590. template:
  1591. - transmission-purge
  1592. from_transmission:
  1593. <<: *transmission-primary
  1594. if:
  1595. - transmission_ratio >= 4.0: accept
  1596. - transmission_progress == 100 and (transmission_date_done + timedelta(days=20)) < now: accept
  1597. transmission:
  1598. <<: *transmission-primary
  1599. action: purge
  1600. purge-torrents-secondary:
  1601. priority: 15
  1602. template:
  1603. - transmission-purge
  1604. from_transmission:
  1605. <<: *transmission-secondary
  1606. if:
  1607. - transmission_ratio >= 4.0: accept
  1608. - transmission_progress == 100 and (transmission_date_done + timedelta(days=10)) < now: accept
  1609. transmission:
  1610. <<: *transmission-secondary
  1611. action: purge
  1612. # task to clean (soft) daily
  1613. clean-watchlist-movies:
  1614. priority: 20
  1615. seen: no
  1616. trakt_lookup: yes
  1617. from_digest:
  1618. list: clean_watchlist
  1619. accept_all: yes
  1620. crossmatch:
  1621. from:
  1622. - movie_list: watchlist_movies
  1623. fields:
  1624. - imdb_id
  1625. action: accept
  1626. require_field:
  1627. - imdb_id
  1628. list_remove:
  1629. - movie_list: watchlist_movies
  1630. - trakt_list:
  1631. account: '{? accounts.trakt_primary.username ?}'
  1632. username: '{? accounts.trakt_primary.username ?}'
  1633. list: watchlist
  1634. type: movies
  1635. - trakt_list:
  1636. account: '{? accounts.trakt_secondary.username ?}'
  1637. username: '{? accounts.trakt_secondary.username ?}'
  1638. list: watchlist
  1639. type: movies
  1640. clean-watchlist-movies-anime:
  1641. priority: 20
  1642. seen: no
  1643. trakt_lookup: yes
  1644. from_digest:
  1645. list: clean_watchlist_anime
  1646. accept_all: yes
  1647. crossmatch:
  1648. from:
  1649. - movie_list: watchlist_movies_anime
  1650. fields:
  1651. - imdb_id
  1652. action: accept
  1653. require_field:
  1654. - imdb_id
  1655. list_remove:
  1656. - movie_list: watchlist_movies_anime
  1657. - trakt_list:
  1658. account: '{? accounts.trakt_primary.username ?}'
  1659. username: '{? accounts.trakt_primary.username ?}'
  1660. list: anime
  1661. type: movies
  1662. clean-watchlist-movies-spanish:
  1663. priority: 20
  1664. seen: no
  1665. trakt_lookup: yes
  1666. from_digest:
  1667. list: clean_watchlist_spanish
  1668. accept_all: yes
  1669. crossmatch:
  1670. from:
  1671. - movie_list: watchlist_movies_spanish
  1672. - movie_list: watchlist_movies_spanish_force
  1673. fields:
  1674. - imdb_id
  1675. action: accept
  1676. require_field:
  1677. - imdb_id
  1678. list_remove:
  1679. - movie_list: watchlist_movies_spanish
  1680. - movie_list: watchlist_movies_spanish_force
  1681. - trakt_list:
  1682. account: '{? accounts.trakt_primary.username ?}'
  1683. username: '{? accounts.trakt_primary.username ?}'
  1684. list: spanish
  1685. type: movies
  1686. - trakt_list:
  1687. account: '{? accounts.trakt_secondary.username ?}'
  1688. username: '{? accounts.trakt_secondary.username ?}'
  1689. list: spanish
  1690. type: movies
  1691. clean-remove-movies:
  1692. priority: 20
  1693. template:
  1694. - kodi-clean
  1695. seen: no
  1696. accept_all: yes
  1697. pending_list: remove_movies
  1698. list_match:
  1699. from:
  1700. - pending_list: remove_movies
  1701. list_remove:
  1702. - entry_list: remove_movies_added
  1703. delete:
  1704. clean_source: 1
  1705. along:
  1706. extensions:
  1707. - sub
  1708. - srt
  1709. subdirs:
  1710. - Subs
  1711. notify:
  1712. entries:
  1713. title: '* Movie removed: {{movie_name|default(title)}} ({{movie_year|default("--")}})'
  1714. message: |
  1715. Task: {{task}}
  1716. Id: {{id|default(title)}}
  1717. Filename: {{filename}}
  1718. Location: {{location}}
  1719. via:
  1720. - xmpp:
  1721. sender: '{? xmpp.sender ?}'
  1722. password: '{? xmpp.password ?}'
  1723. recipients: '{? xmpp.recipients ?}'
  1724. clean-duplicate-movies:
  1725. priority: 20
  1726. template:
  1727. - kodi-clean
  1728. seen: no
  1729. backlog: 5 days
  1730. accept_all: yes
  1731. pending_list: duplicate_movies
  1732. unique: # ensure don't include duplicate items
  1733. field:
  1734. - id
  1735. - movie_name
  1736. action: reject
  1737. list_match:
  1738. from:
  1739. - pending_list: duplicate_movies
  1740. remove_on_match: yes
  1741. list_remove:
  1742. - pending_list: duplicate_movies
  1743. - entry_list: duplicate_movies_added
  1744. delete:
  1745. clean_source: 1
  1746. along:
  1747. extensions:
  1748. - sub
  1749. - srt
  1750. subdirs:
  1751. - Subs
  1752. notify:
  1753. entries:
  1754. title: '* Movie duplicate removed: {{movie_name|default(title)}} ({{movie_year|default("--")}})'
  1755. message: |
  1756. Id: {{id|default(title)}}
  1757. Filename: {{filename}}
  1758. Location: {{location}}
  1759. via:
  1760. - xmpp:
  1761. sender: '{? xmpp.sender ?}'
  1762. password: '{? xmpp.password ?}'
  1763. recipients: '{? xmpp.recipients ?}'
  1764. clean-duplicate-series:
  1765. priority: 20
  1766. template:
  1767. - kodi-clean
  1768. seen: no
  1769. accept_all: yes
  1770. backlog: 5 days
  1771. entry_list: duplicate_series
  1772. unique: # ensure don't include duplicate items
  1773. field:
  1774. - id
  1775. action: reject
  1776. list_remove:
  1777. - entry_list: duplicate_series
  1778. delete:
  1779. clean_source: 50
  1780. along:
  1781. extensions:
  1782. - sub
  1783. - srt
  1784. subdirs:
  1785. - Subs
  1786. notify:
  1787. entries:
  1788. title: '* Serie episode removed: {{series_name|default(title)}} - {{series_id|default(id)}}'
  1789. message: |
  1790. Id: {{id|default(title)}}
  1791. Episode: {{series_id|default(title)}}
  1792. Filename: {{filename}}
  1793. Location: {{location}}
  1794. Reason: {{duplicate_reason|default('Duplicated')}}
  1795. via:
  1796. - xmpp:
  1797. sender: '{? xmpp.sender ?}'
  1798. password: '{? xmpp.password ?}'
  1799. recipients: '{? xmpp.recipients ?}'
  1800. # Manual operations
  1801. job_organize_movies:
  1802. manual: yes
  1803. seen: no
  1804. template:
  1805. - lookup-movies
  1806. metainfo_movie: yes
  1807. accept_all: yes
  1808. <<: *category-movies-filter
  1809. require_field:
  1810. - movie_name
  1811. - movie_year
  1812. filesystem:
  1813. path:
  1814. - '{? paths.movies ?}/spanish'
  1815. regexp: '.*\.(avi|mkv|mp4)$'
  1816. recursive: yes
  1817. move:
  1818. to: "{? paths.movies ?}/{{ category|default('general')|lower }}/{{ trakt_movie_name|default(movie_name) }} ({{ movie_year }})"
  1819. rename: "{{ trakt_movie_name|default(movie_name) }} ({{ movie_year }}){% if quality|default(False) %}{% set screen_size, format, video_codec, audio_codec = screen_size|default(quality.resolution), format|default(quality.source), video_codec|default(quality.codec), audio_codec|default(quality.audio) %}{% endif %}{% if screen_size|default(False) %}[{{ screen_size }}]{% endif %}{% if format|default(False) %}.{{format|capitalize}}{% endif %}{% if video_codec|default(False) %}.{{video_codec}}{% endif %}{% if audio_codec|default(False) %}.{{audio_codec|upper}}{% endif %}"
  1820. allow_dir: yes
  1821. clean_source: 2
  1822. along:
  1823. subdirs:
  1824. - Sub
  1825. - Subs
  1826. - Extra
  1827. - Extras
  1828. extensions:
  1829. - srt
  1830. - png
  1831. - jpg
  1832. job_purge-watchlist-movies:
  1833. manual: yes
  1834. seen: no
  1835. template:
  1836. - lookup-movies
  1837. metainfo_movie: yes
  1838. filesystem:
  1839. path:
  1840. - '{? paths.movies ?}'
  1841. regexp: '.*\.(avi|mkv|mp4)$'
  1842. recursive: yes
  1843. list_match:
  1844. from:
  1845. - movie_list: watchlist_movies
  1846. require_field:
  1847. - movie_name
  1848. - movie_year
  1849. list_remove:
  1850. - movie_list: watchlist_movies
  1851. - trakt_list:
  1852. account: '{? accounts.trakt_primary.username ?}'
  1853. username: '{? accounts.trakt_primary.username ?}'
  1854. list: watchlist
  1855. type: movies
  1856. - trakt_list:
  1857. account: '{? accounts.trakt_secondary.username ?}'
  1858. username: '{? accounts.trakt_secondary.username ?}'
  1859. list: watchlist
  1860. type: movies
  1861. job_purge-watchlist-movies-spanish:
  1862. manual: yes
  1863. seen: no
  1864. template:
  1865. - lookup-movies
  1866. metainfo_movie: yes
  1867. filesystem:
  1868. path:
  1869. - '{? paths.spanish_movies ?}'
  1870. - '{? paths.movies ?}/family'
  1871. - '{? paths.movies ?}/pg'
  1872. - '{? paths.movies ?}/pg13'
  1873. - '{? paths.movies ?}/allages'
  1874. - '{? paths.movies ?}/anime_spanish'
  1875. regexp: '.*\.(avi|mkv|mp4)$'
  1876. recursive: yes
  1877. list_match:
  1878. from:
  1879. - movie_list: watchlist_movies_spanish
  1880. - movie_list: watchlist_movies_spanish_force
  1881. require_field:
  1882. - movie_name
  1883. - movie_year
  1884. list_remove:
  1885. - movie_list: watchlist_movies_spanish
  1886. - movie_list: watchlist_movies_spanish_force
  1887. - trakt_list:
  1888. account: '{? accounts.trakt_primary.username ?}'
  1889. username: '{? accounts.trakt_primary.username ?}'
  1890. list: spanish
  1891. type: movies
  1892. - trakt_list:
  1893. account: '{? accounts.trakt_secondary.username ?}'
  1894. username: '{? accounts.trakt_secondary.username ?}'
  1895. list: spanish
  1896. type: movies
  1897. job_purge-exists-series:
  1898. manual: yes
  1899. seen: no
  1900. seen_info_hash: no
  1901. metainfo_series: yes
  1902. trakt_lookup: yes
  1903. parsing:
  1904. series: guessit
  1905. template:
  1906. - transmission-purge
  1907. from_transmission:
  1908. <<: *transmission-secondary
  1909. crossmatch:
  1910. from:
  1911. - entry_list: exists_series
  1912. fields:
  1913. - series_id
  1914. - series_name
  1915. - series_season
  1916. action: accept
  1917. all_fields: yes
  1918. list_remove:
  1919. - entry_list: exists_series
  1920. transmission:
  1921. <<: *transmission-secondary
  1922. action: purge
  1923. ## schedules for daemon mode
  1924. schedules:
  1925. - tasks: [watchlist-*] #, collection-*]
  1926. interval:
  1927. hours: 1
  1928. - tasks: [subtitles-get, copy-*]
  1929. interval:
  1930. minutes: 30
  1931. - tasks: [download-*, clean-*]
  1932. interval:
  1933. hours: 6
  1934. #schedule:
  1935. # hour: 2,6,18
  1936. - tasks: [copy-*, filter-*, purge-*]
  1937. schedule:
  1938. day_of_week: tue,fri
  1939. hour: 13
  1940. web_server:
  1941. bind: 0.0.0.0
  1942. port: 3539
  1943. web_ui: yes
  1944. base_url: /