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

Expected: dict in task email

$
0
0

@adamista wrote:

Hello,

I am trying to include in my config.yml file the task to send an email when the download is complete. I obtain this error:

 [/templates/global/notify] Got ..., expected: dict

How can I fix it?

My config.yml file is:

tasks:
  rss:
    priority: 1
    rss: http://showrss.info/user/*****.rss
    all_series: yes
    transmission:
      host: localhost
      port: 9091
      username: 'user'
      password: 'password'
      ratio: -1
      main_file_only: yes
      path: /mnt/Descargas/Flexget
      addpaused: no
      skip_files:
        - '*.nfo'
        - '*.sfv'
        - '*[sS]ample*'
        - '*.txt'
  subtitles:
    priority: 4
    disable: builtins
    filesystem:
      path:
        - /mnt/Descargas/Flexget
      regexp: '.*\.(mp4|mkv|avi)$'
      recursive: yes
    accept_all: yes
    regexp:
      reject:
       - '.*[sS]ample.*'
    periscope:
      languages:
        - es
      alternatives:
        - en
      overwrite: yes
  sort:
  priority: 5
    disable: builtins
    filesystem:
      path: /mnt/Descargas/Flexget
      mask: '.*\.(srt|mp4|mkv|avi)$'
      recursive: yes
    accept_all: yes
    seen: local
    thetvdb_lookup: yes
    all_series:
      parse_only: yes
    move:
      to: /mnt/Series/{{ tvdb_series_name }}/
      rename: '{{ tvdb_series_name }} - {{ series_id }} - {{ tvdb_ep_name}}{{ location | pathext }}'
      clean_source: 100
  clean:
    priority: 3
    clean_transmission:
      host: localhost
      port: 9091
  filesystem:
      path: /mnt/Descargas/Flexget
      mask: '.*\.(srt|mp4|mkv|avi)$'
      recursive: yes
    accept_all: yes
    seen: local
    thetvdb_lookup: yes
    all_series:
      parse_only: yes
    move:
      to: /mnt/Series/{{ tvdb_series_name }}/
      rename: '{{ tvdb_series_name }} - {{ series_id }} - {{ tvdb_ep_name}}{{ location | pathext }}'
      clean_source: 100
  clean:
    priority: 3
    clean_transmission:
      host: localhost
      port: 9091
      username: 'user'
      password: 'password'
      finished_for: 1 hours
templates:
  global:
    notify:
      - email:
         from: email@gmail.com
         to: email@gmail.com
         smtp_host: smtp.gmail.com
         smtp_port: 587
         smtp_username: email@gmail.com
         smtp_password: password
         smtp_tls: yes

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles