XMLTV / xmltv

Utilities to obtain, generate, and post-process TV listings data in XMLTV format
GNU General Public License v2.0
283 stars 93 forks source link

tv_grab_zz_sdjson_sqlite: 'list-channels' should list all possible channels #183

Open honir opened 2 years ago

honir commented 2 years ago

--list-channels parameter claims to

Write output giving elements for every channel available in the current configuration.

In practice it only lists those channels actually selected for output. (Viz. 'selected' vs. 'available')

e.g select only one channel for output and that is the only one which gets listed in the --list-channels output. Other grabbers will list all possible channels not just the one.

Whilst there is clear benefit to only listing those channels which have been selected for xml output, consistency with other grabbers in the project requires that all channels are output.

garybuhrmaster commented 2 years ago

The addition of (actual) channel (not station, which XMLTV calls a channel) selection (which is somewhat outside of the scope of the XMLTV definition) was requested by some consumers whose applications were otherwise limited in capability.

I personally can see the advantage of removing channel selection entirely, as it complicated all the code.

Please open a ticket in the upstream repo and refer to this issue.

garybuhrmaster commented 2 years ago

Depends on #184