Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

Trying to understand task output

$
0
0

@haarts wrote:

I've created a silly task to get some series from a Trakt list and populate the series database. Behold:

tasks:
  sync-trakt-series:
    configure_series:
      from:
        trakt_list:
          username: foobar
          account: foorbar # required if list is not public
          list: watchlist
          type: shows
      settings:
        quality: 720p+
    exec: echo "Found {{title}}"

Assume this task ran successfully and the series database is populated:

$ flexget series list all

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqwqqqqqwqqqqqqqqqqqqwqqqqqqqqqqqqqqqk
x Name                       x Latest x Age x Downloaded x Identified By x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqnqqqqqnqqqqqqqqqqqqnqqqqqqqqqqqqqqqu
x Colony (2016)              x -      x -   x -          x auto          x
x Legion (2017)              x -      x -   x -          x None          x
x The Big Bang Theory (2007) x -      x -   x -          x None          x
x The Expanse (2015)         x -      x -   x -          x None          x
x The Flash (2014)           x -      x -   x -          x None          x
x The Walking Dead (2010)    x -      x -   x -          x None          x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqvqqqqqvqqqqqqqqqqqqvqqqqqqqqqqqqqqqj
Use `flexget series show NAME` to get detailed information

Now for the fun part, let's throw away Colony:

$ flexget series remove 'Colony (2016)'
Removed series `Colony (2016)` from database.

And display the list again to make sure Colony is gone:

$ flexget series list all

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqwqqqqqwqqqqqqqqqqqqwqqqqqqqqqqqqqqqk
x Name                       x Latest x Age x Downloaded x Identified By x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqnqqqqqnqqqqqqqqqqqqnqqqqqqqqqqqqqqqu
x Legion (2017)              x -      x -   x -          x None          x
x The Big Bang Theory (2007) x -      x -   x -          x None          x
x The Expanse (2015)         x -      x -   x -          x None          x
x The Flash (2014)           x -      x -   x -          x None          x
x The Walking Dead (2010)    x -      x -   x -          x None          x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqvqqqqqvqqqqqqqqqqqqvqqqqqqqqqqqqqqqj

All good!
Now I rerun the original task:

$ flexget execute --task 'sync-trakt-series'
2017-03-19 21:14 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2017-03-19 21:14 VERBOSE  input_cache   sync-trakt-series Restored 6 entries from db cache
2017-03-19 21:14 WARNING  details       sync-trakt-series Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2017-03-19 21:14 VERBOSE  details       sync-trakt-series Summary - Accepted: 0 (Rejected: 0 Undecided: 0 Failed: 0)

Running flexget series list all shows Colony again. So why does the output tell me Task didn't produce any entries.? The next line also prints 'Accepted: 0' etc etc. What's up?

Best!

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles