Skip to content

Add helpful message when flexget series list is empty #1720

@haarts

Description

@haarts

When no series are tracked/configured the command flexget series list returns an empty list.
That is not to say flexget doesn't know about any series, they might simply be unconfigured. The series can be viewed with the flexget series list all (or flexget series list unconfigured) command.

Currently the output of flexget series list is:

$ flexget series list

lqqqqqqwqqqqqqqqwqqqqqwqqqqqqqqqqqqwqqqqqqqqqqqqqqqk
x Name x Latest x Age x Downloaded x Identified By x
mqqqqqqvqqqqqqqqvqqqqqvqqqqqqqqqqqqvqqqqqqqqqqqqqqqj
Use `flexget series show NAME` to get detailed information

Like the helpful note on how to get more detailed information, a similar note could be added on the three available filters ('configured', 'unconfigured', 'all'). This message could be made conditional on the list being empty.

Additionally the output could lead with which filter the list is shown to begin with. Something like:

$ flexget series list {,unconfigured,configured,all}
{Unconfigured,Configured,All} series are:
lqqqqqqwqqqqqqqqwqqqqqwqqqqqqqqqqqqwqqqqqqqqqqqqqqqk
x Name x Latest x Age x Downloaded x Identified By x
mqqqqqqvqqqqqqqqvqqqqqvqqqqqqqqqqqqvqqqqqqqqqqqqqqqj
Use `flexget series show NAME` to get detailed information
Use `flexget series FILTER` to use different filter

Additional information:

  • Flexget Version: 2.10.10
  • Python Version: 3.5.2
  • Installation method: pip3
  • OS and version: Ubuntu 16.04

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions