Project

General

Profile

Trying to understand/use SchedulesDirect

Added by Ed B almost 6 years ago

I have installed TvHeadend, run the scans and done the configuration, and am able to watch and record programs. I have program guide information which shows the Title and times but no decriptions or content type.

I got my nerve up and disabled the PSIP and EIT, and enabled only the SchedulesDirect grabber with the params

--config-file /home/hts/.xmltv/tv_grab_zz_sdjson.conf --days 14

I then performed the "Rerun grabbers" but I see no indication in my EPG that there is 14 days worth of data there. I do see under "EPG Grabber Channels" that the SchedulesDirect info appears to be used now. I turned on some logging and here is what the output to the log file looks like:

2018-11-09 12:13:18.723 [ INFO]:xmltv: /usr/bin/tv_grab_zz_sdjson: grab /usr/bin/tv_grab_zz_sdjson
2018-11-09 12:13:18.726 [ INFO]:spawn: Executing "/usr/bin/tv_grab_zz_sdjson"
2018-11-09 12:13:19.010 [ ERROR]:spawn: Name "Params::Validate::NO_VALIDATION" used only once: possible typo at /usr/bin/tv_grab_zz_sdjson line 238.
2018-11-09 12:13:19.035 [ ERROR]:spawn: Initializing...
2018-11-09 12:13:19.603 [ ERROR]:spawn: ** POST https://json.schedulesdirect.org/20141201/token > -200 OK
2018-11-09 12:13:20.018 [ ERROR]:spawn: ** GET https://json.schedulesdirect.org/20141201/status > -200 OK (1s)
2018-11-09 12:13:20.020 [ ERROR]:spawn: Updating lineups...
2018-11-09 12:13:20.020 [ ERROR]:spawn: Indexing channels...
2018-11-09 12:13:20.020 [ ERROR]:spawn: Updating schedules...
2018-11-09 12:13:20.692 [ ERROR]:spawn: ** POST https://json.schedulesdirect.org/20141201/schedules/md5 ==> -\|/-\200 OK
2018-11-09 12:13:20.697 [ ERROR]:spawn: Updating programs...
2018-11-09 12:13:20.768 [ ERROR]:spawn: Removing old cache entries...
2018-11-09 12:13:21.014 [ ERROR]:spawn: Writing output...
2018-11-09 12:13:31.236 [ ERROR]:spawn: Done
2018-11-09 12:13:31.370 [ INFO]:xmltv: /usr/bin/tv_grab_zz_sdjson: grab took 13 seconds
2018-11-09 12:13:31.436 [ INFO]:xmltv: /usr/bin/tv_grab_zz_sdjson: parse took 0 seconds
2018-11-09 12:13:31.436 [ INFO]:xmltv: /usr/bin/tv_grab_zz_sdjson: channels tot= 37 new= 0 mod= 0
2018-11-09 12:13:31.436 [ INFO]:xmltv: /usr/bin/tv_grab_zz_sdjson: brands tot= 0 new= 0 mod= 0
2018-11-09 12:13:31.436 [ INFO]:xmltv: /usr/bin/tv_grab_zz_sdjson: seasons tot= 0 new= 0 mod= 0
2018-11-09 12:13:31.436 [ INFO]:xmltv: /usr/bin/tv_grab_zz_sdjson: episodes tot= 0 new= 0 mod= 0
2018-11-09 12:13:31.436 [ INFO]:xmltv: /usr/bin/tv_grab_zz_sdjson: broadcasts tot= 0 new= 0 mod= 0

I am not entirely sure what I am seeing here. It looks like at least something works correctly, but should I be concerned with the entries labled as [ ERROR]?


Replies (8)

RE: Trying to understand/use SchedulesDirect - Added by Joe User almost 6 years ago

With "spawn", ALL output from the "spawned" process is printed in the logs as an "ERROR", it does not necessarily mean there is an error. It looks like it is working, and probably the reason "new=0" is because it was already recently run.

Maybe spawned process output should be of level INFO???

RE: Trying to understand/use SchedulesDirect - Added by Ed B almost 6 years ago

Thanks for the response. Shouldn't I be seeing 14 days worth of programming in the EPG though, or at least several days? All I can see there right now is times up to 8:30 tomorrow morning ...

RE: Trying to understand/use SchedulesDirect - Added by Ron L almost 6 years ago

I think to reset to a different grabber and have new results show up right away you need to stop tvheadend, delete the /home/{tvhuseraccount}/.hts/tvheadend/epgdb.v(x) file and then restart tvheadend and re-run the grabber. You may also need to re-configure the EPG source for each of your channels if they don't auto match.

RE: Trying to understand/use SchedulesDirect - Added by Ed B almost 6 years ago

I will keep this in mind. Would they eventually get updated properly if I just left things alone? I have rerun the grabber several times already, and have also restarted the service a few times along the way.

RE: Trying to understand/use SchedulesDirect - Added by Ron L almost 6 years ago

As long as you change the EPG source for your channels to the new ones that now come in from SD then it should sort itself out.

RE: Trying to understand/use SchedulesDirect - Added by Ed B almost 6 years ago

Ron L wrote:

As long as you change the EPG source for your channels to the new ones that now come in from SD then it should sort itself out.

Hate to sound all noobish, but is this something I have to do manually, or does the system do it automatically. Like right now, I am just using SD and no other grabber, and looking at the EPG Grabber Channels tab, every entry under "Module" is set to "Schedules Direct JSON API". Is that what you would expect to see, or is there more I need to do?

Thanks for ready, and replying! Greatly appreciated.

RE: Trying to understand/use SchedulesDirect - Added by Ron L almost 6 years ago

I guess the answer would be perhaps. The EPG Grabber Channels tab shows you that your EPG data is being grabbed from SD, so that part is working OK. What you need to look at is the Channels tab. On that there is an EPG Source column. Look on there and see if it is also showing the SD JSON API sources. If it's still showing the old sources then you have to correct that. Now for each channel there is an Automatically link EPG data check box. If these are all checked it is supposed to match your channel with the EPG data source that has the matching name. If the names don't match it won't link them. If you already have an EPG source set for the channel I suspect it won't change that. So if you unset the current EPG source it may reset it to the new one from SD that matches. To reset it manually you would double click on the source then uncheck the old and check the new from the drop down list and then save.

If you know you don't want to keep your old sources deleting them out of the EPG Grabber Channels tab might reset the whole thing and auto may find the new SD sources for you.

I've always had to set my EPG sources manually, however I'm using a FTA C Band setup and I have to use a hodgepodge of sources to get EPG.

RE: Trying to understand/use SchedulesDirect - Added by Ed B almost 6 years ago

Thanks for the reply Ron. I actually managed to figure that out by myself, trial and error, and have gotten things the way I think they should be now. I am starting to get a bit more confident with this app (although I probably have a much, much simpler set of requirements than a lot of users here).

    (1-8/8)