<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Teeedubb</id>
	<title>Official Kodi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Teeedubb"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Teeedubb"/>
	<updated>2026-07-02T17:26:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=MythTV_PVR/BuildFromSource&amp;diff=67405</id>
		<title>MythTV PVR/BuildFromSource</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=MythTV_PVR/BuildFromSource&amp;diff=67405"/>
		<updated>2014-01-01T23:54:45Z</updated>

		<summary type="html">&lt;p&gt;Teeedubb: /* Build MythTV addon on Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* The addon is part of XBMC&#039;s official addon repository: https://github.com/opdenkamp/xbmc-pvr-addons&lt;br /&gt;
* The addon&#039;s development repository is https://github.com/fetzerch/xbmc-pvr-addons. You will also find the addon&#039;s issue tracker here.&lt;br /&gt;
&lt;br /&gt;
== Branches ==&lt;br /&gt;
XBMC PVR addons like the MythTV addon are not compatible with all versions of XBMC (due to the PVR API version dependency).&lt;br /&gt;
The addon repositories have different branches for the different XBMC versions.&lt;br /&gt;
* Branch &#039;&#039;master&#039;&#039;: Compatible with XBMC pre-Gotham (v13) development builds&lt;br /&gt;
* Branch &#039;&#039;frodo&#039;&#039;: Compatible with XBMC Frodo (v12)&lt;br /&gt;
Use &amp;lt;code&amp;gt;git checkout &amp;lt;BRANCH&amp;gt;&amp;lt;/code&amp;gt; after cloning the repository to switch to the according branch before starting the build.&lt;br /&gt;
&lt;br /&gt;
== Build MythTV addon on Ubuntu ==&lt;br /&gt;
* Add repository for XBMC nightly builds&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/unstable&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Install XBMC from nightly builds&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install xbmc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Install build utilities/libraries&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install ubuntu-restricted-extras autoconf git&lt;br /&gt;
sudo apt-get install build-essential automake checkinstall&lt;br /&gt;
sudo apt-get install autoconf automake bison flex libtool intltool zip&lt;br /&gt;
sudo apt-get install libmysqlclient-dev libboost-filesystem-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create zip file for XBMC MythTV addon&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir source&lt;br /&gt;
cd source&lt;br /&gt;
git clone git://github.com/fetzerch/xbmc-pvr-addons.git&lt;br /&gt;
cd xbmc-pvr-addons&lt;br /&gt;
./bootstrap&lt;br /&gt;
./configure --enable-addons-with-dependencies&lt;br /&gt;
make clean zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Put the addon in a handy location&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp addons/pvr.mythtv.cmyth-linux-x86_64.zip $HOME&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* You may need to delete the previous addon zip file out of ~/.xbmc/addons/packages/ to allow installation of newer revision with the same addon version number&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rm ~/.xbmc/addons/packages/pvr.mythtv.cmyth-linux-x86_64.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Start XBMC, add the addon using the zip file, then finally enable Live TV using the MythTV addon above.&lt;br /&gt;
&lt;br /&gt;
== Build MythTV addon on OSX ==&lt;br /&gt;
* Install &#039;&#039;&#039;Xcode&#039;&#039;&#039; for your Mac. Go to http://connect.apple.com/&lt;br /&gt;
:Snow leopard: Xcode 3.2.6&lt;br /&gt;
:Lion: Xcode 4.3&lt;br /&gt;
:Mountain Lion: Xcode 4.4&lt;br /&gt;
&lt;br /&gt;
* Install &#039;&#039;&#039;git&#039;&#039;&#039;. Go to http://code.google.com/p/git-osx-installer&lt;br /&gt;
&lt;br /&gt;
* Now open a &#039;&#039;&#039;terminal&#039;&#039;&#039; console and clone the tool chain repository to build addon. Below the tool chain is installed in the folder &#039;&#039;&#039;$HOME/src&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir src ; cd src&lt;br /&gt;
git clone git://github.com/janbar/xbmc-pvr-toolchain-osx.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Clone the &#039;&#039;&#039;xbmc-pvr-addons&#039;&#039;&#039; sources from git repository inside the tool chain&lt;br /&gt;
&amp;lt;pre&amp;gt;cd xbmc-pvr-toolchain-osx&lt;br /&gt;
git clone git://github.com/fetzerch/xbmc-pvr-addons.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Optionally you can choose the branch you want to build. By default master branch is checked out&lt;br /&gt;
&#039;&#039;frodo branch&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;cd xbmc-pvr-addons ; git checkout frodo ; cd ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;master branch&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;cd xbmc-pvr-addons ; git checkout master ; cd ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Build it. You have to be in the root folder of the tool chain&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Install addon &#039;&#039;&#039;pvr.mythtv.cmyth&#039;&#039;&#039; with &#039;&#039;&#039;XBMC&#039;&#039;&#039;&lt;br /&gt;
The builder create a new folder &#039;&#039;&#039;pvr.mythtv.cmyth&#039;&#039;&#039; containing the addon. You have to copy it into &#039;&#039;&#039;$HOME/Library/Application\ Support/XBMC/addons/&#039;&#039;&#039;. Also you can zip it to be uploaded  with &#039;&#039;&#039;XBMC&#039;&#039;&#039; as zip file.&lt;br /&gt;
&lt;br /&gt;
* You can rebuild the addon at anytime using command &#039;&#039;make&#039;&#039;. To completely clean up the tool chain, type &#039;&#039;make distclean&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Build MythTV addon on Windows ==&lt;br /&gt;
* Install &#039;&#039;&#039;Visual C++ 2010&#039;&#039;&#039;&lt;br /&gt;
* Download &#039;&#039;&#039;xbmc-pvr-addons&#039;&#039;&#039; sources from git repository&lt;br /&gt;
&amp;lt;pre&amp;gt;cd src&lt;br /&gt;
git clone git://github.com/fetzerch/xbmc-pvr-addons.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Execute &#039;&#039;&#039;DownloadBuildDeps.bat&#039;&#039;&#039; in &#039;&#039;&#039;xbmc-pvr-addons\project\BuildDependencies&#039;&#039;&#039; &lt;br /&gt;
* Open &#039;&#039;&#039;xbmc-pvr-addons.sln&#039;&#039;&#039; from &#039;&#039;&#039;xbmc-pvr-addons\project\VS2010Express&#039;&#039;&#039; in Visual C++ 2010&lt;br /&gt;
* Build it&lt;br /&gt;
* To install the addon, copy the folder &#039;&#039;&#039;xbmc-pvr-addons\addons\pvr.mythtv.cmyth\addon&#039;&#039;&#039; to your XBMC Frodo addon direcory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Build MythTV git into OpenELEC ==&lt;br /&gt;
* Follow normal OpenELEC build instructions (http://wiki.openelec.tv/index.php?title=Compile_from_source) but adjust the &amp;quot;Start compiling&amp;quot; procedure as below&lt;br /&gt;
&amp;lt;pre&amp;gt;cd OpenELEC.tv&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Run the below script to replace normally included pvr-addons with latest development git version&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
source ./packages/mediacenter/xbmc-pvr-addons/meta&lt;br /&gt;
&lt;br /&gt;
if [ ! -d ./sources/$PKG_NAME/ ]; then&lt;br /&gt;
    mkdir -p ./sources/$PKG_NAME/&lt;br /&gt;
fi&lt;br /&gt;
wget --no-check-certificate https://github.com/fetzerch/xbmc-pvr-addons/archive/master.zip&lt;br /&gt;
unzip master.zip&lt;br /&gt;
mv xbmc-pvr-addons-master $PKG_NAME-$PKG_VERSION&lt;br /&gt;
tar -cJf $PKG_NAME-$PKG_VERSION.tar.xz $PKG_NAME-$PKG_VERSION&lt;br /&gt;
rm -r $PKG_NAME-$PKG_VERSION master.zip&lt;br /&gt;
&lt;br /&gt;
mv $PKG_NAME-$PKG_VERSION.tar.xz ./sources/$PKG_NAME/&lt;br /&gt;
md5sum sources/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz &amp;gt; sources/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz.md5&lt;br /&gt;
echo &amp;quot;http://sources.openelec.tv/devel/$PKG_NAME-$PKG_VERSION.tar.xz&amp;quot; &amp;gt; ./sources/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz.url&lt;br /&gt;
&lt;br /&gt;
rm -rf ./build.OpenELEC*/.stamps/xbmc-pvr-addons ./build.OpenELEC*/xbmc-pvr-addons-* ./build.OpenELEC*/image/.stamps/xbmc-pvr-addons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Continue with regular build instructions (PROJECT=XXX ARCH=YYY make release)&lt;/div&gt;</summary>
		<author><name>Teeedubb</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Archive:MythTV_PVR_Client/DVB-EIT-categories&amp;diff=65137</id>
		<title>Archive:MythTV PVR Client/DVB-EIT-categories</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Archive:MythTV_PVR_Client/DVB-EIT-categories&amp;diff=65137"/>
		<updated>2013-10-30T07:50:25Z</updated>

		<summary type="html">&lt;p&gt;Teeedubb: Created page with &amp;quot;he MythTV addon / XBMC only supports DVB-SI EIT categories. If you get your EPG data from other sources (for example xmltv), the addon / XBMC won&amp;#039;t be able to map the categori...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;he MythTV addon / XBMC only supports DVB-SI EIT categories. If you get your EPG data from other sources (for example xmltv), the addon / XBMC won&#039;t be able to map the categories correctly. MythTV supports colors also for other categories, but again depending on the source, you don&#039;t get perfect results.&lt;br /&gt;
&lt;br /&gt;
You can use a small wrapper script as mythfilldatabase which changes the categories in the MythTV database to the default DVB-SI EIT categories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MythTV backend needs to be configured to use this script as mythfilldatabase replacement: ==&lt;br /&gt;
&lt;br /&gt;
/usr/local/bin/my-mythfilldatabase&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
export LANG=de_DE.UTF-8&lt;br /&gt;
export LC_ALL=de_DE.UTF-8&lt;br /&gt;
&lt;br /&gt;
/usr/bin/mythfilldatabase --loglevel debug -- &amp;quot;--days 18&amp;quot;&lt;br /&gt;
RES=$?&lt;br /&gt;
if [ $RES -eq 0 ]; then&lt;br /&gt;
fi&lt;br /&gt;
exit $RES&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The SQL file epg.sql that does the category conversion, it will vary with language and below will be some examples: ==&lt;br /&gt;
&lt;br /&gt;
You can get all currently used categories with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/bin/mysql -h htpc -u mythtv -p mythtv -D mythconverg &amp;lt;&amp;lt;&amp;lt; &amp;quot;SELECT DISTINCT category FROM program;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
-h = host, -u = username, -p = db password, -D = database name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/usr/local/bin/epg.sql&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;German:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
See DVB-SI spec (ETSI EN 300 468 V1.11.1 (2010-04), page 40, http://www.etsi.org/deliver/etsi_en/300400_300499/300468/01.11.01_60/en_300468v011101p.pdf)&lt;br /&gt;
&lt;br /&gt;
Undefined&lt;br /&gt;
0x0 0x0 to 0xF undefined content&lt;br /&gt;
&lt;br /&gt;
Movie/Drama:&lt;br /&gt;
&lt;br /&gt;
0x1 0x0 movie/drama (general)&lt;br /&gt;
0x1 0x1 detective/thriller&lt;br /&gt;
0x1 0x2 adventure/western/war&lt;br /&gt;
0x1 0x3 science fiction/fantasy/horror&lt;br /&gt;
0x1 0x4 comedy&lt;br /&gt;
0x1 0x5 soap/melodrama/folkloric&lt;br /&gt;
0x1 0x6 romance&lt;br /&gt;
0x1 0x7 serious/classical/religious/historical movie/drama&lt;br /&gt;
0x1 0x8 adult movie/drama&lt;br /&gt;
0x1 0x9 to 0xE reserved for future use&lt;br /&gt;
0x1 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
UPDATE program SET category = &#039;Movie&#039; WHERE category IN (&#039;filme&#039;,&#039;action&#039;,&#039;kurzfilm&#039;);&lt;br /&gt;
UPDATE program SET category = &#039;Movie - Detective/Thriller&#039; WHERE category IN (&#039;krimi&#039;, &#039;thriller&#039;);&lt;br /&gt;
UPDATE program SET category = &#039;Movie - Adventure/Western/War&#039; WHERE category IN (&#039;abenteuer&#039;, &#039;western&#039;);&lt;br /&gt;
UPDATE program SET category = &#039;Movie - Science Fiction/Fantasy/Horror&#039; WHERE category IN (&#039;science fiction&#039;, &#039;fantasy&#039;, &#039;mystery+horror&#039;);&lt;br /&gt;
-- Comedy&lt;br /&gt;
UPDATE program SET category = &#039;Movie - Soap/melodrama/folkloric&#039; WHERE category IN (&#039;serien&#039;, &#039;soap&#039;, &#039;krankenhaus&#039;);&lt;br /&gt;
UPDATE program SET category = &#039;Movie - Romance&#039; WHERE category = &#039;romantik/liebe&#039;;&lt;br /&gt;
-- Classical&lt;br /&gt;
UPDATE program SET category = &#039;Movie - Adult   &#039; WHERE category = &#039;erotik&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Drama&#039; WHERE category = &#039;drama&#039;;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
News/Current affairs:&lt;br /&gt;
&lt;br /&gt;
0x2 0x0 news/current affairs (general)&lt;br /&gt;
0x2 0x1 news/weather report&lt;br /&gt;
0x2 0x2 news magazine&lt;br /&gt;
0x2 0x3 documentary&lt;br /&gt;
0x2 0x4 discussion/interview/debate&lt;br /&gt;
0x2 0x5 to 0xE reserved for future use&lt;br /&gt;
0x2 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
UPDATE program SET category = &#039;News&#039; WHERE category = &#039;nachrichten&#039;;&lt;br /&gt;
-- weather&lt;br /&gt;
UPDATE program SET category = &#039;News magazine&#039; WHERE category = &#039;magazin&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Documentary&#039; WHERE category = &#039;dokumentarfilm&#039;;&lt;br /&gt;
-- discussion&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
Show/Game show:&lt;br /&gt;
&lt;br /&gt;
0x3 0x0 show/game show (general)&lt;br /&gt;
0x3 0x1 game show/quiz/contest&lt;br /&gt;
0x3 0x2 variety show&lt;br /&gt;
0x3 0x3 talk show&lt;br /&gt;
0x3 0x4 to 0xE reserved for future use&lt;br /&gt;
0x3 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
UPDATE program SET category = &#039;Entertainment&#039; WHERE category IN (&#039;humor&#039;, &#039;comedy&#039;);&lt;br /&gt;
UPDATE program SET category = &#039;Game Show&#039; WHERE category IN (&#039;show&#039;,&#039;shows&#039;,&#039;spielshows&#039;);&lt;br /&gt;
UPDATE program SET category = &#039;Variety Show&#039; WHERE category = &#039;familien-show&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Talk Show&#039; WHERE category IN (&#039;talkshows&#039;,&#039;gerichtsshow&#039;,&#039;reality&#039;);&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
Sports:&lt;br /&gt;
&lt;br /&gt;
0x4 0x0 sports (general)&lt;br /&gt;
0x4 0x1 special events (Olympic Games, World Cup, etc.)&lt;br /&gt;
0x4 0x2 sports magazines&lt;br /&gt;
0x4 0x3 football/soccer&lt;br /&gt;
0x4 0x4 tennis/squash&lt;br /&gt;
0x4 0x5 team sports (excluding football)&lt;br /&gt;
0x4 0x6 athletics&lt;br /&gt;
0x4 0x7 motor sport&lt;br /&gt;
0x4 0x8 water sport&lt;br /&gt;
0x4 0x9 winter sports&lt;br /&gt;
0x4 0xA equestrian&lt;br /&gt;
0x4 0xB martial sports&lt;br /&gt;
0x4 0xC to 0xE reserved for future use&lt;br /&gt;
0x4 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
UPDATE program SET category = &#039;Sports&#039; WHERE category IN (&#039;extremsport&#039;, &#039;golf&#039;, &#039;us-sport&#039;);&lt;br /&gt;
-- special events&lt;br /&gt;
-- magazines&lt;br /&gt;
UPDATE program SET category = &#039;Football (Soccer)&#039; WHERE category = &#039;fussball&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Tennis/Squash&#039; WHERE category = &#039;tennis&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Misc. Team Sports&#039; WHERE category IN (&#039;handball&#039;, &#039;volleyball&#039;);&lt;br /&gt;
UPDATE program SET category = &#039;Athletics&#039; WHERE category = &#039;leichtathletik&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Motor Sport&#039; WHERE category = &#039;motorsport&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Water Sport&#039; WHERE category = &#039;wassersport&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Winter Sports&#039; WHERE category = &#039;wintersport&#039;;&lt;br /&gt;
-- equestrian&lt;br /&gt;
UPDATE program SET category = &#039;Martial Sports&#039; WHERE category = &#039;boxen&#039;;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
Children&#039;s/Youth programmes:&lt;br /&gt;
&lt;br /&gt;
0x5 0x0 children&#039;s/youth programmes (general)&lt;br /&gt;
0x5 0x1 pre-school children&#039;s programmes&lt;br /&gt;
0x5 0x2 entertainment programmes for 6 to14&lt;br /&gt;
0x5 0x3 entertainment programmes for 10 to 16&lt;br /&gt;
0x5 0x4 informational/educational/school programmes&lt;br /&gt;
0x5 0x5 cartoons/puppets&lt;br /&gt;
0x5 0x6 to 0xE reserved for future use&lt;br /&gt;
0x5 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
UPDATE program SET category = &#039;Kids&#039; WHERE category = &#039;jugend&#039;;&lt;br /&gt;
-- pre-school&lt;br /&gt;
-- 6-14&lt;br /&gt;
-- 10-16&lt;br /&gt;
-- informational&lt;br /&gt;
UPDATE program SET category = &#039;Cartoons/Puppets&#039; WHERE category IN (&#039;zeichentrick&#039;, &#039;anime&#039;);&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
Music/Ballet/Dance:&lt;br /&gt;
&lt;br /&gt;
0x6 0x0 music/ballet/dance (general)&lt;br /&gt;
0x6 0x1 rock/pop&lt;br /&gt;
0x6 0x2 serious music/classical music&lt;br /&gt;
0x6 0x3 folk/traditional music&lt;br /&gt;
0x6 0x4 jazz&lt;br /&gt;
0x6 0x5 musical/opera&lt;br /&gt;
0x6 0x6 ballet&lt;br /&gt;
0x6 0x7 to 0xE reserved for future use&lt;br /&gt;
0x6 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
UPDATE program SET category = &#039;Music/Ballet/Dance&#039; WHERE category = &#039;musik&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Rock/Pop&#039; WHERE category IN (&#039;rock&#039;, &#039;pop&#039;, &#039;alternative&#039;);&lt;br /&gt;
UPDATE program SET category = &#039;Classical Music&#039; WHERE category = &#039;klassik&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Folk Music&#039; WHERE category = &#039;volksmusik&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Jazz&#039; WHERE category = &#039;jazz&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Musical/Opera&#039; WHERE category = &#039;musical&#039;;&lt;br /&gt;
-- ballet&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
Arts/Culture (without music):&lt;br /&gt;
&lt;br /&gt;
0x7 0x0 arts/culture (without music, general)&lt;br /&gt;
0x7 0x1 performing arts&lt;br /&gt;
0x7 0x2 fine arts&lt;br /&gt;
0x7 0x3 religion&lt;br /&gt;
0x7 0x4 popular culture/traditional arts&lt;br /&gt;
0x7 0x5 literature&lt;br /&gt;
0x7 0x6 film/cinema&lt;br /&gt;
0x7 0x7 experimental film/video&lt;br /&gt;
0x7 0x8 broadcasting/press&lt;br /&gt;
0x7 0x9 new media&lt;br /&gt;
0x7 0xA arts/culture magazines&lt;br /&gt;
0x7 0xB fashion&lt;br /&gt;
0x7 0xC to 0xE reserved for future use&lt;br /&gt;
0x7 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
UPDATE program SET category = &#039;Arts/Culture&#039; WHERE category = &#039;kultur&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Performing Arts&#039; WHERE category = &#039;theater&#039;;&lt;br /&gt;
-- fine arts&lt;br /&gt;
-- religion&lt;br /&gt;
-- pop&lt;br /&gt;
-- literature&lt;br /&gt;
-- film&lt;br /&gt;
-- experimental film&lt;br /&gt;
-- broadcasting&lt;br /&gt;
-- new media&lt;br /&gt;
-- arts&lt;br /&gt;
-- fashion&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
Social/Political issues/Economics:&lt;br /&gt;
&lt;br /&gt;
0x8 0x0 social/political issues/economics (general)&lt;br /&gt;
0x8 0x1 magazines/reports/documentary&lt;br /&gt;
0x8 0x2 economics/social advisory&lt;br /&gt;
0x8 0x3 remarkable people&lt;br /&gt;
0x8 0x4 to 0xE reserved for future use&lt;br /&gt;
0x8 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
UPDATE program SET category = &#039;Social/Policical/Economics&#039; WHERE category = &#039;politik&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Magazines/Reports/Documentary&#039; WHERE category IN (&#039;reportagen&#039;,&#039;dokumentation&#039;,&#039;heimat&#039;,&#039;geschichte&#039;);&lt;br /&gt;
UPDATE program SET category = &#039;Economics/Social Advisory&#039; WHERE category IN (&#039;ratgeber&#039;,&#039;wirtschaft&#039;);&lt;br /&gt;
-- remarkable people&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
Education/Science/Factual topics:&lt;br /&gt;
&lt;br /&gt;
0x9 0x0 education/science/factual topics (general)&lt;br /&gt;
0x9 0x1 nature/animals/environment&lt;br /&gt;
0x9 0x2 technology/natural sciences&lt;br /&gt;
0x9 0x3 medicine/physiology/psychology&lt;br /&gt;
0x9 0x4 foreign countries/expeditions&lt;br /&gt;
0x9 0x5 social/spiritual sciences&lt;br /&gt;
0x9 0x6 further education&lt;br /&gt;
0x9 0x7 languages&lt;br /&gt;
0x9 0x8 to 0xE reserved for future use&lt;br /&gt;
0x9 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
UPDATE program SET category = &#039;Education/Science/Factual&#039; WHERE category = &#039;wissen&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Nature/animals/Environment&#039; WHERE category = &#039;natur&#039;;&lt;br /&gt;
-- technology&lt;br /&gt;
UPDATE program SET category = &#039;Medicine/Physiology/Psychology&#039; WHERE category = &#039;gesundheit&#039;;&lt;br /&gt;
-- foreign countries&lt;br /&gt;
UPDATE program SET category = &#039;Social/Spiritual Sciences&#039; WHERE category = &#039;familie&#039;;&lt;br /&gt;
-- further education&lt;br /&gt;
-- languages&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;br /&gt;
Leisure hobbies:&lt;br /&gt;
&lt;br /&gt;
0xA 0x0 leisure hobbies (general)&lt;br /&gt;
0xA 0x1 tourism/travel&lt;br /&gt;
0xA 0x2 handicraft&lt;br /&gt;
0xA 0x3 motoring&lt;br /&gt;
0xA 0x4 fitness and health&lt;br /&gt;
0xA 0x5 cooking&lt;br /&gt;
0xA 0x6 advertisement/shopping&lt;br /&gt;
0xA 0x7 gardening&lt;br /&gt;
0xA 0x8 to 0xE reserved for future use&lt;br /&gt;
0xA 0xF user defined&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
-- leisure hobbies&lt;br /&gt;
UPDATE program SET category = &#039;Tourism/Travel&#039; WHERE category = &#039;reise&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Handicraft&#039; WHERE category = &#039;heimwerken&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Motoring&#039; WHERE category = &#039;motor+verkehr&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Fitness &amp;amp; Health&#039; WHERE category = &#039;gymnastik&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Cooking&#039; WHERE category = &#039;kochshow&#039;;&lt;br /&gt;
UPDATE program SET category = &#039;Advertizement/Shopping&#039; WHERE category = &#039;homeshopping&#039;;&lt;br /&gt;
-- gardening&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Teeedubb</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=MythTV_PVR&amp;diff=65136</id>
		<title>MythTV PVR</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=MythTV_PVR&amp;diff=65136"/>
		<updated>2013-10-30T07:01:36Z</updated>

		<summary type="html">&lt;p&gt;Teeedubb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{:PVR/Contents}}&lt;br /&gt;
MythTV is a Free Open Source software digital video recorder (DVR) project that is designed to run on Linux, although other operating system packages are available. With MythTV you can watch live TV, schedule recordings, view episode guide information, and many other features you&#039;d expect from a DVR type device. MythTV can also be setup with multiple backends (master/slave) and multiple frontends to spread out the workload of recording, scheduling, and post processing jobs. More information on MythTV can be found on their [http://www.mythtv.org/ official] website. &lt;br /&gt;
&lt;br /&gt;
The released addon supports MythTV Backend version 0.24 - 0.26.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
== Installing MythTV ==&lt;br /&gt;
MythTV can be setup on a variety of Linux distributions and also on Mac OS X. The [http://www.mythtv.org/wiki/Packages MythTV Wiki] page has several pages of detailed instruction sets for various distros and tuner types.&lt;br /&gt;
&lt;br /&gt;
== MythTV quick start guide ==&lt;br /&gt;
If your tuner hardware is not detected or is having issues, check http://linuxtv.org for driver support.&lt;br /&gt;
&lt;br /&gt;
== Connecting XBMC to MythTV ==&lt;br /&gt;
{{PVR repo notice}}&lt;br /&gt;
# Go to {{highlight|Settings -&amp;gt; Add-ons -&amp;gt; Enabled add-ons -&amp;gt; PVR Clients}} and select the MythTV add-on&lt;br /&gt;
# Select &amp;quot;Configure&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
=== General ===&lt;br /&gt;
&amp;lt;section begin=&amp;quot;Settings&amp;quot; /&amp;gt;&lt;br /&gt;
[[File:Xbmc-settings-mythtv-general.png|500px|right]]&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
; MythTV Backend Hostname or IP&lt;br /&gt;
: The hostname or IP address of the server where MythTV / MythBackend is installed. If backend and frontend run on the same machine then &#039;localhost&#039; can be used. &lt;br /&gt;
; MythTV Backend Port&lt;br /&gt;
: The default is 6543 but this will need updating if you have changed it in the MythTV settings.&lt;br /&gt;
; MythTV Database Username&lt;br /&gt;
: The default is &#039;mythtv&#039; but this will need updating if you have changed it for the MythTV database.&lt;br /&gt;
; MythTV Database Password&lt;br /&gt;
: The default is &#039;mythtv&#039; but this will need updating if you have changed it for the MythTV database.&lt;br /&gt;
; MythTV Database Databasename&lt;br /&gt;
: The default is &#039;mythconverg&#039; but this will need updating if you have changed it in the MythTV settings.&lt;br /&gt;
; Include more debug information in the log file&lt;br /&gt;
: If turned on, additional debugging information is written to the log file. This should be turned on if you want to debug or report problems. It should be off for normal usage.&lt;br /&gt;
; Enable Live TV&lt;br /&gt;
: This enables Live TV. Switch it off if you do want to use MythTV only for watching recordings.&lt;br /&gt;
; Allow Live TV to move scheduled shows&lt;br /&gt;
: This allows MythBackend to move scheduled recordings to another tuner if the scheduled tuner is blocked by an active Live TV playback. If turned off, you might miss recordings!&lt;br /&gt;
; Conflict handling&lt;br /&gt;
: This allows to configure the Live TV vs. scheduled recoding conflict handling. The setting determines how the addon should handle upcoming recordings for a tuner, that is being used for Live TV at the moment.&lt;br /&gt;
: &#039;&#039;&#039;- Prefer Live TV when recording has later slot:&#039;&#039;&#039; (default) Continue watching Live TV in case there is a known later slot for the recording. Reschedule to record this repeat instead. If there&#039;s no later slot, stop Live TV and start the recording now.&lt;br /&gt;
: &#039;&#039;&#039;- Prefer recording and stop Live TV:&#039;&#039;&#039; Stop Live TV and start the scheduled recording.&lt;br /&gt;
: &#039;&#039;&#039;- Prefer Live TV and cancel conflicting recording:&#039;&#039;&#039; Ignore the conflicting, upcoming recording and continue to watch Live TV instead.&lt;br /&gt;
|}&lt;br /&gt;
{{-}}&lt;br /&gt;
In addition the addon supports advanced settings, that can be edited in the addon&#039;s settings file: &amp;lt;code&amp;gt;[[userdata]]/addon_data/pvr.mythtv.cmyth/settings.xml&amp;lt;/code&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
; MythTV Database Hostname or IP&lt;br /&gt;
: The default is your MythTV Backend Hostname but this will need updating if your database server runs on a different host.&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;setting id=&amp;quot;db_host&amp;quot; value=&amp;quot;192.168.0.1&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
; MythTV Database Port&lt;br /&gt;
: The default is 3306 but this will need updating if you have changed it.&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;setting id=&amp;quot;db_port&amp;quot; value=&amp;quot;3306&amp;quot; /&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;section end=&amp;quot;Settings&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recording template ===&lt;br /&gt;
Configuration of the default rules for new recordings. Recording rule templates have been introduced in MythTV 0.26.&lt;br /&gt;
For older MythTV versions, please use and configure the addon-&#039;&#039;&#039;Internal&#039;&#039;&#039; template provider.&lt;br /&gt;
&amp;lt;section begin=&amp;quot;Settings&amp;quot; /&amp;gt;&lt;br /&gt;
[[File:Xbmc-settings-mythtv-template.png|500px|right]]&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
; Template provider&lt;br /&gt;
: &#039;&#039;&#039;- MythTV:&#039;&#039;&#039; Use MythTV&#039;s default recording rule template&lt;br /&gt;
: &#039;&#039;&#039;- Internal:&#039;&#039;&#039; Use XBMC&#039;s respectively the addon&#039;s settings&lt;br /&gt;
; Automatically Look Up Metadata&lt;br /&gt;
: Advises the MythTV backend to download metadata for this recording.&lt;br /&gt;
; Commercial Flag new recordings&lt;br /&gt;
: Advises the MythTV backend to run the commercial flag job for this recording.&lt;br /&gt;
; Allow recordings to expire?&lt;br /&gt;
: Allows the MythTV backend to automatically delete the recording when necessary.&lt;br /&gt;
; Transcode new recordings and Transcoder&lt;br /&gt;
: Advises the MythTV backend to automatically transcode the recording into a different format.&lt;br /&gt;
; Run user Job #1-4&lt;br /&gt;
: Advises the MythTV backend to automatically run the user defined jobs for this recording.&lt;br /&gt;
;Note&lt;br /&gt;
: &#039;&#039;&#039;Start&#039;&#039;&#039; and &#039;&#039;&#039;End Offset&#039;&#039;&#039; is configured in [[PVR/XBMC#Recording|XBMC Live TV settings]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section end=&amp;quot;Settings&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Next|[[PVR/XBMC|Configuring XBMC]]}}&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
# If you&#039;re experiencing troubles with the addon, [http://forum.xbmc.org/forumdisplay.php?fid=170 MythTV section of XBMC Forum] is the correct place to ask for help.&lt;br /&gt;
# Always include a &#039;&#039;&#039;full [http://wiki.xbmc.org/index.php?title=Debug_log debug log]&#039;&#039;&#039; with the addon setting &#039;&#039;&#039;Include more debug information in the log file&#039;&#039;&#039; enabled. (also please make yourself familiar with [http://wiki.xbmc.org/index.php?title=Troubleshooting XBMC troubleshooting])&lt;br /&gt;
# Issues that are only related to this addon (not to XBMC itself or XBMC&#039;s general PVR code) should be reported here: https://github.com/fetzerch/xbmc-pvr-addons/issues (if unsure, ask in the forum first!)&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
* See [[PVR/Backend/MythTV/BuildFromSource|Build addon from source]] to learn how to build addon from the official or from the development repository&lt;br /&gt;
* This addon uses the Transifex Localization platform. You&#039;re welcome to contribute translations: https://www.transifex.com/projects/p/XBMC-Main-Frodo/resource/pvr-mythtv-cmyth/&lt;br /&gt;
&lt;br /&gt;
== Additional guides and links ==&lt;br /&gt;
* MythTV website - http://mythtv.org&lt;br /&gt;
** [http://www.mythtv.org/wiki/ Documentation]&lt;br /&gt;
* MythTV backend for XBMC support forum - http://forum.xbmc.org/forumdisplay.php?fid=170&lt;br /&gt;
* Addon&#039;s issue tracker: https://github.com/fetzerch/xbmc-pvr-addons/issues&lt;br /&gt;
* MythTV genre colours in XBMC EPG: http://wiki.xbmc.org/index.php?title=PVR/Backend/MythTV/DVB-EIT-categories&lt;/div&gt;</summary>
		<author><name>Teeedubb</name></author>
	</entry>
</feed>