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

Always rejects

$
0
0

@swmiller6 wrote:

I am having an issue with getting movies from trakt to download. It always rejects based on content_size either too high or too low. If I comment out the content_size option completely it then rejects based on quality.
Please take a look at my config and see if anything seems amiss..

secrets: secrets.yml

templates:
  # repetative anchor items
  anchors:
    _transmission: &transmission
      host: '{{ secrets.transmission.host }}'
      port: 9091
      username: '{{ secrets.transmission.username }}'
      password: '{{ secrets.transmission.password }}'
      path: '{{ secrets.transmission.download_path_shows }}'
      ratio: .01
    _email: &email
      active: True
      from: '{{ secrets.email.from }}'
      to: me@gmail.com
      smtp_host: '{{ secrets.email.host }}'
      smtp_port: 587
      smtp_login: true
      smtp_username: '{{ secrets.email.username }}'
      smtp_password: '{{ secrets.email.password }}'
      smtp_tls: true  
    _trakt_credentials: &trakt_credentials
      username: '{{ secrets.trakt.username }}'
      account: '{{ secrets.trakt.account }}'
  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
  # transmission movie template
  transmit-movies:
    transmission:
      <<: *transmission
    email:
      <<: *email
  # movie template
  download-movie:
    discover:
      what:
        - movie_list: 'movies from trakt'
      from:
        - kat:
            category: movies
            verified: yes
        - piratebay:
            category: "highres movies"
            sort_by: seeds
      interval: 1 hours
    set:
      content_filename: "{{ imdb_name|replace('/', '_')|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
# task to run
tasks:
  copy_trakt_watchlist_movies:
    priority: 1
    disable: seen
    trakt_lookup:
      <<: *trakt_credentials
    trakt_list:
      <<: *trakt_credentials
      list: watchlist
      type: movies
    accept_all: yes
    if:
      - trakt_collected: reject
    list_add:
      - trakt_list:
          <<: *trakt_credentials
          list: '{{ secrets.trakt_lists.movies_get }}'
  fill_movie_list:
    priority: 2
    trakt_list:
      <<: *trakt_credentials
      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: 3
    magnets: no
    content_size:
      max: 6072
      min: 1024
      strict: no
    quality: 720p-1080p webrip-bluray
    template: [ download-movie, transmit-movies ]
  clean_trakt_movies_list:
    priority: 4
    disable:
      - seen
      - movie_queue
    trakt_lookup:
      <<: *trakt_credentials
    trakt_list:
      <<: *trakt_credentials
      list: '{{ secrets.trakt_lists.movies_get }}'
      type: movies
      strip_dates: yes
    if:
      - trakt_collected: accept
    list_remove:
      - movie_list: 'movies from trakt'
      - trakt_list:
          <<: *trakt_credentials
          list: '{{ secrets.trakt_lists.movies_get }}'

Posts: 11

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles