@magnjo wrote:
Hello.
The if plugin has an example
imdb_lookup: yes if: - "any(genre in ['horror', 'documentary'] for genre in imdb_genres)": reject
But when I try to run that I get this error:
Error occurred while evaluating statement `any(genre in ['horror', 'documentary'] for genre in imdb_genres)`. (expected token ',', got 'for')
Can anyone tell me how it should be done?
Posts: 2
Participants: 2