Home
Home
Blog
Blog
Old Projects
Old Projects
Current Projects
Current Projects
Publications and Presentations
Publications and Presentations
Fun Stuff
Fun Stuff
Chairman Miau
Chairman Miau
Pictures
Pictures
Whats Inside?
Whats Inside?
Sooty
Other People
Polls
Polls
Disclaimer

MythTV

Here is a simple page I will keep my MythTV patches and other things.
This is not a page on freeview boxes.

Xtraview/RedHot Patch

This patch allows you to watch Xtraview and RedHot channel
patch
If it is out of date and no longer cleanly commits then email me and I will update it.

RPMs of the 0.18.1 version are also available here

Recommendation System

Actually it isn't just the recommendation system but infact a complete diff of my checkout.
patch

Channel Icons

Channel icons for the UK Mythtv DVB setup.

Mythtv database

In order to give all your MythTV channels icons and xmltv tags there is now a graphical tool (mythtv-setup). But if you are lazier then you can use my mysql database script. You will need to edit some of the entires to match your area (the default one is North West).
Download it
Run it:
#> mysql -p <uk_rt.sql
You may also want to copy this uk_rt.xmltv file over the one in your ~/.mythtv/ directory.

Zap2Myth(No longer necessary)

Convert the configuration generated by the "tzap" program to a list of channels you can feed directly into mythtv mysql database. This does assume you have a good tzap configuration. I created ~/.tzap.channels.conf by running the following command at different times during one day. In the UK running it once before 17:00 and again after 18:00 catches all channels. You will have to edit the command to suit your region.
#> ./scan -5 dvb-t/uk-WinterHill |cat  ~/.tzap/channels.conf - \
	|grep -v :0:0:[0-9]*$|sort |uniq > ~/.tzap/channels.conf.new; \
	cp -f ~/.tzap/channels.conf.new ~/.tzap/channels.conf;
Once you have a good /.tzap/channels.conf file you can run the zap2myth script. As command line parameters it takes channel lists (supplied) depending on your area. The format is pretty simple so please send me channel lists from your part of the world. Optionally you can also supply an xmltv channel file to fill. This file should be copied over your ~/.mythtv/xml_??.xmltv file. For example I run:
#> ./zap2myth.pl -x ~/.mythtv/xml_uk_rt.xmltv UK/common.channels 
	UK/regions/northwest.channels >channels.sql
#> mysql -p <channels.sql
If I wanted to add the radio channels I would also include UK/radio.channels to the command line.
Icons are assumed to be in /usr/share/mythtv/icons/. Extract the icons in the /usr/share/mythtv/ directory.
The generated sql file deleted all channel with indexes below 2000. This allows you to insert channels which will not be destroyed by an update by giving them numbers higher than 2000.