Advertisement
Guest User

Config

a guest
Mar 8th, 2019
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.38 KB | None | 0 0
  1. variables: secrets.yml
  2. schedules:
  3. ##### YOUR TORRENT CLIENT SHOULD RUN THIS COMMAND AFTER EVERY DOWNLOAD: PATH_TO_flexget/bin/flexget execute --tasks find-* move-*
  4. ##### Alternatively uncomment this task to process downloaded files every 30min.
  5. # - tasks: [ 'find-*', 'move-*']
  6. # interval:
  7. # minutes: 30
  8. ##### Every day at 2AM, check nextep to search (necessary if you added a new show to the list but have already watched it partly) and find subtitles #attempt #2 (without original name).
  9. - tasks: ['*-nextep']
  10. schedule:
  11. hour: 2
  12. ##### Twice a day between 2AM and 7AM: scan existing files, fill queue, check the feeds for latest episodes, discover missing episodes.
  13. - tasks: ['purge-*', 'populate-*', 'fill-*', '*-manual', '*-rss', '*-discover']
  14. schedule:
  15. hour: '2-7/2'
  16. ##### Weekly cleanup of Transmission, Trakt TVshows list (fully watched && ended = delete from list).
  17. - tasks: ['clean-*']
  18. interval:
  19. weeks: 1
  20.  
  21.  
  22. templates:
  23.  
  24. ##### Series config# Please uncomment `tracking: backfill` if you need Flexget to download as much as old episodes as it can find. Do the same in series-discover-episodes and series-discover-seasons tasks
  25. series:
  26. thetvdb_lookup: yes
  27. tvmaze_lookup: yes
  28. configure_series:
  29. from:
  30. entry_list: trakt-series
  31. settings:
  32. identified_by: ep
  33. timeframe: 1 hours
  34. target: webrip+ <1080p h264+
  35. quality: webrip+ <=1080p h264+
  36. propers: 48 hours
  37. specials: no
  38. season_packs: 3
  39. tracking: backfill
  40. content_size:
  41. min: 100
  42. content_filter:
  43. require:
  44. - '*.mkv'
  45. - '*.mp4'
  46.  
  47.  
  48. ##### Movies config#
  49. movies-HQ:
  50. tmdb_lookup: yes
  51. movie_list: trakt-movies
  52. quality: 1080p webdl+
  53. content_size:
  54. min: 8000
  55. max: 15000
  56.  
  57. movies-NQ:
  58. tmdb_lookup: yes
  59. movie_list: trakt-movies
  60. quality: 1080p webdl+
  61. content_size:
  62. min: 2000
  63. max: 7999
  64.  
  65. movies-LQ:
  66. tmdb_lookup: yes
  67. movie_list: trakt-movies
  68. quality: 720p webdl+
  69. content_size:
  70. min: 900
  71. max: 8000
  72.  
  73.  
  74. ##### Common rejections#
  75. reject:
  76. regexp:
  77. reject:
  78. - \b(s|d)ub(s|bed|lado|titulado)?\b
  79. - \bhc\b
  80. - \bdual\b
  81. - \b3d\b
  82. - \bfre(nch)?\b
  83. - \bita(lian)?\b
  84. - \bspa(nish)?\b
  85. - \bger(man)?\b
  86. - \bcastellano\b
  87. - \brus(sian)?\b
  88. - \btamil\b
  89. - \bhindi\b
  90. - \bh265\b
  91. - \bx265\b
  92. content_filter:
  93. reject:
  94. - '*.rar'
  95. - '*.zip'
  96. - '*.exe'
  97.  
  98.  
  99. ##### ADVANCED SETTINGS #####
  100. ##### Global config#
  101. global:
  102. no_entries_ok: yes
  103.  
  104.  
  105. ##### Common torrents config#
  106. torrents:
  107. torrent_alive:
  108. min_seeds: 3
  109. reject_for: 15 minutes
  110. domain_delay:
  111. thepiratebay.se: 10 seconds
  112. thepiratebay.org: 10 seconds
  113. limetorrents: 3 seconds
  114. anidex.info: 3 seconds
  115. bt-chat.com: 1 seconds
  116. ezrss.it: 1 seconds
  117. showrss.info: 2 seconds
  118. torlock.eu: 1 seconds
  119. torrenticity.com: 1 seconds
  120. zooqle.com: 2 seconds
  121. urlrewrite:
  122. torrentz2:
  123. regexp: 'http://torrentz2.eu/(?P<id>\w*)'
  124. format: 'magnet:?xt=urn:btih:\g<id>&dn=&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce'
  125.  
  126.  
  127.  
  128.  
  129. place_torrent:
  130. utorrent:
  131. url: "{? utorrent.url ?}"
  132. username: "{? utorrent.user ?}"
  133. password: "{? utorrent.pass ?}"
  134. path: "{? utorrent.path ?}"
  135.  
  136.  
  137.  
  138.  
  139. ##### Pushbullet config#
  140. pushbullet:
  141. notify:
  142. entries:
  143. title: "[flexget] {{task}}"
  144. message: "{{title}}"
  145. via:
  146. - pushbullet:
  147. api_key: "{? pushbullet.api ?}"
  148.  
  149.  
  150.  
  151. ##### Disable builtins for some tasks#
  152. disable-seen-retry:
  153. disable:
  154. - seen
  155. - seen_info_hash
  156. - retry_failed
  157.  
  158.  
  159.  
  160. ##### Series metainfo mainly for move and update tasks#
  161. series-metainfo:
  162. metainfo_series: yes
  163. thetvdb_lookup: yes
  164.  
  165.  
  166.  
  167. ##### Guessit parsing for some series tasks, not applied to all tasks because it causes issues with "name (year)" based series, like scandal#
  168. series-guessit:
  169. parsing:
  170. series: guessit
  171.  
  172.  
  173.  
  174. ##### Movies metainfo mainly for move and update tasks#
  175. movies-metainfo:
  176. tmdb_lookup: yes
  177. parsing:
  178. movie: guessit
  179. metainfo_movie: yes
  180.  
  181.  
  182.  
  183.  
  184. movie-rss:
  185. inputs:
  186. - rss: https://www.torrentdownloads.me/rss.xml?cid=4&type=last
  187. - rss: https://www.torrentdownloads.me/rss2/popular/4
  188.  
  189.  
  190.  
  191. tasks:
  192. ########## SERIES ##########
  193. # SYNC WITH TRAKT
  194. ##### First run only (use ~/flexget/bin/flexget execute --now) Sync Flexget database with watched status in Trakt#
  195. get-series-nextep:
  196. priority: 2
  197. manual: yes
  198. template:
  199. - disable-seen-retry
  200. - series-metainfo
  201. list_clear:
  202. what:
  203. - entry_list: trakt-series-begin
  204. next_trakt_episodes:
  205. account: "{? trakt.account ?}"
  206. list: "{? trakt.series ?}"
  207. context: watched
  208. position: next
  209. accept_all: yes
  210. list_add:
  211. - entry_list: trakt-series-begin
  212.  
  213. set-series-nextep:
  214. manual: yes
  215. priority: 3
  216. template:
  217. - disable-seen-retry
  218. - series-metainfo
  219. entry_list: trakt-series-begin
  220. accept_all: yes
  221. set:
  222. series_name: "{{tvdb_series_name|escape|replace('&#39;', '')}}"
  223. set_series_begin: yes
  224.  
  225.  
  226.  
  227. # SCAN DATABASE
  228. ##### Populates the series database with the files on the library, to avoid duplicate downloads#
  229. populate-series-db:
  230. priority: 4
  231. template:
  232. - series-metainfo
  233. seen: local
  234. filesystem:
  235. path:
  236. - "{? folder.root_D ?}{? folder.series ?}"
  237. - "{? folder.root_E ?}{? folder.series ?}"
  238. - "{? folder.root_F ?}{? folder.series ?}"
  239. - "{? folder.root_G ?}{? folder.series ?}"
  240. - "{? folder.root_H ?}{? folder.series ?}"
  241. - "{? folder.root_I ?}{? folder.series ?}"
  242. - "{? folder.root_J ?}{? folder.series ?}"
  243. - "{? folder.root_K ?}{? folder.series ?}"
  244. - "{? folder.root_L ?}{? folder.series ?}"
  245. - "{? folder.root_M ?}{? folder.series ?}"
  246. recursive: yes
  247. retrieve: files
  248. regexp: '.*\.(avi|mkv|mp4)$'
  249. accept_all: yes
  250. configure_series:
  251. from:
  252. filesystem:
  253. path:
  254. - "{? folder.root_D ?}{? folder.series ?}"
  255. - "{? folder.root_E ?}{? folder.series ?}"
  256. - "{? folder.root_F ?}{? folder.series ?}"
  257. - "{? folder.root_G ?}{? folder.series ?}"
  258. - "{? folder.root_H ?}{? folder.series ?}"
  259. - "{? folder.root_I ?}{? folder.series ?}"
  260. - "{? folder.root_J ?}{? folder.series ?}"
  261. - "{? folder.root_K ?}{? folder.series ?}"
  262. - "{? folder.root_L ?}{? folder.series ?}"
  263. - "{? folder.root_M ?}{? folder.series ?}"
  264. retrieve: dirs
  265. settings:
  266. tracking: no
  267. identified_by: ep
  268.  
  269.  
  270.  
  271. ##### Fetch, format and output trakt series list to a custom entry list#
  272. fill-series-list:
  273. priority: 5
  274. template:
  275. - disable-seen-retry
  276. - series-metainfo
  277. list_clear:
  278. what:
  279. - entry_list: trakt-series
  280. trakt_list:
  281. account: "{? trakt.account ?}"
  282. list: "{? trakt.series ?}"
  283. type: shows
  284. accept_all: yes
  285. set:
  286. title: "{{tvdb_series_name|escape|replace('&#39;', '')}}"
  287. list_add:
  288. - entry_list: trakt-series
  289.  
  290.  
  291.  
  292.  
  293. # GET SERIES
  294. ##### Download episodes from manually downloaded torrents#
  295. download-series-manual:
  296. priority: 6
  297. template:
  298. - disable-seen-retry
  299. - series-metainfo
  300. - series-guessit
  301. - place_torrent
  302. - pushbullet
  303. filesystem:
  304. path: "{? folder.root ?}{? folder.downseries ?}"
  305. mask: '*.torrent'
  306. accept_all: yes
  307. exec:
  308. on_output:
  309. for_accepted: rm -f "{{location}}"
  310.  
  311.  
  312.  
  313.  
  314. ##### Download episodes from RSS feeds#
  315. download-series-rss:
  316. priority: 7
  317. template:
  318. - series
  319. - reject
  320. - torrents
  321. - place_torrent
  322. - pushbullet
  323. inputs:
  324. - rss:
  325. url: https://zooqle.com/search?q=%2A+category%3ATV&fmt=rss
  326. title: 'torrent:fileName'
  327. - rss: https://www.torrentdownloads.me/rss2/popular/8
  328. - rss: https://eztv.ag/ezrss.xml
  329. - rss: http://showrss.info/user/98577.rss?magnets=true&namespaces=true&name=null&quality=null&re=null
  330. - rss: https://zooqle.com/rss/tv/1dgthquysc.rss
  331. - rss: https://www.torrentfunk.com/verified/rss.xml
  332. - rss: https://www.limetorrents.info/rss/16/
  333.  
  334.  
  335.  
  336.  
  337. ##### Discover and download season packs# Please uncomment `backfill` if you need Flexget to download as much as old episodes as it can find. Do the same in series-discover-seasons task and series template.
  338. download-seasons-discover:
  339. priority: 8
  340. template:
  341. - series
  342. - reject
  343. - torrents
  344. - place_torrent
  345. - pushbullet
  346. - series-metainfo
  347. #season lookup not supported by thetvdb
  348. thetvdb_lookup: no
  349. # magnets: yes
  350. # convert_magnet:
  351. # timeout: 180 seconds
  352. # force: yes
  353. discover:
  354. release_estimations: strict
  355. interval: 15 minutes
  356. what:
  357. - next_series_seasons:
  358. backfill: yes
  359. from:
  360. - piratebay:
  361. category: highres tv
  362. - limetorrents:
  363. category: tv
  364. - rarbg:
  365. category: [1, 18, 41, 49]
  366. - search_rss: https://torrentz2.eu/search?f={{search_term}}
  367.  
  368.  
  369.  
  370. ##### Discover and download older episodes# Please uncomment `tracking: backfill` if you need Flexget to download as much as old episodes as it can find. Do the same in series-discover-seasons task and series template.
  371. download-series-discover:
  372. priority: 9
  373. template:
  374. - series
  375. - reject
  376. - torrents
  377. - place_torrent
  378. - pushbullet
  379. - series-metainfo
  380. # magnets: yes
  381. # convert_magnet:
  382. # timeout: 180 seconds
  383. # force: yes
  384. discover:
  385. release_estimations: strict
  386. interval: 15 minutes
  387. what:
  388. - next_series_episodes:
  389. backfill: yes
  390. from:
  391. - piratebay:
  392. category: highres tv
  393. - limetorrents:
  394. category: tv
  395. - rarbg:
  396. category: [1, 18, 41, 49]
  397. - search_rss: https://torrentz2.eu/search?f={{search_term}}
  398.  
  399. ########## MOVIES ##########
  400.  
  401. ##### Remove manually downloaded movies from the movie queue and trakt list#
  402. purge-movies-queue:
  403. priority: 11
  404. template:
  405. - disable-seen-retry
  406. - movies-metainfo
  407. filesystem:
  408. path:
  409. - "{? folder.root_D ?}{? folder.movies ?}"
  410. - "{? folder.root_E ?}{? folder.movies ?}"
  411. - "{? folder.root_F ?}{? folder.movies ?}"
  412. - "{? folder.root_G ?}{? folder.movies ?}"
  413. - "{? folder.root_H ?}{? folder.movies ?}"
  414. - "{? folder.root_I ?}{? folder.movies ?}"
  415. - "{? folder.root_J ?}{? folder.movies ?}"
  416. - "{? folder.root_K ?}{? folder.movies ?}"
  417. - "{? folder.root_L ?}{? folder.movies ?}"
  418. - "{? folder.root_M ?}{? folder.movies ?}"
  419. recursive: yes
  420. retrieve: files
  421. regexp: '.*\.(avi|mkv|mp4)$'
  422. accept_all: yes
  423. list_remove:
  424. - movie_list: trakt-movies
  425. - trakt_list:
  426. account: "{? trakt.account ?}"
  427. list: "{? trakt.movies ?}"
  428. type: movies
  429.  
  430.  
  431. ##### Fill the movie queue with movies from trakt list#
  432. fill-movies-queue:
  433. priority: 12
  434. trakt_list:
  435. account: "{? trakt.account ?}"
  436. list: "{? trakt.movies ?}"
  437. type: movies
  438. strip_dates: yes
  439. accept_all: yes
  440. list_add:
  441. - movie_list: trakt-movies
  442.  
  443.  
  444.  
  445.  
  446. ##### Discover and download 1080p movies with good bitrate (min. 8GB)#
  447. download-movies-HQ-discover:
  448. priority: 14
  449. template:
  450. - movies-HQ
  451. - reject
  452. - torrents
  453. - place_torrent
  454. - pushbullet
  455. - movie-rss
  456. exists_movie:
  457. - "{? folder.root_D ?}{? folder.downmovies ?}"
  458. - "{? folder.root_E ?}{? folder.downmovies ?}"
  459. - "{? folder.root_F ?}{? folder.downmovies ?}"
  460. - "{? folder.root_G ?}{? folder.downmovies ?}"
  461. - "{? folder.root_H ?}{? folder.downmovies ?}"
  462. - "{? folder.root_I ?}{? folder.downmovies ?}"
  463. - "{? folder.root_J ?}{? folder.downmovies ?}"
  464. - "{? folder.root_K ?}{? folder.downmovies ?}"
  465. - "{? folder.root_L ?}{? folder.downmovies ?}"
  466. - "{? folder.root_M ?}{? folder.downmovies ?}"
  467. - "{? folder.root_D ?}{? folder.movies ?}"
  468. - "{? folder.root_E ?}{? folder.movies ?}"
  469. - "{? folder.root_F ?}{? folder.movies ?}"
  470. - "{? folder.root_G ?}{? folder.movies ?}"
  471. - "{? folder.root_H ?}{? folder.movies ?}"
  472. - "{? folder.root_I ?}{? folder.movies ?}"
  473. - "{? folder.root_J ?}{? folder.movies ?}"
  474. - "{? folder.root_K ?}{? folder.movies ?}"
  475. - "{? folder.root_L ?}{? folder.movies ?}"
  476. - "{? folder.root_M ?}{? folder.movies ?}"
  477. # magnets: yes
  478. # convert_magnet:
  479. # timeout: 180 seconds
  480. # force: yes
  481. seen: local
  482. discover:
  483. release_estimations: loose
  484. interval: 15 minutes
  485. what:
  486. - movie_list: trakt-movies
  487. from:
  488. - piratebay:
  489. category: highres movies
  490. - limetorrents:
  491. category: movies
  492. - rarbg:
  493. category: [17, 44, 45]
  494. - 1337x: yes
  495. - torrentz: good
  496. list_match:
  497. from:
  498. - movie_list: trakt-movies
  499. list_remove:
  500. - trakt_list:
  501. account: "{? trakt.account ?}"
  502. list: "{? trakt.movies ?}"
  503. type: movies
  504.  
  505.  
  506. ##### Discover and download NQ movies (fullHD min 2GB), if the movie is not recent#
  507. download-movies-NQ-discover:
  508. priority: 15
  509. template:
  510. - movies-NQ
  511. - reject
  512. - torrents
  513. - place_torrent
  514. - pushbullet
  515. - movie-rss
  516. exists_movie:
  517. - "{? folder.root_D ?}{? folder.downmovies ?}"
  518. - "{? folder.root_E ?}{? folder.downmovies ?}"
  519. - "{? folder.root_F ?}{? folder.downmovies ?}"
  520. - "{? folder.root_G ?}{? folder.downmovies ?}"
  521. - "{? folder.root_H ?}{? folder.downmovies ?}"
  522. - "{? folder.root_I ?}{? folder.downmovies ?}"
  523. - "{? folder.root_J ?}{? folder.downmovies ?}"
  524. - "{? folder.root_K ?}{? folder.downmovies ?}"
  525. - "{? folder.root_L ?}{? folder.downmovies ?}"
  526. - "{? folder.root_M ?}{? folder.downmovies ?}"
  527. - "{? folder.root_D ?}{? folder.movies ?}"
  528. - "{? folder.root_E ?}{? folder.movies ?}"
  529. - "{? folder.root_F ?}{? folder.movies ?}"
  530. - "{? folder.root_G ?}{? folder.movies ?}"
  531. - "{? folder.root_H ?}{? folder.movies ?}"
  532. - "{? folder.root_I ?}{? folder.movies ?}"
  533. - "{? folder.root_J ?}{? folder.movies ?}"
  534. - "{? folder.root_K ?}{? folder.movies ?}"
  535. - "{? folder.root_L ?}{? folder.movies ?}"
  536. - "{? folder.root_M ?}{? folder.movies ?}"
  537. # magnets: yes
  538. # convert_magnet:
  539. # timeout: 180 seconds
  540. # force: yes
  541. seen: local
  542. discover:
  543. release_estimations: loose
  544. interval: 15 minutes
  545. what:
  546. - movie_list: trakt-movies
  547. from:
  548. - piratebay:
  549. category: highres movies
  550. - limetorrents:
  551. category: movies
  552. - rarbg:
  553. category: [17, 44, 45]
  554. - 1337x: yes
  555. - torrentz: good
  556. list_match:
  557. from:
  558. - movie_list: trakt-movies
  559. list_remove:
  560. - trakt_list:
  561. account: "{? trakt.account ?}"
  562. list: "{? trakt.movies ?}"
  563. type: movies
  564.  
  565.  
  566. ##### Discover and download lower quality/bitrate movies (1-8GB 720p), if the movie is not recent#
  567. download-movies-LQ-discover:
  568. priority: 16
  569. template:
  570. - movies-LQ
  571. - reject
  572. - torrents
  573. - place_torrent
  574. - pushbullet
  575. - movie-rss
  576. exists_movie:
  577. - "{? folder.root_D ?}{? folder.downmovies ?}"
  578. - "{? folder.root_E ?}{? folder.downmovies ?}"
  579. - "{? folder.root_F ?}{? folder.downmovies ?}"
  580. - "{? folder.root_G ?}{? folder.downmovies ?}"
  581. - "{? folder.root_H ?}{? folder.downmovies ?}"
  582. - "{? folder.root_I ?}{? folder.downmovies ?}"
  583. - "{? folder.root_J ?}{? folder.downmovies ?}"
  584. - "{? folder.root_K ?}{? folder.downmovies ?}"
  585. - "{? folder.root_L ?}{? folder.downmovies ?}"
  586. - "{? folder.root_M ?}{? folder.downmovies ?}"
  587. - "{? folder.root_D ?}{? folder.movies ?}"
  588. - "{? folder.root_E ?}{? folder.movies ?}"
  589. - "{? folder.root_F ?}{? folder.movies ?}"
  590. - "{? folder.root_G ?}{? folder.movies ?}"
  591. - "{? folder.root_H ?}{? folder.movies ?}"
  592. - "{? folder.root_I ?}{? folder.movies ?}"
  593. - "{? folder.root_J ?}{? folder.movies ?}"
  594. - "{? folder.root_K ?}{? folder.movies ?}"
  595. - "{? folder.root_L ?}{? folder.movies ?}"
  596. - "{? folder.root_M ?}{? folder.movies ?}"
  597. # magnets: yes
  598. # convert_magnet:
  599. # timeout: 180 seconds
  600. # force: yes
  601. seen: local
  602. discover:
  603. release_estimations: loose
  604. interval: 15 minutes
  605. what:
  606. - movie_list: trakt-movies
  607. from:
  608. - piratebay:
  609. category: highres movies
  610. - limetorrents:
  611. category: movies
  612. - rarbg:
  613. category: [17, 44, 45]
  614. - 1337x: yes
  615. - torrentz: good
  616. list_match:
  617. from:
  618. - movie_list: trakt-movies
  619. list_remove:
  620. - trakt_list:
  621. account: "{? trakt.account ?}"
  622. list: "{? trakt.movies ?}"
  623. type: movies
  624.  
  625.  
  626.  
  627.  
  628.  
  629. ##### Remove ended or canceled series that have been watched from trakt list#
  630. clean-series-list:
  631. priority: 52
  632. template:
  633. - disable-seen-retry
  634. - series-metainfo
  635. trakt_lookup:
  636. account: "{? trakt.account ?}"
  637. username: "{? trakt.account ?}"
  638. trakt_list:
  639. account: "{? trakt.account ?}"
  640. list: "{? trakt.series ?}"
  641. type: shows
  642. if:
  643. - "tvdb_status == 'Ended' and trakt_watched": accept
  644. list_remove:
  645. - trakt_list:
  646. account: "{? trakt.account ?}"
  647. list: "{? trakt.series ?}"
  648. type: shows
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement