Page tree

Search

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.23 
            Releasenews | Download
 MediaPortal 2.2.2
            Releasenews | Download

This is not the only way to get Swedish EPG-data but it's a procedure that works very well for me and is possible to automate.

  • Download XMLTV from: http://sourceforge.net/project/showfiles.php?group_id=39046
  • Extract all files in MediaPortal\XMLTV\ . It should be safe to overwrite files in this folder but there is no harm in in making a backup first.
  • Create a text document with Notepad. Copy the text below to the text document. The file should be named tv_grab_se_swedb.conf and must reside in the folder MediaPortal\XMLTV\.xmltv\

If you are using a Swedish Windows XP you may have to edit the first line in the configuration file from "Program Files" to "Program". This config file reads channels that are in ComHem analog but you can easily change it to read the channels you want. # mean that the row is commented out and the channel is not to be read.

You can also let XMLTV make the configuration file by executing the following command: xmltv.exe tv_grab_se_swedb --configure

---copy--- this line should not be copied

cache-dir C:\Program Files\Team MediaPortal\MediaPortal\xmltv/.xmltv/cache

root-url http://tv.swedb.se/xmltv/channels.xml.gz

  1. channel canalplus.se
  1. channel cmorefilm.canalplus.se
  1. channel cmorefilm2.canalplus.se
  1. channel cmorehd.canalplus.se
  1. channel film.canalplus.se
  1. channel film2.canalplus.se
  1. channel film3.canalplus.se
  1. channel sport.canalplus.se
  1. channel disneychannel.se
  1. channel toon.disneychannel.se
  1. channel sport.expressen.se

channel kanal5.se

  1. channel nickelodeon.se
  1. channel viasat-nature-nick.spa.se
  1. channel barnkanalen.svt.se
  1. channel extra.svt.se

channel kunskapbarn.svt.se

  1. channel kunskapskanalen.svt.se

channel svt1.svt.se

channel svt2.svt.se

channel svt24.svt.se

channel tv4.se

  1. channel fakta.tv4.se
  1. channel film.tv4.se

channel plus.tv4.se

  1. channel tv400.tv4.se
  1. channel tv8.se
  1. channel explorer.viasat.se
  1. channel history.viasat.se
  1. channel nature.viasat.se
  1. channel sport1.viasat.se
  1. channel sport2.viasat.se
  1. channel sport3.viasat.se
  1. channel ticket1.viasat.se
  1. channel tv1000.viasat.se
  1. channel action.tv1000.viasat.se
  1. channel classic.tv1000.viasat.se
  1. channel family.tv1000.viasat.se
  1. channel nordic.tv1000.viasat.se

channel tv3.viasat.se

channel tv6.viasat.se

  1. channel ztv.se
  1. channel nordic.animalplanet.discovery.com
  1. channel nordic.civilisation.discovery.com

channel nordic.mix.discovery.com

  1. channel nordic.discovery.com
  1. channel nordic.science.discovery.com
  1. channel nordic.travel.discovery.com

channel eurosport.com

  1. channel eurosport2.eurosport.com

channel nordic.mtve.com

  1. channel vh1.com
  1. channel aljazeera.net

---stop copy--- this line should not be copied

You may have to remove all extra linefeeds (this wiki is not a buddy of me).

To run the EPG-grab automatically I have the following batch file in MediaPortal\XMLTV\ named HamtaTVguide.bat with the only row:

---copy--- this line should not be copied

xmltv.exe tv_grab_se_swedb > tvguide.xml

---stop copy--- this line should not be copied

Create that file and test it by doubleclicking it. This will produce a file with your chosen channels called tvguide.xml that MediaPortal can use. I have this batch file running as a scheduled task once a day.

If you have this batch file running as a scheduled task you don't have to (or should) set up MediaPortal to grab EPGs.

The time-zone settings may be a little screwed up. Try to uncheck use XMLTV-timezone in MediaPortal configuration. If that doesn't work you can compensate the time in the settings (probably with -2 hours). When experimenting with the time-zone settings you may have to clear the TV-database to see any change.

Feel free to edit this post if you think something needs to be more clear.

   

 

This page has no comments.