Advertisement
Guest User

Untitled

a guest
May 11th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.70 KB | None | 0 0
  1. #------ private information
  2. variables: secrets.yml
  3.  
  4. ######################   TEMPLATES   #########################################################
  5. templates:
  6. #------ global templates
  7.   global:
  8.     verify_ssl_certificates: no
  9.     headers:
  10.       User-Agent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36"
  11.  
  12.     domain_delay:
  13.       rarbg.com: 5 seconds
  14.     retry_failed:
  15.       retry_time: 10 seconds
  16.       retry_time_multiplier: 1
  17.       max_retries: 4
  18.     content_filter:
  19.       require_mainfile: yes
  20.       require:
  21.        - '*.mkv'
  22.         - '*.mp4'
  23.       reject:
  24.        - '*.avi'
  25.         - '*.rar'
  26.  
  27.   ripup1:
  28.     reorder_quality:
  29.       webrip:
  30.         above: webdl
  31.     if:
  32.       - '"webrip" == quality.source and not ("AMZN" in title or "Amazon" in title or "NF" in title)': reject
  33.      
  34.   ripup2:
  35.     reorder_quality:
  36.       webrip:
  37.         above: hdtv
  38.     if:
  39.       - "'webdl' in quality":
  40.           regexp:
  41.             reject_excluding:
  42.            - RARBG
  43.  
  44.   deluge_global:
  45.     deluge:
  46.       username: '{? del.usr ?}'
  47.       password: '{? del.pwd ?}'
  48.       main_file_only: yes
  49.       magnetization_timeout: 30
  50.       keep_subs: yes
  51.       ratio: 0.1
  52. #      removeatratio: true
  53.       path: E:/Users/Admin/AppData/Roaming/Deluge/Incomplete
  54.  
  55.   pushbullet_tv:
  56.     notify:
  57.       entries:
  58.         message: "{{task}}- {{series_name}} {{series_id}} {{tvdb_ep_name}}"
  59.         via:
  60.           - pushbullet:
  61.               api_key: '{? pb.api ?}'
  62.  
  63.   pushbullet_mov1:
  64.     notify:
  65.       entries:
  66.         message: "{{task}}- {{imdb_name}} ({{imdb_year}}) {{(imdb_score)}}-Stars"
  67.         via:
  68.           - pushbullet:
  69.               api_key: '{? pb.api ?}'
  70.  
  71.   pushbullet_mov2:
  72.     notify:
  73.       entries:
  74.         message: "{{task}}- {{movie_name}} ({{movie_year}})"
  75.         via:
  76.           - pushbullet:
  77.               api_key: '{? pb.api ?}'
  78.  
  79. #------ tv 1 template
  80.   tv:
  81.     thetvdb_lookup: yes
  82.     deluge:
  83.       movedone: E:/Users/Admin/AppData/Roaming/Deluge/Done/
  84.       label: tv1
  85.     inputs:
  86.       - rss: '{? rss.tv.fhd ?}'
  87.     regexp:
  88.       reject:
  89.        - heat
  90.         - tbs
  91.     series:
  92.       settings:
  93.         WEBDL_1080:
  94.           upgrade: yes
  95.           timeframe: 24 hours
  96.           target: 1080p webdl h264
  97.           quality: 720p+ hdtv+ h264
  98.         HDTV_1080_UPGRADE:
  99.           upgrade: yes
  100.           timeframe: 12 hours
  101.           target: 1080p hdtv-webrip h264
  102.           quality: 720p hdtv h264
  103.         WEBRIP_1080:
  104.           upgrade: yes
  105.           timeframe: 12 hours
  106.           target: 1080p webrip
  107.           quality: 720p+ hdtv+ h264
  108.         HDTV_720_UPGRADE:
  109.           upgrade: yes
  110.           qualities:
  111.            - 1080p webdl h264
  112.             - 720p hdtv h264
  113.         HDTV_720:
  114.           timeframe: 12 hours
  115.           quality: 720p hdtv h264
  116.  
  117.       WEBDL_1080:
  118.        - Banshee
  119.         - The Girlfriend Experience
  120.         - Vikings
  121.         - Fear The Walking Dead
  122.         - Better Call Saul
  123.         - Halt and Catch Fire
  124.         - The Americans
  125.         - Mr Robot
  126.         - Legion
  127.         - The Sinner 2017
  128.         - Homeland
  129.         - Fargo
  130.         - American Crime Story
  131.         - Outlander
  132.         - The Knick
  133.         - Into the Badlands
  134.       HDTV_1080_UPGRADE:
  135.        - 12 Monkeys
  136.         - Game of Thrones
  137.         - Good Behavior
  138.         - The Affair
  139.         - Vinyl
  140.         - The Night Of
  141.         - American Gods
  142.         - Taboo
  143.         - Preacher
  144.         - The Last Ship
  145.         - Westworld
  146.         - Black Sails
  147.         - The Walking Dead
  148.         - Jack Ryan
  149.         - Ray Donovan
  150.         - Genius
  151.       WEBRIP_1080:
  152.         - House of Cards:
  153.             tracking: no
  154.         - The Ranch:
  155.             tracking: no
  156.         - Hot Girls Wanted Turned On:
  157.             tracking: no
  158.         - American Playboy The Hugh Hefner Story:
  159.             tracking: no
  160.         - Billions
  161.         - Silicon Valley
  162.       HDTV_720_UPGRADE:
  163.        - Ballers 2015
  164.         - Poldark
  165.         - Flesh and Bone
  166.         - Submission
  167.         - The Jim Gaffigan Show
  168.         - The Last Man On Earth
  169.         - New Girl
  170.         - Unreal
  171.         - Schitts Creek
  172.         - The Good Fight
  173.         - Brockmire
  174.         - Blindspot
  175.         - Catastrophe:
  176.             alternate_name: Catastrophe 2015
  177.       HDTV_720:
  178.        - Togetherness
  179.         - Peep Show
  180.         - The Big Bang Theory
  181.         - Berlin Station
  182.         - Archer:
  183.             alternate_name: Acher 2009
  184.         - Sick Note
  185.         - Last Man Standing
  186.         - Brooklyn Nine-Nine
  187.         - Broad City
  188.         - Inside Amy Schumer
  189.         - Mom
  190.         - Jimmy Fallon:
  191.             set:
  192.               tvdb_id: 270261
  193.               content_filename: "{{ tvdb_series_name|replace(' ', '.') }}.{{ tvdb_ep_id }} - {{ tvdb_ep_name|default('Unknown') }}"
  194.  
  195. #------ tv 2 (family) template
  196.   tv_family:
  197.     thetvdb_lookup: yes
  198.     deluge:
  199.       movedone: E:/Users/Admin/AppData/Roaming/Deluge/Done/++TV FAMILY++/
  200.       label: tv2
  201.     inputs:
  202.       - rss: '{? rss.tv.sd ?}'
  203.     series:
  204.       settings:
  205.         grouptv2:
  206.           upgrade: yes
  207.           quality: hdtv-webdl h264
  208.           set:
  209.             content_filename: "{{ tvdb_series_name|replace(' ', '.')|replace('(', '')|replace(')', '') }}.{{ tvdb_ep_id }}.{{ quality.source|upper|replace('WEBDL', 'WEB-DL') }} - {{ tvdb_ep_name|default('Unknown') }}"
  210.       grouptv2:
  211.        - Poldark
  212.         - Blindspot
  213.         - The Walking Dead
  214.         - Outlander
  215.         - Jack Ryan
  216.         - Halt and Catch Fire
  217.         - American Crime Story
  218.         - Mr Robot
  219.         - The Sinner 2017
  220.         - Homeland
  221.         - The Good Fight
  222.         # - The Durrells
  223.         - Tyrant
  224.         - The Blacklist
  225.         - The Blacklist Redemption
  226.         - Frontier 2016
  227.         - The Catch
  228.         - Shades of Blue
  229.         - Mercy Street
  230.         - Zoo
  231.         - Victoria
  232.         - The Crown
  233.         - The Halcyon
  234.         - Schitts Creek
  235.         - Six
  236.         - Designated Survivor
  237.         - Underground
  238.         - Anne
  239.         - The Son
  240.         - MasterChef Australia:
  241.             set:
  242.               content_filename: "{{ tvdb_series_name|replace(' ', '.') }}.{{ tvdb_ep_id }} - {{ tvdb_ep_name|default('Unknown') }}"
  243.         - Doctor Who 2005
  244.         - Genius
  245.         - Marvels Agents of S.H.I.E.L.D:
  246.             from_group: rarbg
  247.             set:
  248.               content_filename: "{{ tvdb_series_name|replace(' ', '.') }}{{ tvdb_ep_id }}.{{ quality.source|upper|replace('WEBDL', 'WEB-DL') }}.x264 - {{ tvdb_ep_name|default('Unknown') }}"
  249.  
  250. #------ tv 3 (amy) template
  251.   tv_amy:
  252.     thetvdb_lookup: yes
  253.     deluge:
  254.       movedone: E:/Users/Admin/AppData/Roaming/Deluge/Done/++TV AMY++/
  255.       label: tv3
  256.     inputs:
  257.       - rss: '{? rss.tv.sd ?}'
  258.     series:
  259.       settings:
  260.         grouptv3:
  261.           quality: hdtv-webdl h264
  262.           set:
  263.             content_filename: "{{ tvdb_series_name|replace(' ', '.')|replace('(', '')|replace(')', '') }}.{{ tvdb_ep_id }} - {{ tvdb_ep_name|default('Unknown') }}"
  264.       grouptv3:
  265.        - Brooklyn Nine-Nine
  266.         - The Walking Dead
  267.         - Mr Robot
  268.         - The Big Bang Theory
  269.         - Mom
  270.         - The Jim Gaffigan Show
  271.         - New Girl
  272.         - The Ellen DeGeneres Show
  273.         - Archer:
  274.             alternate_name: Acher 2009
  275.         - 2 Broke Girls
  276.         - Greys Anatomy
  277.         - Survivor
  278.         - Young and Hungry
  279.         - Last Man Standing
  280.         - Jimmy Fallon:
  281.             set:
  282.               tvdb_id: 270261
  283.               content_filename: "{{ tvdb_series_name|replace(' ', '.') }}.{{ tvdb_ep_id }} - {{ tvdb_ep_name|default('Unknown') }}"
  284.  
  285. #------ tv 4 (demo) template
  286.   tv_demo:
  287.     thetvdb_lookup: yes
  288.     deluge:
  289.       movedone: E:/Users/Admin/AppData/Roaming/Deluge/Done/++DEMO++/
  290.       label: tv4
  291.     inputs:
  292.       - rss: '{? rss.tv.test ?}'
  293.     series:
  294.       settings:
  295.         grouptv4:
  296.           upgrade: yes
  297.           quality: hdtv-webdl h264
  298.           set:
  299.             content_filename: "{{ tvdb_series_name|replace(' ', '.')|replace('(', '')|replace(')', '') }}.{{ tvdb_ep_id }}.{{ quality.resolution|lower|replace('unknown', '') }}.{{ quality.source|upper|replace('WEBDL', 'WEB-DL') }} - {{ tvdb_ep_name|default('Unknown') }}"
  300.       grouptv4:
  301.        - Some Fake Show For Testing
  302.         - A Totally Fake Show
  303.  
  304. ######################   TASKS   #############################################################
  305.  
  306. #------ populate movie lists
  307.  
  308. tasks:
  309.   mov1 populate:
  310.     priority: 1
  311.     interval: 2 hours
  312.     imdb_watchlist:
  313.       user_id: ur43298071
  314.       list: watchlist
  315.     accept_all: yes
  316.     seen: local
  317.     list_add:
  318.       - movie_list: imdb_wl
  319.  
  320.   mov2 populate:
  321.     priority: 2
  322.     interval: 2 hours
  323.     imdb_watchlist:
  324.       user_id: ur43298071
  325.       list: ls069174309
  326.     accept_all: yes
  327.     seen: local
  328.     list_add:
  329.       - movie_list: imdb_wl2
  330.  
  331.  
  332. #------ rss match movie lists
  333.  
  334.   mov1:
  335.     priority: 3
  336.     template:
  337.      - deluge_global
  338.       - pushbullet_mov1
  339.     quality: 1080p bluray h264 !dts
  340.     rss: '{? rss.movies.fhd ?}'
  341.     imdb_lookup: yes
  342.     list_match:
  343.       from:
  344.         - movie_list: imdb_wl
  345.     deluge:
  346.       movedone: E:/Users/Admin/AppData/Roaming/Deluge/Done
  347.       label: mov1
  348.     content_size:
  349.       max: 13000
  350.       min: 5000
  351.  
  352.   mov2:
  353.     priority: 4
  354.     template:
  355.      - deluge_global
  356.       - pushbullet_mov1
  357.     quality: webdl|bluray h264
  358.     rss: '{? rss.movies.sd ?}'
  359.     imdb_lookup: yes
  360.     list_match:
  361.       from:
  362.         - movie_list: imdb_wl2
  363.     deluge:
  364.       movedone: E:/Users/Admin/AppData/Roaming/Deluge/Done/++MOVIES FAMILY++
  365.       label: mov2
  366.       content_filename: "{{imdb_name|replace(' ', '.')}}.{{imdb_year|replace('(', '')|replace(')', '')}}"
  367.     content_size:
  368.       max: 2500
  369.       min: 200
  370.  
  371.   mov3:
  372.     priority: 5
  373.     accept_all: yes
  374.     metainfo_movie: yes
  375.     template:
  376.      - deluge_global
  377.       - pushbullet_mov2
  378.     quality: h264
  379.     rss: '{? rss.movies.esh ?}'
  380.     deluge:
  381.       movedone: E:/Users/Admin/AppData/Roaming/Deluge/Done/++MOVIES MEL++
  382.       label: mov4
  383.       content_filename: "{{movie_name|replace(' ', '.')}}.{{movie_year}}"
  384.  
  385.   mov4:
  386.     priority: 6
  387.     template:
  388.      - deluge_global
  389.       - pushbullet_mov1
  390.     quality: webdl|bluray h264
  391.     rss: '{? rss.movies.sd ?}'
  392.     imdb_lookup: yes
  393.     imdb:
  394.       min_score: 6.7
  395.       # min_votes: 5000
  396.       min_year: 2015
  397.       reject_genres:
  398.        - horror
  399.         - documentary
  400.       accept_languages:
  401.        - english
  402.       reject_mpaa_ratings:
  403.        - R
  404.         - X
  405.     deluge:
  406.       movedone: E:/Users/Admin/AppData/Roaming/Deluge/Done/++MOVIES FAMILY++
  407.       label: mov4
  408.       content_filename: "{{imdb_name|replace(' ', '.')}}.{{imdb_year|replace(' ', '.')}}"
  409.     content_size:
  410.       max: 2500
  411.       min: 200
  412.  
  413.  
  414. #------ populate tv lists
  415.  
  416.   tv1:
  417.     priority: 7
  418.     seen:
  419.       local: yes
  420.       fields: [title, url]
  421.     template:
  422.      - deluge_global
  423.       - ripup1
  424.       - pushbullet_tv
  425.       - tv
  426.  
  427.   tv2:
  428.     priority: 8
  429.     seen:
  430.       local: yes
  431.       fields: [title, url]
  432.     template:
  433.      - deluge_global
  434.       - ripup2
  435.       - pushbullet_tv
  436.       - tv_family
  437.  
  438.   tv3:
  439.     priority: 9
  440.     seen:
  441.       local: yes
  442.       fields: [title, url]
  443.     template:
  444.      - deluge_global
  445.       - ripup2
  446.       - pushbullet_tv
  447.       - tv_amy
  448.  
  449.   # tv4:
  450.     # priority: 11
  451.     # seen: local
  452.     # template:
  453.       # - deluge_global
  454.       # - ripup2
  455.       # - pushbullet_tv
  456.       # - tv_demo
  457.  
  458.   # test:
  459.     # mock:
  460.     # - title: Training.Day.S01E10.WEB-DL.x264-FUM[ettv]
  461.     # accept_all: yes
  462.     # exec: "echo {{ quality.source|upper|replace('WEBDL', 'WEB-DL') }}"
  463.     # disable: seen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement