Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



11 Commits

Repository files navigation


Yet another Kodi plugin for MythTV.


I needed a simple MythTv plugin for Kodi, so here is the one I wrote.

I am sharing this in hopes that someone else may find it useful.

Kodi 18 and before

They switched to Python3 in Kodi 19.

The addon zip that works for previous versions using Python 2.x is at - download the plugin zip and follow instructions from there.

If you are using Kodi 19+ that uses Python 3, read on.

Setting up

Since you have a MythBackend running, it is assumed that you've the technical prowess to plough through the three simple steps involved.

Step 1 : Setup your BaseURL

In most cases, MythTV records to /var/lib/mythtv/recordings folder. We need to make this folder available for Kodi to do HTTP GETs.

If you have apache, the following would allow internal network to access this directory. That is, if your MythTV backend server is at IP, you'd now be able to reachhttp:// your local network.

 Alias /recordings/ "/var/lib/mythtv/recordings/"
    <Directory "/var/lib/mythtv/recordings/">
    AllowOverride None
    Require ip

(Natrually you will need to replace the IP with one that matches your internal network.)

Step 2 : Setup generate_info cronjob

Next, we need to setup a cron job that would generate /var/lib/mythtv/recordings/recordings.txt - I've two scripts with the same functionality : a python script, or a bash variant, - pick whichever you're comfortable with.

Setting up

$ wget -O /usr/local/bin/
$ chmod u+x  /usr/local/bin/
$ echo "*/15 * * * *   `whoami` /usr/local/bin/ 1>/dev/null 2>/dev/null || :" | sudo tee -a /etc/crontab

Or, setting up

$ wget -O /usr/local/bin/
$ chmod u+x  /usr/local/bin/
$ echo "*/15 * * * *   `whoami` /usr/local/bin/ 1>/dev/null 2>/dev/null || :" | sudo tee -a /etc/crontab

Please verify that you see /var/lib/mythtv/recordings/recordings.txt updated every 15 minutes, as this is an important step.

Step 3 : Install Kodi plugin Mythical

Download and install the from "Releases" tab.

By default, the plugin uses a pre-defined set of free sample videos from my server - we need to change this so it uses yours instead. Modify your $HOME/.kodi/addons/ with your BaseUrl from Step 1 above:

BaseURL = ""


  • Heavily influenced by romanvm's example plugin.
  • If your recordings are MPEG files, I suggest you setup video cache for Kodi. Here is my advancedsettings.xml:

License: GPL v.3