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-05, 20:32   #11 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I found a new site that lists over 150 channels in India and seems very accurate. Before I go ahead and make grabber files for each channel separately, I thought it might be easier if I could use the one site.

However, it has an interesting way of specifying the dates, so I don't know if it will work with WebEPG. The site is www.zipazap.com and it has both a multichannel grid or listings for individual sites.

The intial day for the MUTLIGRID page opens with the URL
'http://www.zipazap.com/dgx/wblx.dll?h=1&a=37' but subsequent days are
'http://www.zipazap.com/dgx/wblx.dll?h=1&a=37&dt=47812530&chi=0'
'http://www.zipazap.com/dgx/wblx.dll?h=1&a=37&dt=478276b0&chi=0'

The Single Channel page opens withe the URL:
'http://www.zipazap.com/dgx/wblx.dll?h=1&a=2&ch=22&dt=477fd3b0' subsequent days are
'http://www.zipazap.com/dgx/wblx.dll?h=1&a=2&dt=47812530&Ch=22'
'http://www.zipazap.com/dgx/wblx.dll?h=1&a=2&dt=478276b0&Ch=22'

It looks easy to specify the channel, but can I use WebEPG for dates like this? If so, can anyone tell me how? Thanks for any help you can give me!
Dadeo is offline   Reply With Quote
Old 2008-01-10, 07:36   #12 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I've done some more analysis on the above site (www.zipazap.com). The date codes only appear in the url when you switch channels in the single channel view. However, you can access any of the pages by using the date code and channel id in the url (as above).

In the date (dt=) I don't know what 47 is, but the 8 is a week reference. The guide has 14 days data. The first 8 days are referenced by 8 (478...) and then the next 6 days are referenced by 9 (479...). I think this is the same every time I access the site (it just counts from the current day).

After that I am lost. I don't recognize the pattern of the rest of the dates. Here is a list of the current date codes. I can't make sense of the last five characters. Can anyone help?


478462e0 Wednesday 9th January
4785b460 Thursday 10th January
478705e0 Friday 11th January
47885760 Saturday 12th January
4789a8e0 Sunday 13th January
478afa60 Monday 14th January
478c4be0 Tuesday 15th January
478d9d60 Wednesday 16th January
478eeee0 Thursday 17th January
47904060 Friday 18th January
479191e0 Saturday 19th January
4792e360 Sunday 20th January
479434e0 Monday 21st January
47958660 Tuesday 22nd January
4796d7e0 Wednesday 23rd January
Dadeo is offline   Reply With Quote
Old 2008-01-10, 07:47   #13 (permalink)
MP Donator
 
vuego's Avatar
 
Join Date: Aug 2006
Age: 7
Posts: 326
Thanks: 70
Thanked 16 Times in 15 Posts

Country:

My System

Default

Looks like the amount of seconds since 1970-01-01 in hex.

24 h = 1440 min = 86400 seconds = 15180 in hex

If you start calc.exe, switch to hex mode, start at 478462e0 and add 15180 in every step you'll end up at the values you specified
vuego is offline   Reply With Quote
Old 2008-01-10, 12:31   #14 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts


Exclamation Enter Epoch Time in Hex?

You are a genius! That's it perfectly! Even the first date is the hex for the number of seconds since 1970-01-01!

Now, how can I enter that as a date in the URL? I tried [EPOCH_TIME] but of course it enters it in decimal. Is there any way to tell WebEPG to enter it in hex?
Dadeo is offline   Reply With Quote
Old 2008-01-12, 09:48   #15 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts


fixed

Well I thought I would try [DAY_OFFSET] and it worked perfectly! Go figure! Good old trial and error, stab in the dark, needle in a haystack.... I could go on!

It wouldn't have thought of it without your tip Vuego. Thanks again!
Dadeo is offline   Reply With Quote
Reply

Bookmarks

Tags
customize, india, webepg

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Customize Menu Structure hobbes487 Improvement Suggestions 4 2008-04-26 17:53
Language not accurate : how to customize ? chris33f MediaPortal 1 Talk 6 2007-09-23 16:42
Customize the output? kiesow Improvement Suggestions 2 2007-09-10 18:32
My TV Setup for INDIA mrprakash Hardware Selection Help 1 2007-06-03 20:36
Customize slideshow zooming marshall Improvement Suggestions 0 2006-08-30 04:02


All times are GMT +1. The time now is 03:50.


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