2015-09-06, 12:45
(2015-09-06, 11:38)marcelveldt Wrote:(2015-09-06, 11:34)im85288 Wrote: Great that's fixed that, I have a few general queries though. The endtime does not seem to be accurate, start time seems to be missing ,channel numbers are not returned, the progress item is not filled, details on the next item is not present..ie. next title, next genre, next start time, next end time.Oh right, I still need to add those, totally forgot about that. Will add them asap.
If all of those are not in scope of this widget then feel free to ignore these requests.
EDIT: Now I remember why I didn't add details about the next program: Because it was really slow... The current query is 1 json request to get the channel including it's current program. Retrieving the next program would require to get the broadcasts for each channel individually.
If it's important I can add it, for example with a optional parameter to the script if next details should be included.
The starttime, channel number and progress should be no problem though
Thanks, I did notice it was already significantly slower than getting the data direct from the database so adding the next program details would probably not be a good idea. For my purposes I will stick with the database version and use the auto thumb generator on a "on demand" basis. One possible improvement though would be to retrieve all channels if no limit parameter is specified (as it is now I think it returns 25 when not specified). Some cool stuff in there though, including the use of the logo database...nice work