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-01-28, 04:57   #1 (permalink)
MP Donator
 
Join Date: Jan 2007
Location: Stockholm
Posts: 502
Thanks: 5
Thanked 10 Times in 10 Posts

Country:

My System

Default How to customize end time in Grabber file_

Hi!

As you know sometimes a program without an end time will extend to the next program in the EPG. The webpage I am looking at provide end time when the program is shorter than the slot before the next show starts, see http://svt.se/svt/jsp/Crosslink.jsp?...=true&x=19&y=4.

Since this end time is "optional" I'm not sure how to write my grabber to find it. For most of the programs there won't be an end time and it should extend to the next show, but for some few occasions there is an end time in the EPG that I would like to catch and process.

Any ideas or suggestions?

Thanks

/Peter
petsa is offline   Reply With Quote
Old 2007-01-28, 04:58   #2 (permalink)
MP Donator
 
Join Date: Jan 2007
Location: Stockholm
Posts: 502
Thanks: 5
Thanked 10 Times in 10 Posts

Country:

My System

Default I forgot...

I was thinking perhaps I can use a regexp and <search> but I'm not quite sure how to set it up.

/Peter
petsa is offline   Reply With Quote
Old 2007-01-28, 08:47   #3 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hi Petsa,

Here is a template that seems to work for me:

Tags="TP"
Code:
<tr>
    <td><#START><br /><#END:-,></td>
    <td><h2><a ><#TITLE></a></h2>
    <div>
        <p><#DESCRIPTION>
        </p>
        <p>Textat sid. 793</p>
    </div></td>
    <td><img  /></td>
 </tr>
Let me know when you have it all working and I'll include it in the SVN

/James
James is offline   Reply With Quote
Reply

Bookmarks

Tags
customize, end, grabber, time

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
MP & XBMC intergration scripts v0.6d Update 4-MAR-07 thechad Plugins 179 2008-03-18 04:47
XMLTV grabber for Belgium Anonymous WebEPG 42 2007-08-04 08:51
TV function not running properly kermit5 General Support 21 2006-10-03 09:12
dvr-ms file is way too small smeghead General Support 3 2006-06-15 08:15
Hauppauge remote, not working. Haplo General Support 17 2006-02-18 05:24


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


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