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

Config File Error

$
0
0

@ukstroller wrote:

Hi

I have the following task configured. The idea is for a schedule to execute the task nightly to send an email of any known missing TV show episodes

### Monitor For Missing Episodes ###
  MONITOR_MISSING:
    priority: 6
    thetvdb_lookup: yes
    require_field: series_name
    template:
      - SERIES
    seen: local
    series:
      settings:
        parse_only: yes
    no_entries_ok: yes
    next_series_episodes: yes
    trakt_lookup: yes
    if:
      - trakt_ep_first_aired < now - timedelta(days=10): accept
    notify:
      task:
        title: "Missing Episodes Detected"
        message: |+
          {% for entry in task.entries %}
          An unreleased episode was detected: {{ entry.trakt_series_name }} - S{{ entry.trakt_season }}E{{ entry.trakt_episode|pad(2) }}
          Released on {{ entry.trakt_ep_first_aired|formatdate("%d-%m-%Y")}}
          {% endfor %}
        via:
          - email:
                to: '{?email.to?}'
                from: '{?email.from?}'
                smtp_host: '{?email.smtp_host?}'
                smtp_port: '{?email.smtp_port?}'
                smtp_username: '{?email.smtp_username?}'
                smtp_password: '{?email.smtp_password?}'
                smtp_tls: '{?email.smtp_tls?}'
                html: '{?email.html?}'

However, the config fails validation with the following error

2019-09-04 22:58 CRITICAL manager                       [/tasks/MONITOR_MISSING/series/settings/parse_only] Got `True`, expected: dict

I'm struggling to find out what the error means and how to correct it.

Any help greatly appreciated

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles