[mythtv-users] current procedure for TV listings in the UK?

Nick Craig-Wood nick at craig-wood.com
Mon Sep 20 06:38:32 EDT 2004


On Mon, Sep 20, 2004 at 11:05:52AM +0100, Nick Craig-Wood wrote:
> > 2) The generated xml file seems to contain data for categories but
> > they dont seem to match the corresponding mythtv names, the only
> > category that seemed to show up in the epg was sport.
> > 
> > Any ideas?
> 
> I patched my tv_grab_dvb, but the correct way would be to patch mythtv.

Here is the patch.  The author of tv_grab_dvb said patching mythtv is
the correct way to go to solve this problem.  I haven't had time to so
that and my patch still applies though!

Save it to a file "tv_grab_dvb-0.9.categories.patch"

cd tv_grab_dvb-0.9
patch <../tv_grab_dvb-0.9.categories.patch
make

------------------------------------------------------------
diff -u tv_grab_dvb-0.6.orig/dvb_info_tables.h tv_grab_dvb-0.6/dvb_info_tables.h
--- tv_grab_dvb-0.6.orig/dvb_info_tables.h	2004-05-21 19:22:39.000000000 +0100
+++ tv_grab_dvb-0.6/dvb_info_tables.h	2004-07-06 22:35:59.000000000 +0100
@@ -7,7 +7,7 @@
 #include "lookup.h"
 
 static struct lookup_table description_table[]={ 
-	{ 0x10, "Movie / Drama" },
+	{ 0x10, "Movies" },
 	{ 0x11, "Movie - detective/thriller" },
 	{ 0x12, "Movie - adventure/western/war" },
 	{ 0x13, "Movie - science fiction/fantasy/horror" },
@@ -17,13 +17,13 @@
 	{ 0x17, "Movie - serious/classical/religious/historical movie/drama" },
 	{ 0x18, "Movie - adult movie/drama" },
 	
-	{ 0x20, "News / Current Affairs" },
+	{ 0x20, "News" },
 	{ 0x21, "news/weather report" },
 	{ 0x22, "news magazine" },
 	{ 0x23, "documentary" },
 	{ 0x24, "discussion/interview/debate" },
 	
-	{ 0x30, "Show / Game Show" },
+	{ 0x30, "show/game show" },
 	{ 0x31, "game show/quiz/contest" },
 	{ 0x32, "variety show" },
 	{ 0x33, "talk show" },
@@ -41,14 +41,14 @@
 	{ 0x4A, "equestrian" },
 	{ 0x4B, "martial sports" },
 	
-	{ 0x50, "Childrens / Youth" },
+	{ 0x50, "Kids" },
 	{ 0x51, "pre-school children's programmes" },
 	{ 0x52, "entertainment programmes for 6 to14" },
 	{ 0x53, "entertainment programmes for 10 to 16" },
 	{ 0x54, "informational/educational/school programmes" },
 	{ 0x55, "cartoons/puppets" },
 	
-	{ 0x60, "Music / Ballet / Dance" },
+	{ 0x60, "music/ballet/dance" },
 	{ 0x61, "rock/pop" },
 	{ 0x62, "serious music/classical music" },
 	{ 0x63, "folk/traditional music" },
@@ -56,7 +56,7 @@
 	{ 0x65, "musical/opera" },
 	{ 0x66, "ballet" },
 
-	{ 0x70, "Arts / Culture" },
+	{ 0x70, "arts/culture" },
 	{ 0x71, "performing arts" },
 	{ 0x72, "fine arts" },
 	{ 0x73, "religion" },
@@ -69,12 +69,12 @@
 	{ 0x7A, "arts/culture magazines" },
 	{ 0x7B, "fashion" },
 	
-	{ 0x80, "Social / Policical / Economics" },
+	{ 0x80, "social/political/economics" },
 	{ 0x81, "magazines/reports/documentary" },
 	{ 0x82, "economics/social advisory" },
 	{ 0x83, "remarkable people" },
 	
-	{ 0x90, "Education / Science / Factual" },
+	{ 0x90, "technology" },
 	{ 0x91, "nature/animals/environment" },
 	{ 0x92, "technology/natural sciences" },
 	{ 0x93, "medicine/physiology/psychology" },
@@ -83,7 +83,7 @@
 	{ 0x96, "further education" },
 	{ 0x97, "languages" },
 	
-	{ 0xA0, "Leisure / Hobbies" },
+	{ 0xA0, "leisure hobbies" },
 	{ 0xA1, "tourism/travel" },
 	{ 0xA2, "handicraft" },
 	{ 0xA3, "motoring" },
------------------------------------------------------------

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick


More information about the mythtv-users mailing list