@cah wrote:
Hi,
I'm a beginner Flexget user and was trying to add email notification when a task gets added.
My config looks like this:
tasks: task-a: rss: <rss link> accept_all: yes seen: local thetvdb_lookup: yes all_series: parse_only: yes transmission: host: localhost port: 9091 username: transmission password: <password> path: <path>{{series_name}}/Season {{series_season}} add_paused: no notify: entries: template: html via: - email: from: <email address> to: <email address> smtp_host: smtp.gmail.com subject: Flexget task added smtp_port: 58 smtp_username: <email address> smtp_password: <password> smtp_tls: yes html: yes
But I'm getting an error about a missing : on the 'via:' line, which makes no sense to me:
# flexget -V 2.21.2 You are on the latest release. # flexget check 2019-05-31 11:26 WARNING check Config line 19 is likely missing ':' at the end 2019-05-31 11:26 VERBOSE check Pre-checked 30 configuration lines 2019-05-31 11:26 CRITICAL manager mapping values are not allowed here in "<unicode string>", line 20, column 12: via: ^ ------------------------------------------------------------------------------- Malformed configuration file (check messages above). Common reasons: ------------------------------------------------------------------------------- o Indentation error o Missing : from end of the line o Non ASCII characters (use UTF8) o If text contains any of :[]{}% characters it must be single-quoted (eg. value{1} should be 'value{1}') Reason: mapping values are not allowed here ----> MOST LIKELY REASON: Missing : from end of the line! Check configuration near line 19, column 11 Fault is almost always in this or previous line 2019-05-31 11:26 CRITICAL manager Failed to load config file: Config file is not valid YAML Could not start manager: Config file is not valid YAML
I know I must be doing something stupid, but would appreciate help.
Thanks
Posts: 1
Participants: 1