@gurgle wrote:
I'm struggling to get an
if
statement to set my download location.config.yml:
templates: bt1: transmission: host: <address> port: <port> username: <username> password: <password> site1: rss: <address> regexp: accept: - <regex1> - <regex2> - <regex3> tasks: download: template: [bt1, site1] if: - "'name1' in title": set: path: /mnt/downloads/Name 1/ - "'name2' in title": set: path: /mnt/downloads/Name 2/
I based the if statement off the last example here, but when executing i get an error message
Must be one of the following: accept, reject, fail
Is this the wrong spot to try set the download location? I tried putting the if statement in the transmission section and got a different error message
The key `if` is not valid here.
Posts: 3
Participants: 2