You are here

[SOLVED] OnTvTonight ini not grabbing present time for listings

22 posts / 0 new
Last post
ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week
[SOLVED] OnTvTonight ini not grabbing present time for listings

It instead grabs many hours backward. Additionally, I keep getting this error:

[ Info ] i=index .=same c=change g=gab r=replace n=new
[ Info ]
[ Info ]
[ Info ] Group (0) :
[ Info ] update requested for - 1 - out of - 1 - channels for 2 day(s)
[ Debug ]
[ Info ] ( 1/1 ) ONTVTONIGHT.COM -- chan. (xmltv_id=WJLP MeTV Toons) -- mode Incremental
[Warning ]
[Warning ] !! -- WARNING : ontvtonight.com doesn't allow epg grabbing !!
[Warning ] it is advised to disable this channel / site from your channel list
[Warning ]
[ Debug ] skipped : last show, no next startime to use as stop
[ Info ]
[ Info ] Summary for update of WJLP MeTV Toons
[ Info ] missing shows added 0
[ Info ] changed shows updated 0
[ Info ] new shows added 67
[ Info ] unchanged shows inspected 0
[ Info ] total after update 67

[ Debug ]
[ Debug ] 67 shows in 1 channels
[ Debug ] 0 updated shows
[ Debug ] 67 new shows added

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

did you see remarks in siteini?
@Remarks: timezone= on site {xxx} set to timezone of pc running webgrab.

ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week

You mean like this?

* @Remarks: timezone= on site {EST} set to timezone of pc running webgrab.

Because I tried that and it still doesn't correct it for me.

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

to find timezone change to timezone=? and do a wg++ run, it will show you in webgrab log all timezones, select and change in the siteini the one that is correct for your location. Please note this refer to timezone of the computer running wg++
PS
no need to post siteini we have siteini.pack

ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week

I followed the instructions and I still don't get the correct time.

ini:
site {url=ontvtonight.com|timezone=UTC-05:00|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}

Log:
[ Info ] For License request/update data, see WGLicense.log.txt
[ Info ] Checking License ..
[ Info ] - UserName "ghostd580"
[ Info ] - Program benefits setting "donator_license"
[ Info ] - If you want more, see http://webgrabplus.com/faq#faq_4768
[Warning ] timezone=UTC-05:00 mapped with timezone_id "US/Eastern"

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

I see you use incremental in first post, this mode will not fix the time unless you cancel xml and run from scratch
see documentation
https://webgrabplus.com/documentation/configuration/webgrabconfigxml#con...
try update f

ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week

Not sure how to cancel xml, but I did run update f and it still provides me with the incorrect time.

log:
[Warning ] timezone=UTC-05:00 mapped with timezone_id "US/Eastern"

[ Info ] ( 1/1 ) ONTVTONIGHT.COM -- chan. (xmltv_id=WJLP MeTV Toons) -- mode Force

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

found a small error, anyway i made a list with my timezone (i am in italy) so i used timezone=Europe/Rome and my guide is ok with your picture. Please redownload siteini. What is your State/city?

Attachments: 
ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week

Downloaded the latest ini for ontvtonight but I get this error after running it:

[ Info ] Group (0) :
[ Info ] update requested for - 1 - out of - 1 - channels for 4 day(s)
[ Debug ]
[ Info ] ( 1/1 ) ONTVTONIGHT.COM -- chan. (xmltv_id=WJLP MeTV Toons) -- mode Incremental
[Warning ] error downloading page: Response status code does not indicate success: 404 (Not Found).
[Warning ] error downloading page: Response status code does not indicate success: 404 (Not Found).
[Warning ] error downloading page: Response status code does not indicate success: 404 (Not Found).
[Warning ] error downloading page: Response status code does not indicate success: 404 (Not Found).
[Error ] Unable to update channel WJLP MeTV Toons
[Critical] Generic syntax exception:
[Critical] message:
[Error ] no index page data received from WJLP MeTV Toons
[Error ] unable to update channel, try again later
[ Info ] Existing guide data restored!
[ Debug ]
[ Debug ] 0 shows in 1 channels
[ Debug ] 0 updated shows
[ Debug ] 0 new shows added

By the way, I'm using the default ini's zipcode and timezone, which is in New York, New York.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours
ghostd580 wrote:

Downloaded the latest ini for ontvtonight but I get this error after running it:
[ Info ] Group (0) :
[ Info ] update requested for - 1 - out of - 1 - channels for 4 day(s)
[ Debug ]
[ Info ] ( 1/1 ) ONTVTONIGHT.COM -- chan. (xmltv_id=WJLP MeTV Toons) -- mode Incremental
[Warning ] error downloading page: Response status code does not indicate success: 404 (Not Found).
[Warning ] error downloading page: Response status code does not indicate success: 404 (Not Found).
[Warning ] error downloading page: Response status code does not indicate success: 404 (Not Found).
[Warning ] error downloading page: Response status code does not indicate success: 404 (Not Found).
[Error ] Unable to update channel WJLP MeTV Toons
[Critical] Generic syntax exception:
[Critical] message:
[Error ] no index page data received from WJLP MeTV Toons
[Error ] unable to update channel, try again later
[ Info ] Existing guide data restored!
[ Debug ]
[ Debug ] 0 shows in 1 channels
[ Debug ] 0 updated shows
[ Debug ] 0 new shows added
By the way, I'm using the default ini's zipcode and timezone, which is in New York, New York.

404 could be a dns problem, if doesn't find the page, try setting you pc dns with 8.8.8.8 (google dns) and 208.67.222.222 (opendns)

ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week

Changed DNS and it still gave me the error

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours
ghostd580 wrote:

Changed DNS and it still gave me the error

can you post your config (without license) and your WebGrab++.log.txt Do not copy/paste.
Thanks

ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week

Here they are

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours
ghostd580 wrote:

Here they are

Here you have the wrong channel line, the correct is the one at post #7

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 1 week

i'm not sure which blind person is leading the other blind person.

if anyone bothered to create a new channel list the correct format is site _id="##1430812096/wjlp-metv-toons"
obviously the channel list in the pack is a old one from a previous ini(wonder how that cudda ended up still there?).
mat8861 changed the ini to use site _id="/guide/listings/channel/1430812096/wjlp-metv-toons"
doing so breaks the ini because the ## is needed for canada providers.
example
site_id="/ca##69046840/tfo-tv-ontario"

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

I just tested the line the user posted at post #7, which i supposed it was correct since was grabbing epg. Thanks for pointing out it was incorrect.
New channel list sample here:
https://github.com/SilentButeo2/webgrabplus-siteinipack/tree/master/site...

@ghostd580
redownload ini or remove extra / after ontvtonight.com on url_index line
url_index {url|https://www.ontvtonight.com|channel|.html?dt=|urldate|}

ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week

Downloaded the new ini and am still not getting the correct current time. For comparison, tvguide.com provides the current time at the current moment, which is what I want from ontvtonight.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

i saw they transmit on antenna local so made a list, used the channel ="##1430812096/wjlp-metv-toons
and it match with site metv toons, all attached.
If your player doesn't convert time you may run xmltv_time_modify
https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/post...

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 1 week

hmm,it doesnt match.
your trying to say a show thats on at 5pm est time(utc-0400) is on at the time time in italy(utc+0200)
5pm utc-0400 is 11:00pm in italy.

ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week

I see, but I just noticed something - ontvtonight ini seems to grab EST listings and syncs them at their correct times without xml_time_modify, but when its used to grab PST listings (I am currently in western America, don't want to give too much info on my location), it tends to grab yesterday's listings (04/05/25) by one hour before midnight but labels them as today (04/06/25) and labels today's listings as tomorrow and so forth, causing my NEXTPVR guide to read them at the incorrect hours and even days. What should I do?

Also, xml_time_fixer doesn't seem to be correcting the xml and I keep getting this error. Am I doing something wrong with it?

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 1 week

yes,all kinds of confusing stuff going on.
this should work.

****do not change the timezone,leave it as timezone=UTC

Attachments: 
ghostd580
Offline
Donator
Joined: 2 weeks
Last seen: 1 week

It works! Thank you so much for fixing this problem! Really appreciate it!

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl