You are here

Can timezone offset be set in yo.tv.ini?

5 posts / 0 new
Last post
Graburrz
Offline
Donator
Joined: 8 years
Last seen: 1 week
Can timezone offset be set in yo.tv.ini?

Looking for souces of program data since directv made it difficult to grab its data, I'm looking at yo.tv.  I was able to generate a US channels xml, and subsequelty a guide.xml from selected channels.  But after checking 10 -15 program times in the grab vs what I'm seeing, and what the Tv.com website guide shows for US East (New York), I find they're all being displayed 1 hour earlier.

I've been able to correct that by changing the timezone and/or offset in other source's inis. In the yo.tv ini the value for timezone appears to be this:

* site {url=yo.tv|timezone=America/New_York|maxdays=14.14|cultureinfo=en-US|charset=UTF-8|titlematchfactor=50|nopageoverlaps}

And the directions say to also change the  "offset=" here:

* url_index{url|http://##COUNTRY##.yo.tv/api/GS?cid=##CHANNEL_ID##,&offset=-5,&day=|urldate|}

But I've tried "timezone=America/Chicago" and "&offset=-6" in the yo.tv ini amongst others, and it's had no affect on the program data grabbed.  Data grabbed from altered inis always matches the data grabbed from the default ini.

By default, the ini is set to US/New York.  So it's odd the program times are off.  Am I missing something here?

Kind Thanks.

Graburrz
Offline
Donator
Joined: 8 years
Last seen: 1 week
Blackbear199 wrote:

use the ini in this post..

http://www.webgrabplus.com/content/yotv-premiere-error

and use the included yo.tv_info.txt(its a new tutorial i wrote)

you dont change the timezone setting in the ini anymore so leave it as it is.

Okay.  No luck yet.  Here's what I've done.

* Updated WG to 2.0
* Downloaded yo.tv__3.ini from the forum link your provided
* Opened folder: .. \AppData\Local\WebGrab+Plus\siteini.pack\International
* Renamed the original yo.tv to yo.tv.dis
* Copied yo.tv__3.ini there and renamed it yo.tv.ini
* Removed * from @auto_xml_channelprovider_start to @auto_xml_channelprovider_end and saved the ini.
* Opened existing yo.tv_countries.xml
* Copied the the country line for US to my config
* Set the site_id / zip to: site_id="COUNTRY:us,10001" and saved it.
* Ran Webgrab

However wg reported errors:
* no index page data received from United States
* The remote server returned an error: (500) Internal Server Error.

A yo.tv.channels.xml file was generated but did not contain US providers.

As a test I copied the example country line for Brazil from your yo.tv__3.txt instruction file to my config and ran wg.  That generated a good yo.tv.channels.xml file with Brazilian providers.  So I guess I'm set up correctly, but the site is having problems pushing US grabs.

I did also start the process by going to yo.tv and setting up US, the 10001 zip and loaded the guide thinking maybe wg might now be finding cookies somehow automatically.  But now I wonder if that's the case after grabbing what looks to be a proper list of provideers for Brazil.

Graburrz
Offline
Donator
Joined: 8 years
Last seen: 1 week
Blackbear199 wrote:

its not..
<channel update="i" site="yo.tv" site_id="COUNTRY:us,10001" xmltv_id="United States">United States</channel>
its
<channel update="i" site="yo.tv" site_id="COUNTRY:us,ZIPCODE:10001" xmltv_id="United States">United States</channel>

Lol... Oh my tired and blurry eyes.  That could throw a wrench in the works couldn't it? wink Got a good file now.  Brillant work as usual Blackbear, and thanks so very much for spotting that for me.  On to see how the program data grabs now.

Graburrz
Offline
Donator
Joined: 8 years
Last seen: 1 week

Lol...  Indeed.  I've spent whole days and nights on ironing out wrinkles in my config the past week, and end up wondering where I am when I eventually take a break.  But looking at all you've produced, I can only imagine how much time in your own personal cloud you've spent over the years.  Absolutely brilliant output from it all though.  smiley Hearty thanks for all the work you've put into this BB.  Time to go find that donation link and enhance my thanks

Graburrz
Offline
Donator
Joined: 8 years
Last seen: 1 week

That dawned on me as I posted and made my way to the donation link BB.  Yes... Kudos to Jan, Francis, 1NSdbZVbpZDX, Willy, yourself and the rest of the team here who've put so much creative talent, time and effort into putting togther and maintaining all of the components of this software and these support forums. yessmiley  And thank you again for helping me out with this BB.  I've successfully grabbed a group of channels from yo.tv and so far they're all looking good in my guide.

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