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 2007-04-19, 17:25   #1 (permalink)
Portal Member
 
Hawkeye's Avatar
 
Join Date: Jan 2005
Location: Halle - Germany
Age: 30
Posts: 269
Thanks: 17
Thanked 4 Times in 4 Posts

Country:

My System

Send a message via ICQ to Hawkeye
fixed New issues with tvtoday.de fixed + Channel merging

Hi James,

I've got new issues with the tvtoday.de grabber:
First of all: they changed the detail-view (a hyperlink was added).

Then I discoverd that not the whole program was grabbed. At first I thought that the data is not available. But after some research I found out that not all data is shown on one page if it doesn't fit: for example try this link. You will find out that the program stops at 19:55. The rest is on the next page - I found out that the parameter offset is responsible for which page is shown. So I used [PAGE_OFFSET] to fix this. But not all channels have two pages...

I've attached the new fixed grabber file.

Now I've got a question regarding the merging of channels: How should I set the time?
Here are two ways how I tried it:
Code:
  <section name="MergeChannels">
    <entry name="Count">1</entry>
  </section>
  <section name="Merge1">
    <entry name="Channels">2</entry>
    <entry name="DisplayName">Ki.Ka + ZDF doku</entry>
    <entry name="Channel1">kika.de</entry>
    <entry name="Start1">06:00</entry>
    <entry name="End1">20:55</entry>
    <entry name="Channel2">zdfdoku@zdf.de</entry>
    <entry name="Start2">21:00</entry>
    <entry name="End2">05:45</entry>
  </section>
Code:
  <section name="MergeChannels">
    <entry name="Count">1</entry>
  </section>
  <section name="Merge1">
    <entry name="Channels">2</entry>
    <entry name="DisplayName">Ki.Ka + ZDF doku</entry>
    <entry name="Channel1">kika.de</entry>
    <entry name="Start1">06:00</entry>
    <entry name="End1">21:00</entry>
    <entry name="Channel2">zdfdoku@zdf.de</entry>
    <entry name="Start2">21:00</entry>
    <entry name="End2">06:00</entry>
  </section>
In both ways the show which starts on ZDF doku at 21:00 and the one which starts on Ki.Ka at 06:00 are lost...

for your efforts.
__________________
I didn't do it, nobody saw me do it, there's no way you can prove anything!!!


Last edited by Hawkeye; 2007-04-23 at 16:30. Reason: Deleted attachment
Hawkeye is offline   Reply With Quote
Old 2007-04-20, 15:34   #2 (permalink)
Portal Member
 
Hawkeye's Avatar
 
Join Date: Jan 2005
Location: Halle - Germany
Age: 30
Posts: 269
Thanks: 17
Thanked 4 Times in 4 Posts

Country:

My System

Send a message via ICQ to Hawkeye
Lightbulb

As I wrote not all channels or better not all days on a channel have programs on more than one page - this caused the grabber to stop the search for this channel and throw an error:
Code:
2007-04-20 12:09:57.796875 [Info.][1]: WebEPG: Reading http://www.tvtoday.de/program2007?format=list&offset=1&date=21.04.2007&slotIndex=all&genre=&channel=ARTE POST: 
2007-04-20 12:09:59.765625 [Info.][1]: WebEPG: No Listings Found
2007-04-20 12:09:59.765625 [Info.][1]: WebEPG: ChannelId: arte-tv.com grabber error
So I changed the grabber file again: The parameter slotIndex can also be set to a number from 0 to 5. This indicates the time slot which is shown, e.g. 0 --> from 5 am to 2 pm. I now use the [PAGE_OFFSET] for this parameter and it works very well.
__________________
I didn't do it, nobody saw me do it, there's no way you can prove anything!!!


Last edited by Hawkeye; 2007-04-20 at 19:52. Reason: Deleted attachment
Hawkeye is offline   Reply With Quote
Old 2007-04-20, 15:49   #3 (permalink)
Portal Member
 
Hawkeye's Avatar
 
Join Date: Jan 2005
Location: Halle - Germany
Age: 30
Posts: 269
Thanks: 17
Thanked 4 Times in 4 Posts

Country:

My System

Send a message via ICQ to Hawkeye
Seems I was too quick posting that it would work very well - some channels don't have programs in every slot so the grabber stops again
__________________
I didn't do it, nobody saw me do it, there's no way you can prove anything!!!

Hawkeye is offline   Reply With Quote
Old 2007-04-20, 19:51   #4 (permalink)
Portal Member
 
Hawkeye's Avatar
 
Join Date: Jan 2005
Location: Halle - Germany
Age: 30
Posts: 269
Thanks: 17
Thanked 4 Times in 4 Posts

Country:

My System

Send a message via ICQ to Hawkeye
Thumbs up

In Germany we've got a saying:
Quote:
Alle guten Dinge sind drei. (Third time is a charm.)
So I think I finally got it: I got back to my first try and removed the search parameter (start and end page) and it works... (Yes I said that already before but this time I mean it... )
Attached Files
File Type: xml www_tvtoday_de.xml (8.6 KB, 22 views)
__________________
I didn't do it, nobody saw me do it, there's no way you can prove anything!!!

Hawkeye is offline   Reply With Quote
Old 2007-04-21, 12:54   #5 (permalink)
Portal Member
 
Join Date: Apr 2007
Age: 34
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Thumbs up Good job!

Hawkeye,

your updatet version of the tvtoday grabber file made my day!
It works perfect - even the program details are now grabbed again!

In other words:
Danke - ich würd sagen, das hast Du perfekt hinbekommen!
thanatos is offline   Reply With Quote
Old 2007-04-21, 17:01   #6 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hawkeye thanks for all your work. I've added the grabber to SVN and made a small adjustment to the grabber and code to make it more efficient.

<Search maxlistings="" /> can now be used for PAGE_OFFSET with this set to 30 it will keep grabbing pages until there are less then 30 items on the page. This stops it grabbing the next empty page like it does now.

As for your problem with the merging. Inside the time range is defined as less/greater than the start/end but not equal to. So try this:
Code:
<section name="MergeChannels"> 
  <entry name="Count">1</entry> 
</section> 
<section name="Merge1"> 
  <entry name="Channels">2</entry>
  <entry name="DisplayName">Ki.Ka + ZDF doku</entry>
  <entry name="Channel1">kika.de</entry>
  <entry name="Start1">05:59</entry>
  <entry name="End1">21:00</entry>
  <entry name="Channel2">zdfdoku@zdf.de</entry>
  <entry name="Start2">20:59</entry> 
  <entry name="End2">06:00</entry>
</section>
James is offline   Reply With Quote
Old 2007-04-22, 14:11   #7 (permalink)
Portal Member
 
Hawkeye's Avatar
 
Join Date: Jan 2005
Location: Halle - Germany
Age: 30
Posts: 269
Thanks: 17
Thanked 4 Times in 4 Posts

Country:

My System

Send a message via ICQ to Hawkeye
Default

Okay, I'll try it like that.
__________________
I didn't do it, nobody saw me do it, there's no way you can prove anything!!!

Hawkeye is offline   Reply With Quote
Old 2007-04-23, 16:30   #8 (permalink)
Portal Member
 
Hawkeye's Avatar
 
Join Date: Jan 2005
Location: Halle - Germany
Age: 30
Posts: 269
Thanks: 17
Thanked 4 Times in 4 Posts

Country:

My System

Send a message via ICQ to Hawkeye
fixed

It works like a charm.
__________________
I didn't do it, nobody saw me do it, there's no way you can prove anything!!!

Hawkeye is offline   Reply With Quote
Reply

Bookmarks

Tags
channel, fixed, merging, tvtodayde

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
WegEPG Time issues. Fixed ? jcee WebEPG 16 2007-04-24 13:20
XMLTV mit TVTODAY marsupilami0815 Software/Codecs Mediaportal 2 2006-10-25 22:30
Twinhan DVB-C 2033 channel scan doesn't work [FIXED] kristoffer General Support 5 2006-07-10 15:26
[FIXED] bug with resizing channel thumbs in EPG Sentinel Skins 2 2006-06-21 17:58
First Tv channel no dvb epg data - Fixed Nemulate WebEPG 1 2006-01-31 22:15


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


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