[mythtv] Status of Schedules Direct SD-JSON grabbers

Peter Bennett pgbennett at comcast.net
Thu Jul 28 16:10:05 UTC 2016


On 07/27/2016 08:25 PM, Gary Buhrmaster wrote:
>> > One Observation: If I do channel selection on a new setup, the channels
>> > are presented in random order without channel numbers. If I do --days 0
>> > after initializing the database, the channels are presented in channel
>> > number order with channel numbers, names and call signs, which is a lot
>> > better.
> I will have to think a bit.  Stations have no specific order in
> xmltv, but humans seem to have this habit of wanting the
> derived channel number to be in order (but, note, it is not
> a simple sort order, but a "channel" order (as a channel,
> channel 2.4 is before 2.10, but not as a number sort,
> as 2.10 is lower than 2.4), and not as a character sort
> where you get into issues where channels such as
> 1 2 3 10 11 20 turn into 1 10 11 2 20 3, which is not what
> you want either).  Adding in a custom parse and sort will
> require some thought, and whether it can even be done
> efficiently in the current code constructs is unknown.

It seems unnecessary to make any change. As I mentioned above it already
appears to sort in channel sequence if you do a dummy data retrieval
first (tv_grab_na_sd --days 0).

More useful would be a better way of channel selection, instead of the
current method where the user has to go through all 500 channels
answering yes, no or default if the user needs to change anything.

I think the other grabbers also use this method of channel selection, we
should really have a nice method of selection that works for all grabbers.

Peter



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20160728/5c9eb904/attachment.html>


More information about the mythtv-dev mailing list