Difference between revisions of "XMLTV"

From MythTV Official Wiki
Jump to: navigation, search
(Australia)
m (Australia)
Line 25: Line 25:
 
# http://www.icetv.com.au (AU$3 per week subscription)
 
# http://www.icetv.com.au (AU$3 per week subscription)
 
# [http://www.cse.unsw.edu.au/~willu/xmltv/index.html Australian XMLTV grabbers] (ice + tvguide)
 
# [http://www.cse.unsw.edu.au/~willu/xmltv/index.html Australian XMLTV grabbers] (ice + tvguide)
 +
# [http://svn.whuffy.com/wiki Shepherd ] (Free : Ice,OzTivo hybrid multi source )
 
# http://immir.com/tv_grab_au (Free) (may be inactive/broken now)
 
# http://immir.com/tv_grab_au (Free) (may be inactive/broken now)
 
# http://www.onlinetractorparts.com.au/rohbags/xmltvau/ (not confirmed if working)
 
# http://www.onlinetractorparts.com.au/rohbags/xmltvau/ (not confirmed if working)

Revision as of 05:04, 4 May 2007

Setting up XmlTV for use with MythTV is documented in the MythTV HOWTO 5.2.

The purpose of this page is to cover specific issues that aren't necessarily covered in the official documentation.

Info on XMLTV http://xmltv.org/wiki/

Data Direct

With zap2it no longer providing listing information to XMLTV for North America (tv_grab_na), the only option is for the new Data Direct solution. Supported fully in version 0.15 of MythTV, the 0.14 version of MythTV, for a short time, requires a fix to continue downloading listing information successfully. More information is available in the Data Direct.


Outside North America

If you live outside the USA and Canada, there are some other sources of guide information

Import Notes for all XMLTV users

Warning.png Warning: You should not include channels in your xmltv config which are not required. This places an unnecessarily high load on both the source websites and your own system.

Australia

Refer to Australian TV Listings for further details.

  1. OzTivo Guide (Free, requires registration)
  2. http://www.icetv.com.au (AU$3 per week subscription)
  3. Australian XMLTV grabbers (ice + tvguide)
  4. Shepherd (Free : Ice,OzTivo hybrid multi source )
  5. http://immir.com/tv_grab_au (Free) (may be inactive/broken now)
  6. http://www.onlinetractorparts.com.au/rohbags/xmltvau/ (not confirmed if working)

Belgium

  1. http://users.skynet.be/jxmltv (very fast, written in Java)
  2. http://pytvgrab.sourceforge.net/
  3. http://membled.com/work/apps/xmltv/

Brazil

There are no working tv_grab perl scripts (or any other Linux native solutions) for Brazilian TV programming. A functional alternative is to use TVxb, which isn't open source or even Linux, but works well with wine (at least as far as version 1.0085).

TVxb is configurable for different countries via ini-files. Check the following page for Brazilian templates. As of today, there are some for NET (PR), and others for TVA as well.

http://www.tvxb.com/country/br-ini.html

For information on how to set it up with MythTV, check out TVxb.

Denmark

In Denmark there is a group maintaining several grabbers. This group has created the following:

Currently seven grabbers are maintained:

  • The original (tv.tv2.dk),
  • An additional written in perl (dr.dk)
  • Five written in Python (tdc.dk, tv-guiden.dk, ahot.dk, jubii.dk, ontv.dk).

The group also maintains the following:

  • A merger written in Python to combine xmltv information from multiple sources, to obtain the highest possible quality (merge end time of last show from tdc.dk with episode numbers from tv2.dk and long descriptions from tv-guiden.dk etc.).
  • A "combined" grabber, which configures each of the other grabbers and runs them in parallel and then merge the output. That combined grabber does also support the swedish grabber (swedb).

The mailing list is used to inform users when there are updates or problems with the current grabbers.

Germany/Austria

The XMLTV Data usefull in Austria/ Germany you get with tv_grab_de_tvtoday. It has the episodes of series all mixed up in he main title. The part Number ('Teil') of the series are not always nicely structured and spill over to the title and subtitle field. This makes it quite impossible to record every sequence of a series (if you do not want to make a time based recording on a single channel). I decided to write a small mySQL script to update the programm data after performing the daily load of the xmltv file. This mySQL statment is batched after the daily mythfilldatabase entry in my CRON Script. The Statment looks for sequences That have the Word 'Teil' in it. This is the German word for 'Part'.

UPDATE IGNORE program
    SET    chanid=chanid
          ,starttime=starttime
          ,subtitle= concat_ws(' ', substring_index(substring(title,locate('Teil', title)-6,4+20), ' ', -2), subtitle )
          ,title= left(title,locate(substring_index(substring(title,locate('Teil', title)-6,4+20), ' ', -2),title) -1)
    WHERE title like '%Teil%';

Ther is also another Grabber available for Germany: "Prisma". More info at http://www.mythwiki.de/index.php/HOWTO_Prisma_EPG. Download via http://sfr.mythwiki.de or http://hamsta.net/myth_epg.html. The Prisma grabber is slightly faster than the TV Today grabber and allows to fetch 4 weeks in advance compared to 1 week for the TV Today grabber.

Italy

The grabber in the official xmltv distribution works correctly.

Netherlands

Netherlands (Holland) specific info can be found here: http://www.mythtv.org/wiki/index.php/Netherlands

New Zealand

A c# application to scrape sites can be found here, runs fine using mono on linux

  1. http://www.reven.co.nz/

Norway

To use the XMLTV Data for Norway, you will have to use:

tv_grab_no --configure --config-file=tv_grab_no.xmltv

It will then ask you what channels you would like. Next copy the file to your .mythtv directory.

Next, you have to get the tags for each channel.. So let's fetch the data and save it to a tmp file.

tv_grab_no --config-file=tv_grab_no.xmltv --list-channels --output=channels.tmp

Open that file and write down each tag for each channel. Look for lines like:

<channel id="nrk1.nrk.no">

As you will see in the file: nrk1.nrk.no is for Nrk1.

So now when you run mythtv-setup --> channel editor, in order to capture Nrk1, you need to set the XMLTV ID to nrk1.nrk.no.

Do this for all the channels. When you are finally finished with doing all that, just run

mythfilldatabase

When its finished, start up mythfrontend.

South Africa

See the South Africa MUG WIKI page for details.

Spain

The included parser works (www.elpais.es/parrillatv/index.html). Although it has been found some inconsistencies with the real programation.

One alternative, abeit not been as complete: http://www.miguiatv.com/todos-los-canales.html

Sweden

  1. http://tv.swedb.se/

Switzerland

  1. XMLTV_CH: Info on available grabbers and icon listings.

United Kingdom

  1. Uk_xmltv

A brief guide to configuring tv_grab_uk_rt is available at the link above.