This patch populates a programuri column in the program table of MythTV's
database with a transport-specific URI for the program. At present, only
dvb: URIs are supported, but other transports could do something similar.
Because modifying the MythTV database schema through normal means would involve a change to the schema version number, and this would break compatibility with future upstream updates to MythTV, altering the database schema must be performed manually.
In order to do this, execute the following SQL:
ALTER TABLE `program` ADD `programuri` TINYTEXT DEFAULT NULL;
To apply the patch, change to the top-level mythtv directory
(which contains themes, mythtv, etc.), and
run:
patch -p0 < /path/to/00-programuri.diff
If you’re already inside the mythtv/mythtv directory (that is, you have
a libs subdirectory in the current directory), you can strip off
the first path component of the patch when applying:
patch -p1 < /path/to/00-programuri.diff