MythTV PVR/DVB-EIT-categories

XBMC PVR and the MythTV addon only supports DVB-SI EIT categories. In case you get your guide data from other sources (like xmltv), the genre names show up as Other/Unknown and you will not get a colored EPG. MythTV (MythFrontend and MythWeb) however supports colors other categories better.

This page describes an approch for getting Kodi to recognize your categories by replacing the categorys in the MythTV database by the corresponding DVB-SI EIT categories.

You need to setup MythTV to run a wrapper script as  replacement. This wrapper script will load a  that takes care of the category adaptions. Since the categories depend on the source of your guide, you will have to adapt  to match your needs.

Mythfilldatabase replacement
MythTV backend needs to be configured to use  as replacement:

Source specific categories
The SQL file  does the category conversion. Here are some examples for the conversion script. Most likely they will have to be adapted to match your guide source.

You can get all currently used categories from your database with the following command: