Advertisement
tarpha

flexget_trakt_series

Jun 27th, 2018
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.63 KB | None | 0 0
  1. schedules:
  2.   - tasks: ['populate_*_lists']
  3.     interval:
  4.       hours: 1  # weeks, days, hours, minutes
  5.   - tasks: ['get_*']
  6.     interval:
  7.       minutes: 30  # weeks, days, hours, minutes
  8.  
  9. templates:
  10.  #inputs
  11.   ipt:
  12.     inputs:
  13.       - rss: # RSS 주소1 #
  14.       - rss: # RSS 주소2 #
  15.   #transmission
  16.   tms:
  17.     transmission:
  18.       host: # IP #
  19.       username: # ID #
  20.       password: # PWD #
  21.       path: /video/TV/{{tvdb_series_name}}/
  22.   #lookups
  23.   lookup:
  24.     thetvdb_lookup:
  25.       language: ko
  26.     metainfo_series: yes
  27.   #filters
  28.   filter:
  29.     quality: 720p
  30.     regexp:
  31.       reject_excluding:
  32.        - NEXT
  33.   #manipulate
  34.   mpl:
  35.     manipulate:
  36.       - title:
  37.           replace:
  38.             regexp: 'tvN'
  39.             format: ''
  40.           replace:
  41.             regexp: 'JTBC'
  42.             format: ''
  43.   #parsing
  44.   pars:
  45.     parsing:
  46.       movie: guessit
  47.       series: guessit
  48.  
  49. tasks:
  50.   #trakt to entry_list
  51.   populate_entry_lists:
  52.     priority: 10
  53.     disable:
  54.      - seen
  55.       - seen_info_hash
  56.     list_clear:
  57.       what:
  58.         - entry_list: ko_list
  59.     trakt_list:
  60.       username: # TRAKT ID #
  61.       account: # 위에서 생성한 ACCOUNT #
  62.       list: # TRALT LIST #
  63.       type: shows
  64.       strip_dates: yes
  65.     thetvdb_lookup:
  66.       language: ko
  67.     set:
  68.       title: '{{tvdb_series_name}}'
  69.     list_add:
  70.       - entry_list: ko_list
  71.     accept_all: yes
  72.  
  73.   #entry_list to regexp_list
  74.   populate_regexp_lists:
  75.     priority: 20
  76.     disable:
  77.      - seen
  78.       - seen_info_hash
  79.     list_clear:
  80.       what:
  81.         - regexp_list: ko_list
  82.     entry_list: ko_list
  83.     manipulate:
  84.       - title:
  85.           replace:
  86.             regexp: '$'
  87.             format: '\.e\d{2,}\.\d{6,8}'
  88.       - title:
  89.           replace:
  90.             regexp: ' '
  91.             format: '.*'
  92.     list_add:
  93.       - regexp_list: ko_list
  94.     accept_all: yes
  95.  
  96.   #get_trakt
  97.   get_trakt:
  98.     priority: 30
  99.     #seen: local
  100.     content_filter:
  101.       require:
  102.        - '*.mkv'
  103.         - '*.mp4'
  104.     list_match:
  105.       from:
  106.         - regexp_list: ko_list
  107.       remove_on_match: no
  108.       single_match: no
  109.     template:
  110.      - ipt
  111.       - mpl
  112.       - pars
  113.       - lookup
  114.       - filter
  115.       - tms
  116.  
  117.   #get_series
  118.   get_series:
  119.     priority: 40
  120.     #seen: local
  121.     series:
  122.       settings:
  123.         group 1:
  124.           ep_regexp: e(\d{2,3})
  125.       group 1:
  126.         - '어바웃타임':
  127.             set:
  128.               tvdb_id: 342909
  129.         - '짠내투어':
  130.             set:
  131.               tvdb_id: 338697
  132.     template:
  133.      - ipt
  134.       - mpl
  135.       - pars
  136.       - lookup
  137.       - filter
  138.       - tms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement