Guest User

Entire Config File

a guest
May 12th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 13.50 KB | None | 0 0
  1. variables: variables.yml
  2. web_server: yes
  3.   # Run every task once an hour plus or minus 60 seconds
  4. schedules:
  5.   - tasks: '*download*'
  6.     interval:
  7.       minutes: 30
  8.       jitter: 120
  9.   - tasks: 'Add*'
  10.     interval:
  11.       hours: 6
  12.       jitter: 120
  13. #########################################################TEMPLATES
  14. templates:
  15. ################################GLOBAL############################
  16.   global:
  17.     retry_failed: yes
  18.     retry_time: 15 minutes
  19.     retry_time_multiplier: 2
  20.     max_retries: 9
  21.     pathscrub: windows
  22.     content_filter:
  23.       reject:
  24.        - '*.rar'
  25.         - '*.zip'
  26.         - '*.wmv'
  27.         - 'password'
  28.       require:
  29.        - '*.avi'
  30.         - '*.mkv'
  31.         - '*.mp4'
  32.     regexp:
  33.       reject:
  34.         - ts: {from: title}
  35.         - hindi: {from: title}
  36.         - \bspanish\b: {from: title}
  37.         - dutch: {from: title}
  38.         - swedish: {from: title}
  39.         - s\d+e\d+: {from: title}
  40.         - '\d{4}.\d{2}.\d{2}': {from: title}
  41.         - \d+x\d+: {from: title}
  42.         - \bR5\b: {from: title}
  43.         - \bWEBSCR\b: {from: title}      
  44.         - \bscreener\b: {from: title}
  45.         - \bTS\b: {from: title}
  46.         - \bCam\b: {from: title}
  47.         - \bITA\b: {from: title}  
  48.         - \bGERMAN\b: {from: title}
  49.         - \bFRENCH\b: {from: title}
  50.         - \bRUS\b: {from: title}
  51.         - \bHC\b: {from: title}      
  52.         - \bREMUX\b: {from: title}  
  53.         - \bBDRiP\b: {from: title}  
  54.         - (s|d)ub(s|bed)?\b: {from: title}
  55.         - \b(duo|tri|quadri|tetra|penta)logy\b: {from: title}
  56.         - \b3-?D\b: {from: title}
  57.         - \btrailer\b: {from: title}
  58.         - '{C_P}': {from: title}
  59.         - TrTd TeaM: {from: title}
  60.         - \[TNTVillage\]: {from: title}
  61.         - \[facepalm\]: {from: title}
  62.         - \bASAP\b: {from: title}
  63.         - \[MULTi\]: {from: title}
  64.         - \[xAll\]: {from: title}
  65.         - \[HDRip\]: {from: title}
  66.         - \[3D\]: {from: title}
  67.         - \bSWESUB\b: {from: title}
  68.         - \btrailer\b: {from: title}
  69.         - \bKorSub\b: {from: title}
  70.     domain_delay:
  71.       showrss.info: 10 seconds
  72.       torrentz2.eu: 5 seconds
  73.       thepiratebay.se: 10 seconds
  74.       eztv.io: 10 seconds
  75.       rarbg.to: 10 seconds
  76.       ettv.tv: 10 seconds
  77. ################################GLOBAL############################
  78. #
  79. #####
  80. #####
  81. templates:
  82. #####
  83. ##
  84.   mymovies:
  85.     imdb_lookup: yes
  86.     require_field: imdb_id
  87.     seen_movies: strict
  88.     exists_movie:
  89.       - ~/media/Movies
  90.     proper_movies: yes
  91.     quality: 720p+
  92.     content_size:
  93.       max: 3000
  94.       min: 800
  95.     deluge:
  96.       host: '{? daemon.host ?}'
  97.       port: '{? daemon.port ?}'
  98.       username: '{? daemon.usr ?}'
  99.       password: '{? daemon.pwd ?}'
  100.       main_file_only: yes
  101.       hide_sparse_files: yes
  102.       magnetization_timeout: 30
  103.       label: Movies/{{imdb_genres}}
  104.         container_directory "{{ imdb_name|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
  105.         content_filename "{{ imdb_name|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
  106. #####
  107. #####
  108.   tv:
  109.     thetvdb_lookup: yes
  110.     set:
  111.       content_filename: "{{ series_name }}_{{ series_id }}_{% if tvdb_ep_name|default(False) %}_{{ tvdb_ep_name }} {% endif %}_{{ quality|upper }}_{% if proper_count %}_proper{% if proper_count > 1 %}{{ proper_count }}{% endif %}{% endif %}"
  112.       container_directory: "{{ series_name }}"
  113.     all_series:
  114.       quality: "<=576p"
  115. #####
  116. #####
  117. #####
  118. #########################################################TEMPLATES END
  119. #####
  120. #####
  121. ################################ TASKS ####################
  122. #####
  123. #####
  124. ################# TV TASKS ####################
  125. ##
  126. tasks:
  127.   download-TVscripted:
  128.     template: tv
  129.     priority: 3
  130.    # interval: 30 minutes
  131.     deluge:
  132.       host: '{? daemon.host ?}'
  133.       port: '{? daemon.port ?}'
  134.       username: '{? daemon.usr ?}'
  135.       password: '{? daemon.pwd ?}'
  136.       main_file_only: yes
  137.       hide_sparse_files: yes
  138.       label: "-Scripted-"
  139.       magnetization_timeout: 30
  140.     accept_all: no
  141.     configure_series:
  142.       settings:
  143.         identified_by: ep
  144.         quality: "<=576p"
  145.       from:
  146.         trakt_list:
  147.           username: '{? trakt.usr?}'
  148.           account: '{? trakt.acct ?}'
  149.           list: TVscripted
  150.           type: shows
  151.     rss: https://eztv.io/ezrss.xml
  152.     rss: https://ettv.tv/rss.php?cat=5
  153.     rss: https://rarbg.to/rssdd_magnet.php?categories=18;41
  154.     archive:
  155.      - scripted
  156.       - trakt
  157.       - tv
  158.       - torrent
  159. #
  160. tasks:
  161.   download-TVreal:
  162.     template: tv
  163.     priority: 40
  164.    # interval: 30 minutes
  165.     deluge:
  166.       host: '{? daemon.host ?}'
  167.       port: '{? daemon.port ?}'
  168.       username: '{? daemon.usr ?}'
  169.       password: '{? daemon.pwd ?}'
  170.       main_file_only: yes
  171.       hide_sparse_files: yes
  172.       label: Real
  173.       magnetization_timeout: 30
  174.     accept_all: no
  175.     configure_series:
  176.       settings:
  177.         quality: "<=576p"
  178.         identified_by: ep
  179.       from:
  180.         trakt_list:
  181.           username: '{? trakt.usr?}'
  182.           account: '{? trakt.acct ?}'
  183.           list: TVreal
  184.           type: shows
  185.     rss: https://eztv.io/ezrss.xml
  186.     rss: https://ettv.tv/rss.php?cat=5
  187.     rss: https://rarbg.to/rssdd_magnet.php?categories=18
  188.     archive:
  189.      - real
  190.       - trakt
  191.       - tv
  192.       - torrent
  193. #
  194. tasks:
  195.   download-TVdamien:
  196.     template: tv
  197.     priority: 40
  198.    # interval: 30 minutes
  199.     deluge:
  200.       host: '{? daemon.host ?}'
  201.       port: '{? daemon.port ?}'
  202.       username: '{? daemon.usr ?}'
  203.       password: '{? daemon.pwd ?}'
  204.       main_file_only: yes
  205.       hide_sparse_files: yes
  206.       label: Damien
  207.       magnetization_timeout: 30
  208.     accept_all: no
  209.     configure_series:
  210.       settings:
  211.         quality: "<=576p"
  212.         identified_by: ep
  213.       from:
  214.         trakt_list:
  215.           username: '{? trakt.usr?}'
  216.           account: '{? trakt.acct ?}'
  217.           list: TVdamien
  218.           type: shows
  219.     rss: https://eztv.io/ezrss.xml
  220.     rss: https://ettv.tv/rss.php?cat=5
  221.     rss: https://rarbg.to/rssdd_magnet.php?categories=18
  222.     archive:
  223.      - damien
  224.       - trakt
  225.       - tv
  226.       - torrent
  227. #
  228. tasks:
  229.   download-TVdamien-Animated:
  230.     template: tv
  231.     priority: 43
  232.    # interval: 30 minutes
  233.     deluge:
  234.       host: '{? daemon.host ?}'
  235.       port: '{? daemon.port ?}'
  236.       username: '{? daemon.usr ?}'
  237.       password: '{? daemon.pwd ?}'
  238.       main_file_only: yes
  239.       hide_sparse_files: yes
  240.       label: Damien_Animated
  241.       magnetization_timeout: 30
  242.     accept_all: no
  243.     configure_series:
  244.       settings:
  245.         quality: "<=576p"
  246.         identified_by: ep
  247.       from:
  248.         trakt_list:
  249.           username: '{? trakt.usr?}'
  250.           account: '{? trakt.acct ?}'
  251.           list: TVdamien_Animated
  252.           type: shows
  253.     rss: https://eztv.io/ezrss.xml
  254.     rss: https://ettv.tv/rss.php?cat=5
  255.     rss: https://rarbg.to/rssdd_magnet.php?categories=18
  256.     archive:
  257.      - damien
  258.       - trakt
  259.       - tv
  260.       - torrent
  261. #
  262. tasks:
  263.   download-TVmaybe:
  264.     template: tv
  265.     priority: 45
  266.    # interval: 30 minutes
  267.     deluge:
  268.       host: '{? daemon.host ?}'
  269.       port: '{? daemon.port ?}'
  270.       username: '{? daemon.usr ?}'
  271.       password: '{? daemon.pwd ?}'
  272.       main_file_only: yes
  273.       hide_sparse_files: yes
  274.       label: Maybe
  275.       magnetization_timeout: 30
  276.    # template:
  277.        # - tv
  278.       #  - deluge_local
  279.     accept_all: no
  280.     configure_series:
  281.       settings:
  282.         quality: "<=576p"
  283.         identified_by: ep
  284.       from:
  285.         trakt_list:
  286.           username: '{? trakt.usr?}'
  287.           account: '{? trakt.acct ?}'
  288.           list: TVmaybe
  289.           type: shows
  290.     rss: https://eztv.io/ezrss.xml
  291.     rss: https://ettv.tv/rss.php?cat=5
  292.     rss: https://rarbg.to/rssdd_magnet.php?categories=18
  293.     archive:
  294.      - maybe
  295.       - trakt
  296.       - tv
  297.       - torrent
  298. #
  299. tasks:
  300.   download-TVboring:
  301.     template: tv
  302.     priority: 50
  303.    # interval: 30 minutes
  304.     deluge:
  305.       host: '{? daemon.host ?}'
  306.       port: '{? daemon.port ?}'
  307.       username: '{? daemon.usr ?}'
  308.       password: '{? daemon.pwd ?}'
  309.       main_file_only: yes
  310.       hide_sparse_files: yes
  311.       label: Boring
  312.       magnetization_timeout: 30
  313.     accept_all: no
  314.     configure_series:
  315.       settings:
  316.         quality: "<=576p"
  317.         identified_by: ep
  318.         propers: yes
  319.       from:
  320.         trakt_list:
  321.           username: '{? trakt.usr?}'
  322.           account: '{? trakt.acct ?}'
  323.           list: TVboring
  324.           type: shows
  325.     rss: https://eztv.io/ezrss.xml
  326.     rss: https://ettv.tv/rss.php?cat=5
  327.     rss: https://rarbg.to/rssdd_magnet.php?categories=18
  328.     archive:
  329.      - boring
  330.       - trakt
  331.       - tv
  332.       - torrent
  333. #
  334. tasks:
  335.   download-ShowRSS-boring:
  336.     template: tv
  337.     priority: 60
  338.    # interval: 30 minutes
  339.     deluge:
  340.       host: '{? daemon.host ?}'
  341.       port: '{? daemon.port ?}'
  342.       username: '{? daemon.usr ?}'
  343.       password: '{? daemon.pwd ?}'
  344.       main_file_only: yes
  345.       hide_sparse_files: yes
  346.       label: Boring
  347.       magnetization_timeout: 30
  348.     accept_all: yes
  349.     rss: '{? myrss.boring ?}'
  350.     archive:
  351.      - boring
  352.       - showrss
  353.       - tv
  354.       - torrent
  355. #
  356. tasks:
  357.   download-ShowRSS-real:
  358.     template: tv
  359.     priority: 55
  360.    # interval: 30 minutes
  361.     deluge:
  362.       host: '{? daemon.host ?}'
  363.       port: '{? daemon.port ?}'
  364.       username: '{? daemon.usr ?}'
  365.       password: '{? daemon.pwd ?}'
  366.       main_file_only: yes
  367.       hide_sparse_files: yes
  368.       label: Real
  369.       magnetization_timeout: 30
  370.     accept_all: yes
  371.     rss: '{? myrss.real ?}'
  372.     archive:
  373.      - real
  374.       - showrss
  375.       - tv
  376.       - torrent
  377. #
  378. tasks:
  379.   download-ShowRSS-mylist:
  380.     template: tv
  381.     priority: 5
  382.     deluge:
  383.       host: '{? daemon.host ?}'
  384.       port: '{? daemon.port ?}'
  385.       username: '{? daemon.usr ?}'
  386.       password: '{? daemon.pwd ?}'
  387.       main_file_only: yes
  388.       hide_sparse_files: yes
  389.       label: "-Scripted-"
  390.       magnetization_timeout: 30
  391.     accept_all: yes
  392.     rss: '{? myrss.mylist ?}'
  393.     archive:
  394.      - scripted
  395.       - showrss
  396.       - tv
  397.       - torrent
  398. #####
  399. #####
  400. ################## MOVIE TASKS ####################
  401. ##
  402. #task to pull movies from trakt.tv watchlist and add to the movie list
  403. tasks:
  404.   AddtraktMovies:
  405.     priority: 1
  406.     list_add:
  407.       - movie_list: movies
  408.         #strip_year: yes
  409.     trakt_list:
  410.       account: '{? trakt.acct ?}'
  411.       username: '{? trakt.usr ?}'
  412.       list: watchlist
  413.       type: movies
  414.     accept_all: yes
  415.     seen: local
  416. ####
  417. ####
  418. #task that automatically downloads movies from the movie_list
  419. tasks:
  420.   Add-mymovies:
  421.     template: mymovies
  422.     priority: 9 # run after the movie queue fill task
  423.     discover:
  424.       what:
  425.         - movie_list: movies
  426.       from:
  427.        #- search_rss:
  428.             #url: http://piratebay.tech/search.php?q={{search_term}}&cat=207
  429.         - rarbg:
  430.             category: 54
  431.         # rss: https://rarbg.to/rssdd_magnet.php?categories=17;54
  432.         # rss: http://www.torlock.com/television/rss.xml
  433.         # rss: https://www.limetorrents.info/rss/
  434.         # rss: https://torrentgalaxy.to/rss
  435.     torrent_alive: 10 # Will reject results with less than 10 seeds
  436.     imdb_lookup: yes  # can also use imdb_lookup or tmdb_lookup
  437.     quality: dvdrip+ !2160p !360p !480p !xvid # Make sure decent quality
  438.     seen_movies: strict
  439.     list_match:
  440.       from:
  441.         - movie_list: movies
  442.     # deluge:
  443.       # host: '{? delugeremote.host ?}'
  444.       # port: '{? delugeremote.port ?}'
  445.       # username: '{? daemon.usr ?}'
  446.       # password: '{? daemon.pwd ?}'
  447.       # main_file_only: yes
  448.       # hide_sparse_files: yes
  449.       # magnetization_timeout: 30
  450.       # label: Movies/{{imdb_genres}}
  451.         # container_directory "{{ imdb_name|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
  452.         # content_filename "{{ imdb_name|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
  453.     digest: recentlyAccepted
  454. #
  455. tasks:
  456.   spitItOut:
  457.     from_digest:
  458.       list: recentlyAccepted
  459.     accept_all: yes
  460.     seen: no
  461.     make_html:
  462.      file: ~/flexgetDigest.html
  463. #######################################################################################
  464. ####
  465. ####
  466. ################################### Manual tasks ######################################
  467. ####
  468. ####
  469. tasks:
  470.   AddTV-Torrents:
  471.     template: tv
  472.     priority: 75
  473.     # It picks up .torrent file from the folder and flexget processes
  474.     # the torrent, and then gives it to deluge
  475.     # so the files are processed by the TV template. Only TV torrents go here.
  476.     # torrents that flexget didn't catch, or new serie i found and have already some ep out.
  477.     filesystem: ~/torrents/AddTV-Torrents
  478.     accept_all: yes
  479.     deluge:
  480.       host: '{? daemon.host ?}'
  481.       port: '{? daemon.port ?}'
  482.       username: '{? daemon.usr ?}'
  483.       password: '{? daemon.pwd ?}'
  484.       main_file_only: yes
  485.       hide_sparse_files: yes
  486.       label: "-Scripted-"
  487.       magnetization_timeout: 30
  488. ###
  489. tasks:
  490.   AddMovie-Torrents:
  491.     template: mymovies
  492.     priority: 80
  493.     # It picks up .torrent file from the folder and flexget processes
  494.     # the torrent, and then gives it to deluge
  495.     # so the files are processed by the TV template. Only TV torrents go here.
  496.     # torrents that flexget didn't catch, or new serie i found and have already some ep out.
  497.     filesystem: ~/torrents/AddMovieTorrents
  498.     accept_all: yes
  499. #####
  500. #####
  501. ####
  502. ####
  503. #########################CLEANUP TASKS ###############################################
  504. ####
  505. ####
Add Comment
Please, Sign In to add comment