SHARE
TWEET

flexget_config_2

nuwonda Mar 21st, 2019 (edited) 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. web_server: yes
  2. schedules:
  3.   - tasks: rss-feed
  4.     schedule:
  5.       hour: 1-18/1
  6.   - tasks: move-files
  7.     schedule:
  8.       hour: 2-20/1
  9.   - tasks: remove-torrents
  10.     schedule:
  11.       hour: 00
  12. templates:
  13.   transmissionrpc:
  14.     transmission:
  15.       username: username
  16.       password: password
  17.       main_file_only: yes
  18.       skip_files:
  19.        - '*.nfo'
  20.         - '*.sfv'
  21.         - '*[sS]ample*'
  22.         - '*.txt'
  23. tasks:
  24. #
  25. # rss feed
  26. #
  27.   rss-feed:
  28.     priority: 1
  29.     rss: http://rssfeed.goes.here.com
  30.     all_series: yes
  31.     configure_series:
  32.       settings:
  33.         propers: 48 hours
  34.       from:
  35.         filesystem:
  36.          - /media/disk1/Series          
  37.     exists_series:
  38.      - /media/disk1/Series/{{ series_name }}
  39.     set:
  40.       path: /var/lib/transmission-daemon/downloads/
  41.     template:
  42.        - transmissionrpc
  43. #
  44. # renaming/moving files
  45. #
  46.   move-files:
  47.     no_entries_ok: yes    
  48.     filesystem:
  49.       path: "/var/lib/transmission-daemon/downloads/"
  50.       regexp: '.*\.(avi|mkv|mp4|m4v)$'
  51.       recursive: yes
  52.       retrieve: files
  53.     seen: local
  54.     accept_all: yes
  55.     regexp:
  56.       reject:
  57.         - sample
  58.          - AppleDouble
  59.     configure_series:
  60.       settings:
  61.         identified_by: ep
  62.         parse_only: yes
  63.       from:
  64.         filesystem:
  65.          - /media/disk1/Series
  66.     require_field: series_name
  67.     metainfo_series: yes
  68.     move:
  69.       to: /media/disk1/Series/{{ series_name }}
  70.       rename: "{{ series_name|replace(' ','.') }}.{{ series_id }}.{{ quality|upper|replace(' ','.') }}{% if proper %}-proper{% endif %}"
  71. #      clean_source: 18
  72. #    exec:
  73. #      allow_background: yes
  74. #      on_exit:
  75. #        phase: mkdir -p /var/lib/transmission-daemon/downloads
  76. #
  77. # purge/remove torrents and remaining junk files/dirs
  78. #
  79.   remove-torrents:
  80.     from_transmission:
  81.       username: username
  82.       password: password
  83.     disable: [seen, seen_info_hash]
  84.     if:
  85.       - transmission_progress == 100: accept
  86.  #     - transmission_date_done > now - timedelta(days=1): reject
  87.     transmission:
  88.       username: username
  89.       password: password
  90.       action: purge
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top