MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Electronic Program Guide » WebEPG


WebEPG everything related to WebEPG in here

Reply
 
Thread Tools Display Modes
Old 2008-01-12, 23:59   #1 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts


Question Using StartOffset

I tried using StartOffset to grab data 7 days from the current date. I am using [DAY_OFFSET] in my URL and I put <Search startOffset="7"/> in my grabber file after the URL and before Html as follows:

<Site url="http://www.zipazap.com/dgx/wblx.dll?h=1&amp;a=2&amp;ch=[ID]&amp;lz=5&amp;dt=[DAY_OFFSET]" post="" external="false" encoding="" />
<Search startOffset="7"/>
<Html>

The correct data is downloaded, but it appears in TVguide.xml and thus the EPG under the current day! Am I missing something? Should it not put it in the TVguide 7 days later?
Dadeo is offline   Reply With Quote
Old 2008-01-13, 07:45   #2 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

WebEPG always starts counting from the current date/time.

StartOffset is for sites that start numbering at 1 instead of 0. Not to get data from the future.
James is offline   Reply With Quote
Old 2008-01-13, 13:56   #3 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks James. I was afraid that was the case, but it was worth a try!
Dadeo is offline   Reply With Quote
Old 2008-01-13, 15:28   #4 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

The big problem is the way different sites handle date/time. Most sites are not a problem. However, a few do speical things. For example:

* Some sites don't use 24h time or provide am/pm they just go from 12 to 1 again.
* Many sites provide listings from the pervious day on the current day page.
* Many sites provide listings for the next day on the current day page.

To work under all these conditions. WebEPG starts at the current time and moves through the programs checking what it gets with what it expects. Fixing the times and dates up as needed.
James is offline   Reply With Quote
Reply

Bookmarks

Tags
startoffset

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 04:33.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden