@devster31 wrote:
Hello,
I’m trying to create a generic recipe to automatically get new software.
This is what I have so far:--- web_server: bind: 0.0.0.0 port: 3539 web_ui: yes base_url: /flexget tasks: brokenstones-macosapps: rss: '{? secrets.rss.app_url ?}' qbittorrent: label: software host: qbittorrent port: 9090 regexp: accept: - my - app - list from: title notify: task: always_send: no title: Apps template: html via: - email: to: me@domain.com from: flexget@domain.com smtp_host: smtp.host.com smtp_port: 425 smtp_username: '{? secrets.mail.smtp_username ?}' smtp_password: '{? secrets.mail.smtp_password ?}' smtp_tls: yes html: yes # To parse template as HTML - discord: web_hook_url: '{? secrets.discord.web_hook_url ?}' embeds: - title: "{{ task }}" description: "{{ output }}" url: "{{ url }}" color: 0xe67e22 author: name: "" url: "" icon_url: "" fields: - name: "Reason" value: "{{ reason }}" inline: true - pushover: user_key: '{? secrets.pushover.user_key ?}' url_title: Apps schedules: - tasks: '*' schedule: day: 1 jitter: 600 # in seconds
There are two points I was unable to find documentation about:
- the first one is the
{? ... ?}
notation, which I’m unsure how to use, I can’t seem to find commands to add credentials or secrets- the second one are the variables available for notification, I found
{{ title }}
but I would also like to add details extracted from the rss feed to the Discord notification.Where can I find more?
Posts: 1
Participants: 1