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

SOLVED: Pushover sound based on task

$
0
0

@mpadilla2 wrote:

So I'm trying to have two different Pushover notification sounds based on what task has occurred. So far, all that happens is the default sound. The two sounds I'm trying to use are "bike" and "incoming". I've tried putting single quotes, double quotes, no quotes around "bike" and "incoming" and it still doesn't work. Any suggestions/corrections are greatly appreciated! Here's the relevant portion of the config:

pushover:
  user_key: '{? pushover.user_key ?}'
  api_key: '{? pushover.api_key ?}'
  sound: >
    {% if task in ['move-torrent-series','move-nzbget-series','move-torrent-movies'] %}'bike'
    {% else %}'incoming'
    {% endif %}

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles