-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tv_grab_zz_sdjson_sqlite: Select channels using the config file #182
Comments
This was discussed on the upstream repo. The fundamental issue is that the XMLTV definition of channels and stations is confused. Here is the discussion from the grabber itself.
|
It should be noted that an applications should be capable of disabling loading of data, or selecting which data they display, to users. If not, filters (including tools such as xsltproc) can be used to do so. Furthermore, applications can be enhanced to support --get-lineup output (which is more descriptive than --list-channels) to be better able to select what channels/stations they define/display. The tv_grab_zz_sdjson_sqlite grabber supports --get-lineup, and at least one 3rd party application has tools to be able to use it. |
Depends on #184 |
I'm not sure what relevance the station vs. channel debate has on this feature request. Creating an XML file containing 1,000 stations and 30,000 showings (40MB) when I only want 1 station and 100 programme showings (75kB) is needless. Instead of simply displaying the contents of the output xml as a viewing schedule (there are many free apps which do just this), it forces a consuming app to build its own selection and filtering process (replicating, to a large extent, what the grabber already does). You already have a station selection mechanism as part of the Adding a stationID to the config file would facilitate a simple way of selecting which stations to output (by coalescing the config file with the stations 'selected' in the channels table). Even if one uses a text editor to maintain the file outside of the grabber itself, I think this will still offer a notable enhancement to grabber usability. |
There are valid use cases where downloading a single channel is desired. The existing procedure to unset all existing channels, and set a single channel for xml output is lengthy and prone to user-error.
A simple method to select one (or several) lineup-channels is desired.
Most (if not all?) other xmltv-project grabbers allow this selection via simple text editing of the config file.
This could be achieved by optionally allowing channels to be specified in the config file which would override the corresponding value in the db.
(So to download a single channel, one could switch OFF all channels in the db but then, selectively, switch ON individual channels in the config file.)
The text was updated successfully, but these errors were encountered: