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

Check if my config is correct

$
0
0

@Kiwi wrote:

hi,

I have the following configuration,
but I don't know if this is working as it should.

I didn't get any movie/show downloaded (except some that I had already)
am I doing something wrong or?

This is the full config:

secrets: secrets.yml 
schedules:
  - tasks: [copy_trakt_watchlist, copy_trakt_watchlist_movies, fill_movie_list, get_movies_720p, get_series_begin, get_series]
    interval:
      hours: 2
  - tasks: [clean_trakt_movies_list, clean_trakt_shows_list]
    interval:
      days: 5

templates:
  global:
    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: 25 # Number of times the entry will be retried
  get_series_standards:
    torrent_alive: yes #number of seeders needed to accept
    domain_delay:
      sceneaccess.eu: 30 seconds
      sceneaccess.org: 30 seconds
    content_size:
      max: 5000
      min: 60
  deluge-movies:
    deluge: yes
    
  deluge-series:
    deluge: yes
    
  download-movie:
    imdb_lookup: yes
    tmdb_lookup: yes
    thetvdb_lookup: yes
    discover:
      what:
        - movie_list: 'movies from trakt'
      from:
        - 1337x: yes
        - rarbg: 
            category: x264 1080p
        - piratebay: yes
        - flexget_archive: yes
    set:
      path: "~/Downloads/FlexGet/{{ movie_name }} ({{ imdb_year }}) [1080p]/"
      movedone: "P:/Films/{{ movie_name }} ({{ imdb_year }}) [1080p]/"
      ratio: 1
      removeatratio: yes
      
    template:
      - deluge-movies
  download-show:
    imdb_lookup: yes
    tmdb_lookup: yes
    thetvdb_lookup: yes
    discover:
      what:
        - next_series_episodes: yes
            #from_start: yes backfill: no
      from:
        - 1337x: yes
        - rarbg: 
            category: x264 1080p
        - piratebay: yes
        - flexget_archive: yes
      release_estimations: strict #only download those with air dates
    set:
      content_filename: "{{series_name}} - {{series_id}} - {{quality}} - {{ tvdb_ep_name|default('Unknown') }}"
      path: "~/Downloads/FlexGet/{{ series_name }}/Season {{ series_season }}/"
      movedone: "P:/Series/{{ series_name }}/Season {{ series_season }}/"
      ratio: 1
      removeatratio: yes
      
    template:
      - deluge-series
  pushbullet:
    pushbullet:
      apikey: '{{secrets.pushbullet.token}}'
      title: '[flexget - {{task}}] download started!'
      body: >
          {% if series_name is defined %}{{tvdb_series_name|d(series_name)}} - {{series_id}} - {{tvdb_ep_name|d('')}}{% if quality is defined %} ({{quality}}){% endif %}
          {% elif imdb_name is defined %}{{imdb_name}} ({{imdb_year}}){% if quality is defined %} ({{quality}}){% endif %}
          {% else %}{{title}}{% if quality is defined %} ({{quality}}){% endif %}
          {% endif %}
tasks:
  copy_trakt_watchlist:
    priority: 1
    disable: seen
    trakt_list:
      account: '{{ secrets.trakt.username }}'
      list: watchlist
      type: shows
    accept_all: yes
    list_add:
      - trakt_list:
          account: '{{ secrets.trakt.username }}'
          list: '{{ secrets.trakt_lists.shows_follow }}'
  copy_trakt_watchlist_movies:
    priority: 2
    disable: seen

    trakt_lookup:
      account: '{{ secrets.trakt.username }}'
    trakt_list:
      account: '{{ secrets.trakt.username }}'
      list: watchlist
      type: movies
    accept_all: yes
    if:
      - trakt_collected: reject
    list_add:
      - trakt_list:
          account: '{{ secrets.trakt.username }}'
          list: '{{ secrets.trakt_lists.movies_get }}'
  fill_movie_list:
    priority: 3
    trakt_list:
      account: '{{ secrets.trakt.username }}'
      list: '{{ secrets.trakt_lists.movies_get }}'
      type: movies
    accept_all: yes
    list_add:
      - movie_list: 'movies from trakt'
  get_movies_720p:
    torrent_alive: yes #number of seeders needed to accept
    priority: 4
    content_size:
      max: 23040
      min: 1024
    quality: 720p bluray+
    template: 
      - download-movie
      - pushbullet
  get_series_begin:
    priority: 5
    disable: seen
    next_trakt_episodes:
      account: '{{ secrets.trakt.username }}'
      list: '{{ secrets.trakt_lists.shows_follow }}'
      context: collected
      position: next
    accept_all: yes
    set_series_begin: yes
  get_series:
    priority: 6
    configure_series:
      settings:
        #quality: 720p hdtv+
        timeframe: 6 hours
        target: 720p hdtv
        identified_by: ep
        exact: yes
      from:
        trakt_list:
          account: '{{ secrets.trakt.username }}'
          list: '{{ secrets.trakt_lists.shows_follow }}'
          type: shows
    template:
      - get_series_standards
      - download-show
      - pushbullet

  get_series_direct:
    manual: yes
    trakt_lookup:
      account: '{{ secrets.trakt.username }}'
    configure_series:
      settings:
        quality: 720p hdtv+
        exact: yes
      from:
        trakt_list:
          account: '{{ secrets.trakt.username }}'
          list: '{{ secrets.trakt_lists.shows_follow }}'
          type: shows
    template: deluge-series

  get_movies_direct:
    manual: yes
    trakt_lookup:
      account: '{{ secrets.trakt.username }}'
    content_size:
      max: 23040
      min: 1024
    quality: 720p bluray+
    list_match:
      from:
        - movie_list: 'movies from trakt'
    template: deluge-movies

  # MANUAL TASKS BELOW

  clean_trakt_movies_list:
    priority: 8
    disable:
      - seen
      - movie_queue
    trakt_lookup:
      account: '{{ secrets.trakt.username }}'
    trakt_list:
      account: '{{ secrets.trakt.username }}'
      list: '{{ secrets.trakt_lists.movies_get }}'
      type: movies 
      strip_dates: yes
    if:
      - trakt_collected: accept
    list_remove:
      - movie_list: 'movies from trakt'
      - trakt_list:
          account: '{{ secrets.trakt.username }}'
          list: '{{ secrets.trakt_lists.movies_get }}'

  clean_trakt_shows_list:
    priority: 9
    disable: seen
    trakt_lookup:
      account: '{{ secrets.trakt.username }}'
    trakt_list:
      account: '{{ secrets.trakt.username }}'
      list: '{{ secrets.trakt_lists.shows_follow }}'
      type: shows
      strip_dates: yes
    if:
      - trakt_collected and (trakt_series_status == 'ended' or trakt_series_status == 'cancelled'): accept
    list_remove:
      - trakt_list:
          account: '{{ secrets.trakt.username }}'
          list: '{{ secrets.trakt_lists.shows_follow }}'

  old_files: 
    manual: yes
    disable:
      #- builtins
      - backlog
      - seen
      - retry_failed
    limit_new: 1     
    filesystem:
      path:
        - P:/Films/
        - P:/Series/
        - ~/Downloads/flexget
      retrieve:
        #- files
        - dirs
      #regexp: '.+\..+'

    age:
      field: 'accessed'
      age: '1 second'
      action: 'accept'

    set:
      series_name: "{{'title'}}"

    trakt_lookup:
      account: '{{ secrets.trakt.username }}'

    if:
      - trakt_watched == False: reject

web_server:
  bind: 0.0.0.0
  port: 5050
api: yes
webui: yes

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles