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

[SOLVED] Anyone can help me with new version Flexget config files?

$
0
0

@Kylin_Tang wrote:

Hi. I'm new fella here.
I use flexget to fulfill the rss auto-download-torrent into my transmission.
The config files worked before, as showed below:

schedules:
  - tasks: '*'
    interval:
      minutes: 1
tasks:
  RSS-transmission:
    rss: https://yourfssfeedlink
    accept_all: yes
    transmission:
      host: localhost
      port: 9091
      username: username
      password: password
    email:
      from: sina@sina.com
      to: 163@163.com
      smtp_host: smtp.sina.com
      smtp_port: 587
      smtp_username: sina@sina.com
      smtp_password: password
      smtp_tls: true

However, the new version flexget got me crazy coz the old config file cannot be used due to the changing of notify plugin. Also, I want to use telegram as the notifier. And I wrote down the code below:

schedules:
  - tasks: '*'
    interval:
      minutes: 1
tasks:
  RSS-transmission:
    rss: link
    accept_all: yes
    transmission:
      host: localhost
      port: 9091
      username: username
      password: password
    notify:
      entries:
        via:
          - telegram:
              bot_token: 3281XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX_GM
              message: "{{title}}"
              parse_mode: markdown
              recipients:
                - username: username

The flexget check showed:

2017-01-12 18:38 VERBOSE  manager                       Creating new database /root/.flexget/db-config.sqlite - DO NOT INTERUPT ...
2017-01-12 18:39 WARNING  check                         Config line 2 is likely missing ':' at the end
2017-01-12 18:39 VERBOSE  check                         Pre-checked 22 configuration lines
2017-01-12 18:39 CRITICAL manager                       [/tasks/RSS-transmission/notify/entries/via/0/telegram] The key `message` is not valid here.
2017-01-12 18:39 CRITICAL manager                       Failed to load config file: Did not pass schema validation.

Please help me thanks very much!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles