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

Migration from movie_queue to list

$
0
0

@dissembler wrote:

Hi,
New user, trying to get to grips with the configuration.
I'm trying to accomplish:

  1. Get a list from Trakt
  2. Get an rss feed from a tracker
  3. Download (with qBittorrent) the movies from the tracker that are on the Trakt list

I found a config that was close enough and tweaked it for my needs:

templates:

  DOWNLOAD-MOVIES:
    qbittorrent:
      path: /home/pi/media/watchables/downloads
      label: movie
      host: localhost
      port: 8080

  RSS-MOVIES:
    inputs:
      - rss: /home/pi/.config/flexget/feed.xml

tasks:

  QUEUE-MOVIES:
    priority: 2
    inputs:
    - trakt_list:
        username: #####
        account: #####
        list: test
        type: movies
    accept_all: yes
    movie_queue: add
    exists_movie:
      path: /home/pi/media/watchables/downloads/ 
      type: dirs
      allow_different_qualities: no
      lookup: imdb

  MOVIES:
    priority: 3
    movie_queue: accept
    template:
      - RSS-MOVIES
      - DOWNLOAD-MOVIES
    quality:
      - bluray

This works perfectly.

I'm now trying to migrate this to list, but I'm having no joy. I know it's something simple, but I can't weed it out.

templates:

  DOWNLOAD-MOVIES:
    qbittorrent:
      path: /home/pi/media/watchables/downloads
      label: movie
      host: localhost
      port: 8080

  RSS-MOVIES:
    inputs:
      - rss: /home/pi/.config/flexget/feed.xml

tasks:

  QUEUE-MOVIES:
    priority: 1
    inputs:
    - trakt_list:
        username: #####
        account: #####
        list: test
        type: movies
    accept_all: yes
    list_add:
      - movie_list: INCOMING-MOVIES
    exists_movie:
      path: /home/pi/media/watchables/downloads/
      type: dirs
      allow_different_qualities: no
      lookup: imdb

  MOVIES:
    priority: 2
    list_accept:
      - movie_list: INCOMING-MOVIES
    template:
      - RSS-MOVIES
      - DOWNLOAD-MOVIES
    quality:
      - bluray

Output from flexget --test execute:

2016-05-12 22:56 INFO     manager                       Test mode, creating a copy from database ...
2016-05-12 22:56 INFO     manager                       Test database created
2016-05-12 22:56 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-05-12 22:56 VERBOSE  input_cache   QUEUE-MOVIES    Restored 4 entries from db cache
2016-05-12 22:56 VERBOSE  details       QUEUE-MOVIES    Produced 4 entries.
2016-05-12 22:56 VERBOSE  task          QUEUE-MOVIES    ACCEPTED: `The Hateful Eight (2015)` by accept_all plugin
2016-05-12 22:56 VERBOSE  task          QUEUE-MOVIES    ACCEPTED: `How to Be Single (2016)` by accept_all plugin
2016-05-12 22:56 VERBOSE  task          QUEUE-MOVIES    ACCEPTED: `Sideways (2004)` by accept_all plugin
2016-05-12 22:56 VERBOSE  task          QUEUE-MOVIES    ACCEPTED: `Zoolander 2 (2016)` by accept_all plugin
2016-05-12 22:56 VERBOSE  exists_movie  QUEUE-MOVIES    Scanning path /home/pi/media/watchables/downloads/ ...
2016-05-12 22:56 VERBOSE  exists_movie  QUEUE-MOVIES    No items with type dirs were found in /home/pi/media/watchables/downloads/
2016-05-12 22:56 VERBOSE  details       QUEUE-MOVIES    Summary - Accepted: 4 (Rejected: 0 Undecided: 0 Failed: 0)
2016-05-12 22:56 VERBOSE  list_add      QUEUE-MOVIES    adding accepted entries into movie_list - INCOMING-MOVIES
2016-05-12 22:56 VERBOSE  details       MOVIES          Produced 13 entries.
2016-05-12 22:56 VERBOSE  details       MOVIES          Summary - Accepted: 0 (Rejected: 0 Undecided: 13 Failed: 0)
2016-05-12 22:56 VERBOSE  list_accept   MOVIES          removing accepted entries from movie_list - INCOMING-MOVIES
2016-05-12 22:56 INFO     manager                       Removed test database

Any help would be greatly appreciated!

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles