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

Simplifying Trakt list matches

$
0
0

Hi,
I’m trying to create a setup in which I add movies to a Trakt list, Flexget matches them with an RSS feed and upon match and download removes them from the Trakt list.

Below what I have so far:

tasks:
  trakt-golden-add:
    trakt_list:
      account: "{? trakt.account ?}"
      list: Flexget
      type: movies
    accept_all: yes
    list_add:
      - movie_list: trakt-golden
  trakt-golden-download:
    rss: "{? urls.feed ?}"
    imdb_lookup: yes
    list_match:
      from:
        - movie_list: trakt-golden
    template:
      - qbt
    list_remove:
      - trakt_list:
          account: "{? trakt.account ?}"
          list: Flexget
          type: movies

schedules:
  - tasks: 'trakt-golden-*'
    interval:
      hours: 1

I was wondering if the following is possible instead:

tasks:
  trakt-golden-download:
    rss: "{? urls.feed ?}"
    trakt_lookup: yes
    imdb_lookup: yes
    list_match:
      from:
        - trakt_list:
            account: "{? trakt.account ?}"
            list: Flexget
            type: movies
    template:
      - qbt
    list_remove:
      - trakt_list:
          account: "{? trakt.account ?}"
          list: Flexget
          type: movies

schedules:
  - tasks: 'trakt-golden-*'
    interval:
      hours: 1

It would leave a single task instead of two.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles