XMLTV

From Gentoo Linux Wiki

Jump to: navigation, search
This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc

Contents

[edit] Default: Getting local XMLTV data

Emerging the standard xmltv now works.

First, we will take a look at the possible guide grabbers for your country:

emerge xmltv -pv

I live in the Netherlands, so I added nl and nl_wolf to my USE variable:

in /etc/make.conf:
USE="<SNIPPED USEFLAGS> nl nl_wolf"

or in /etc/portage/package.use

media-tv/xmltv nl nl_wolf

Users in Ireland should use the uk_rt flag (UK Radio Times) for terrestrial channel support.

Now emerge xmltv:

emerge xmltv

[edit] Alternative: Getting local XMLTV data for Dutch users

Another excellent guide grabber for Dutch users can be found here. It even fetches icons for each page. You have to copy the script to /usr/bin/ yourself, and possible rename the old tv_grab_nl and make a symbolic link. In the instructions, not that some commands are executed as a normal user, and some commands are executed as root.

#mv /usr/bin/tv_grab_nl /usr/bin/tv_grab_nl_old

Download tv_grab_nl_py and put it in in /usr/bin/. Make it executable.

# chmod +x /usr/bin/tv_grab_nl_py
# ln -s /usr/bin/tv_grab_nl_py /usr/bin/tv_grab_nl
$ tv_grab_nl --configure 
$ nano -w ~/.xmltv/tv_grab_nl_py.conf

[edit] MythTV

Use your favorite editor to remove unnecessary channels from the configuration file:

# mythbackend
$ mythfilldatabase --manual

[edit] Notes

  • Some XMLTV data providers, such as nl_wolf mentioned above, only allow users to fetch guide data once per day. While this is more then enough, this may explain strange behavior when setting up MythTV. If you think this is the reason your XMLTV isn't working, enter the xml-file XMLTV is trying to access into the address field of a browser.
  • JelleKalf: If you want the program data and all the info that comes with it, add $opt_slow=1 to your tv_grab_* file. * being nl for me :)</nowiki>}}