Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Critique my config

$
0
0

@Shr00m wrote:

I have scoured this site for config help and think I've been able to come up with a pretty good config that works pretty good for what I want to do. I think I'm to the point where I need to optimize it now. Please have a look and tell me where you see improvements.


# This is the scheduled area
schedules:
  - tasks: [get_tv, get_tv_all, get_tv_manual]
    interval:
      minutes: 10
  - tasks: [get_imdb_watchlist, get_imdb_movies, get_new_movies]
    interval:
      minutes: 30

templates:
  global:
    verify_ssl_certificates: no
    torrent_alive: 10 #number of seeders needed to accept
    retry_failed:
      retry_time: 5 minutes # Base time in between retries
      retry_time_multiplier: 1 # Amount retry time will be multiplied by after each successive failure
      max_retries: 15 # Number of times the entry will be retried
    regexp:
      accept:
        - English
      reject:
        - Hindi
        - French
        - Danish
        - SPANiSH
        - FASTSUB #French
        - VOSTFR #French
        - Subtitulado #Spanish
        - ITALIAN
        - GERMAN
        - TRUEFRENCH
        - trailer
        - screener
        - subbed
        - dubbed
        - HDCam
        - HDTS
        - HD-TS
        - TELESYNC
        - CAMRip
      from: title
    content_filter:
#      require:
#        - '*.mkv'
#        - '*.avi'
#        - '*.mpg'
#        - '*.mp4'
      reject:
        - '*.wmv'
        - '*.r0'
        - '*.rar'
        - '*.part0'

  transmission-movies:
    transmission:
      host: 192.168.4.95
      port: 9091
      username: admin
      password: <password>
      path: /share/CACHEDEV3_DATA/Shared2/Media/Movies/{{imdb_name}} ({{imdb_year}})
      content_filename: '{{imdb_name}} ({{imdb_year}}) - {{quality}}'
      skip_files:
        - '*.nfo'
        - '*.sfv'
        - '*.[sS]ample'
        - '*.txt'
      include_subs: no
    clean_transmission:
      host: 192.168.4.95
      port: 9091
      username: admin
      password: <password>
      min_ratio: 1
      transmission_seed_limits: Yes
      enabled: Yes

  transmission-tv:
    transmission:
      host: 192.168.4.95
      port: 9091
      username: admin
      password: <password>
      path: /share/CACHEDEV3_DATA/Shared2/Media/TV/{{series_name}} - Season {{series_season}}
      content_filename: '{{series_name}} - S{{series_season|pad(2)}}E{{series_episode|pad(2)}}'
      skip_files:
        - '*.nfo'
        - '*.sfv'
        - '*.[sS]ample'
        - '*.txt'
      include_subs: no
    clean_transmission:
      host: 192.168.4.95
      port: 9091
      username: admin
      password: <password>
      min_ratio: 1
      transmission_seed_limits: Yes
      enabled: Yes

  movies:
    imdb_required: yes
    movie_queue: add
    seen_movies: strict
    exists_movie:
      path: /Shared2/Media/Movies
      allow_different_qualities: better
      lookup: imdb
#      regexp:
#      reject:
#        - WEB
#        - WEB-DL

  tv-new:
    thetvdb_lookup: yes
    if:
      - "'Sport' in tvdb_genres": reject
#    quality: 720p+ hdtv+
    regexp:
      reject:
        - NHL
#        - WEB-DL
#    series:
#      group 1:      
#        - Blindspot
    configure_series:
      from:
        trakt_list:
          username: <username>
          account: <password>
          list: NewStuff
          type: shows

  moviefeed:
  # The sources for series torrents.
    inputs:
      # Kickass (Verified only, movies)
      - rss:
          url: https://kat.cr/usearch/verified%3A1%20category%3Amovies/?rss=1
#          other_fields: ['torrent:magnetURI']
#          link: 'torrent:magnetURI'
          silent: yes
      # Kickass
      - rss:
          url: https://kat.cr/usearch/verified%3A1%20category%3Amovies/?rss=1
#          other_fields: ['torrent:magnetURI']
#          link: 'torrent:magnetURI'
          silent: yes
      # torrentz and something else
      - rss: { url: 'http://www.torlock.com/movies/rss.xml', silent: yes }
      - rss: { url: 'http://torrentz.eu/feed_verified?q=movies', silent: yes }
#      - rss: { url: 'https://www.torlock.com/movies/rss.xml', silent: yes }
      - rss: { url: 'http://showrss.info/feeds/all.rss', silent: yes }
      - rss: { url: 'http://extratorrent.cc/rss.xml?type=popular&cid=4', silent: yes }
    headers:
#      User-Agent: "Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0"
      User-Agent: "Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/21.0"

  tv-all:
    thetvdb_lookup: yes
    configure_series:
      from:
        trakt_list:
          username: <username>
          account: <password>
          list: AllStuff
          type: shows
      settings:
        set:
          tracking: no
    discover:
      what:
        - emit_series:
            backfill: yes
            from_start: yes
      from:
        - search_rss: https://kat.cr/usearch/{{search_term}}/?rss=1

  # The sources for series torrents.
  tvfeed:
    inputs:
      # Kickass (Verified only, TV)
      - rss:
          url: https://kat.cr/usearch/verified%3A1%20category%3Atv/?rss=1
#          other_fields: ['torrent:magnetURI']
#          link: 'torrent:magnetURI'
          silent: yes
      # Kickass (ettv user only, TV)
      - rss:
          url: https://kat.cr/usearch/category%3Atv%20user%3Aettv/?rss=1
#          other_fields: ['torrent:magnetURI']
#          link: 'torrent:magnetURI'
          silent: yes
      # Kickass (r0b0T user only, TV)
      - rss:
          url: https://kat.cr/usearch/category%3Atv%20user%3Ar0b0T/?rss=1
#          other_fields: ['torrent:magnetURI']
#          link: 'torrent:magnetURI'
          silent: yes
      # Kickass (VTV user only, TV)
      - rss:
          url: https://kat.cr/usearch/category%3Atv%20user%3Avtv/?rss=1
#          other_fields: ['torrent:magnetURI']
#          link: 'torrent:magnetURI'
          silent: yes
      # Kickass (kikAssess user only, TV)
      - rss:
          url: https://kat.cr/usearch/category%3Atv%20user%3AkikAssess/?rss=1
#          other_fields: ['torrent:magnetURI']
#          link: 'torrent:magnetURI'
          silent: yes
      # Kickass (TvTeam user only, TV)
      - rss:
          url: https://kat.cr/usearch/category%3Atv%20user%3ATvTeam/?rss=1
#          other_fields: ['torrent:magnetURI']
#          link: 'torrent:magnetURI'
          silent: yes
      # torrentz and something else
      - rss: { url: 'https://torrentz.eu/feed_verified?q=tv', silent: yes}
      - rss: { url: 'https://torrentz.me/feed_verified?q=tv', silent: yes}
      - rss: { url: 'https://www.torlock.com/television/rss.xml', silent: yes}
      - rss: { url: 'https://showrss.info/feeds/all.rss', silent: yes}
      - rss: { url: 'https://extratorrent.cc/rss.xml?type=popular&cid=8', silent: yes}
    headers:
#      User-Agent: "Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0"
      User-Agent: "Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/21.0"

  sendemail:
    email:
      active: true
      from: flexget@network.local
      to:
        - me@gmail.com
        - me2@gmail.com
      smtp_host: 192.168.4.253
      template: html-downloaded.template

  pushover_tv:
    pushover:
      userkey: <userkey>
      apikey: <apikey>
      title: '{{series_name}}'
      message: '{{series_id}}'

  pushover_movies:
    pushover:
      userkey: <userkey>
      apikey: <apikey>
      title: '{{imdb_name}} ({{imdb_year}})'
      message: '{{imdb_score}} {{imdb_votes}} {{imdb_url}}'

tasks:
  get_imdb_watchlist:
    priority: 1
    imdb_list:
      user_id: <userid>
      list: watchlist
      force_language: en-us
    accept_all: yes
    movie_queue: add

  get_imdb_movies:
    priority: 2
    discover:
      what:
        - emit_movie_queue: yes
      from:
        - search_rss: https://kat.cr/usearch/{{search_term}}/?rss=1
    template:
      - transmission-movies
#      - sendemail
      - pushover_movies
    content_size:
      max: 4000
      min: 500
    imdb_required: yes
    movie_queue: accept

  get_new_movies:
    priority: 3
    template:
      - moviefeed
      - movies
      - transmission-movies
#      - sendemail
      - pushover_movies
    content_size:
      max: 7000
      min: 500
    imdb:
      min_year: 2015
      min_score: 6.0
      min_votes: 1750
    quality: "!cam !ts !tc !dvdscr !bdscr"

  get_tv:
    priority: 4
    template:
      - tvfeed
      - tv-new
      - transmission-tv
#      - sendemail
      - pushover_tv

  get_tv_all:
    priority: 5
    template:
      - tvfeed
      - tv-all
      - transmission-tv
#      - sendemail
      - pushover_tv

  get_tv_manual:
    priority: 6
    template:
      - tvfeed
      - transmission-tv
#      - sendemail
      - pushover_tv
    thetvdb_lookup: yes
    series:
      - The Walking Dead:
          begin: S06E01

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles