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

"Not" If Statement

$
0
0

@Feromon wrote:

Hallo, can someone help me with my config, im trying to set different location with TMDB Genres and if statement, but it does not work. I just want different location for Cartoons and Films depending on TMDB Genre.What im doing wrong?

if:
  - "'мультфильм' in tmdb_genres":
      set:
        path: /mnt/usb_hdd/Raspberry/Мультфильмы/
        content_filename: "{{discovered_from}}"
      notify:
        entries:
          title: "Flexget - {{task}}"
          message: "Мультфильм: {{title}} ({{tmdb_year}})"
          via:
            - pushbullet:
                api_key: o.GeoLjES5z9egvIRWg5EH6irskvZIsBsG
  - "'мультфильм' not in tmdb_genres":
      set:
        path: /mnt/usb_hdd/Raspberry/Фильмы/
        content_filename: "{{discovered_from}}"

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles