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

"Could not set exec command for {{output}}: (UndefinedError) 'output' is undefined

$
0
0

@hhiru wrote:

I'm trying to set notifications via telegram for accepted entries but this is the error I receive. Does transmission count as download plugin? I remember using {{output}} with the discord plugin without problems. If you are wondering, I don't want to use the notification plugin for the task. I had issues setting it properly and I found this method easier to use

tasks:
  seasonal-shows:
    template: my-torrent-client
    series:
      - My Show
    inputs:
      - rss: first-url
      - rss: second-url
    exec: /bin/bash /home/pi/bin/flexget_notify.sh "{{output}} has been added."
    transmission:
      path: /var/lib/transmission-daemon/downloads/shows

templates:
  my-torrent-client:
    transmission:
      host: localhost
      port: 9091
      username: '{? transmission.user ?}'
      password: '{? transmission.pass ?}'

variables: variables.yml

This is the content of the script I'm using:

#!/bin/bash

curl -H "Content-Type: application/json" -X POST -d "{\"chat_id\":$chatid, \"text\":\"$1\"}" $telegramapi

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles