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-03-12, 18:46   #1 (permalink)
Portal Member
 
Join Date: Oct 2006
Posts: 71
Thanks: 1
Thanked 0 Times in 0 Posts


Smile Grabber for Estonia

OK here is the result of that XMLTV source I've been fighting for a while. This grabber is from Estonia and so it probably works best for people living there, but there are some channels (like Discovery Channel in English ) that work well at least for the rest of the Baltic countries. There are alos some Finnish channels, but it seems that the titles and descritions are in Estonian. Anyway, here it is:

Code:
<?xml version="1.0" encoding="utf-8" ?>
<Grabber>
  <Info availableDays="0" timezone="E. Europe Standard Time" />
  <Channels>
  	<Channel id="etv@kava.ee" siteId="11" />
  	<Channel id="kanal2@kava.ee" siteId="12" />
  	<Channel id="tv3@kava.ee" siteId="13" />
  	<Channel id="tv1000@kava.ee" siteId="14" />
  	<Channel id="yle1@kava.ee" siteId="15" />
  	<Channel id="yle2@kava.ee" siteId="16" />
  	<Channel id="mtv3@kava.ee" siteId="17" />
  	<Channel id="nelonen@kava.ee" siteId="18" />  	
  	<Channel id="animalplanet@kava.ee" siteId="40" />
  	<Channel id="discoverychannel@kava.ee" siteId="41" />
  	<Channel id="discoverycivilization@kava.ee" siteId="42" />
  	<Channel id="discoveryscience@kava.ee" siteId="43" />
  	<Channel id="viasathistory@kava.ee" siteId="45" />
  	<Channel id="viasatexplorer@kava.ee" siteId="46" />
  	<Channel id="mtveesti@kava.ee" siteId="70" />
  </Channels>
  <Listing type="Xml">
    <Site url="http://xmltv.kava.ee/files/[ID]_channeldata.xml" post="" external="false" encoding="" delay="2000" />
    <Xml xpath="//programme" channel="">
      <Fields>
        <Field name="#STARTXMLTV" xmlname="start" />
        <Field name="#ENDXMLTV" xmlname="stop" />
        <Field name="#TITLE" xmlname="title" />
        <Field name="#DESCRIPTION" xmlname="desc" />
      </Fields>
    </Xml>
  </Listing>
</Grabber>
PS. A very big for James other for they help.
Sasler is offline   Reply With Quote
Old 2007-03-12, 19:23   #2 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hi Sasler,

Did you read my instructions on the channel ids? They shouldn't be unique for each site, but where possible the same across all sites.

So for example etv shouldn't be "etv@kava.ee" but instead "etv.ee". This way if there is another Estonian site in the future or someone writes a grabber for etv.ee then the ids will stay the same.

This is important for channel matching.

Thanks for all your great work

/James
James is offline   Reply With Quote
Old 2007-03-13, 08:00   #3 (permalink)
Portal Member
 
Join Date: Oct 2006
Posts: 71
Thanks: 1
Thanked 0 Times in 0 Posts


Post

Quote:
Originally Posted by James View Post
Hi Sasler,

Did you read my instructions on the channel ids? They shouldn't be unique for each site, but where possible the same across all sites.

So for example etv shouldn't be "etv@kava.ee" but instead "etv.ee". This way if there is another Estonian site in the future or someone writes a grabber for etv.ee then the ids will stay the same.

This is important for channel matching.

Thanks for all your great work

/James
Yes I've read it, severla times - I might add, but I'm having slight difficulty in grasping fully how the channel IDs should work .

Anyway here is the new version for the grabber file for Estonia:

Code:
<?xml version="1.0" encoding="utf-8" ?>
<Grabber>
  <Info availableDays="0" timezone="E. Europe Standard Time" />
  <Channels>
  	<Channel id="etv.ee" siteId="11" />
  	<Channel id="kanal2.ee" siteId="12" />
  	<Channel id="tv3@viasat.ee" siteId="13" />
  	<Channel id="tv1000@viasat.ee" siteId="14" />
  	<Channel id="tv1@yle.fi" siteId="15" />
  	<Channel id="tv2@yle.fi" siteId="16" />
  	<Channel id="mtv3@mtv3.fi" siteId="17" />
  	<Channel id="nelonen@nelonen.fi" siteId="18" />  	
  	<Channel id="animal@discoverychannel.ru" siteId="40" />
  	<Channel id="discovery@discoverychannel.ru" siteId="41" />
  	<Channel id="civilisation@discoverychannel.ru" siteId="42" />
  	<Channel id="science@discoverychannel.ru" siteId="43" />
  	<Channel id="viasathistory@viasat.ee" siteId="45" />
  	<Channel id="viasatexplorer@viasat.ee" siteId="46" />
  	<Channel id="mtveesti.ee" siteId="70" />
  </Channels>
  <Listing type="Xml">
    <Site url="http://xmltv.kava.ee/files/[ID]_channeldata.xml" post="" external="false" encoding="" delay="2000" />
    <Xml xpath="//programme" channel="">
      <Fields>
        <Field name="#STARTXMLTV" xmlname="start" />
        <Field name="#ENDXMLTV" xmlname="stop" />
        <Field name="#TITLE" xmlname="title" />
        <Field name="#DESCRIPTION" xmlname="desc" />
      </Fields>
    </Xml>
  </Listing>
</Grabber>
Here I some explanations for the channel IDs I've "invented" :

For this channels a Estonian site existed, so they should be ok:

etv.ee
kanal2.ee
tv3@viasat.ee
tv1000@viasat.ee
viasathistory@viasat.ee
viasatexplorer@viasat.ee
mtveesti.ee

These where Finnish channels, so I simply copied the names from Finnish grabbers:

tv1@yle.fi
tv2@yle.fi
mtv3@mtv3.fi
nelonen@nelonen.fi

The following where a bit tricky, since I don't understand Russian, but I think (after using Google Translation) that the Discovery Channel that we have in the Baltic's, have the same program schedule as in Russia. However, since I don't see the other channels, I'm just guessing that they too have the same schedule. To be honest, I don't even know if these other channels can be found in the same site:

animal@discoverychannel.ru
discovery@discoverychannel.ru
civilisation@discoverychannel.ru
science@discoverychannel.ru


I hope this is what you intended. Now I'll start to fix the channel IDs for the Lithuanian grabber.
Sasler is offline   Reply With Quote
Old 2007-03-15, 06:40   #4 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

thats great. Thanks for all the hard work.
James is offline   Reply With Quote
Reply

Bookmarks

Tags
estonia, grabber

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
Grabber file for Lithuania Sasler WebEPG 4 2008-03-01 05:35
Develop my own Grabber DKreeK WebEPG 21 2007-07-03 02:16
Error in grabber dasim WebEPG 2 2007-02-12 03:36
Need help writing a WebEPG grabber RubaDuck7 WebEPG 2 2006-06-21 00:16
.se WebEPG grabber SweMart The old Bugreport Forum 12 2006-06-19 01:05


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


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