[mythtv-users] mythtv not supporting hungarian TV programming,
even though xmltv does
Akos Maroy
darkeye at tyrell.hu
Sun Jul 20 09:26:34 EDT 2003
Isaac Richards wrote:
> Modify libs/libmythtv/videosource.h to add it to the known grabber list in
> there, then modify programs/mythfilldatabase/filldata.cpp to add it to the
> grabber specific code there.
well, here is a very simple diff:
diff -ur mythtv-0.10/libs/libmythtv/videosource.h
mythtv-0.10-hu/libs/libmythtv/videosource.h
--- mythtv-0.10/libs/libmythtv/videosource.h 2003-06-12
22:50:16.000000000 +0200
+++ mythtv-0.10-hu/libs/libmythtv/videosource.h 2003-07-19
23:48:20.000000000 +0200
@@ -169,6 +169,9 @@
addTarget("tv_grab_de", new XMLTV_generic_config(parent,
"tv_grab_de"));
grabber->addSelection("Germany/Austria", "tv_grab_de");
+ addTarget("tv_grab_hu", new XMLTV_generic_config(parent,
"tv_grab_hu"));
+ grabber->addSelection("Hungary", "tv_grab_hu");
+
addTarget("tv_grab_sn", new XMLTV_generic_config(parent,
"tv_grab_sn"));
grabber->addSelection("Sweden/Norway","tv_grab_sn");
diff -ur mythtv-0.10/programs/mythfilldatabase/filldata.cpp
mythtv-0.10-hu/programs/mythfilldatabase/filldata.cpp
--- mythtv-0.10/programs/mythfilldatabase/filldata.cpp 2003-07-01
01:54:36.000000000 +0200
+++ mythtv-0.10-hu/programs/mythfilldatabase/filldata.cpp
2003-07-19 23:47:51.000000000 +0200
@@ -1219,6 +1219,10 @@
command.sprintf("nice -19 %s --days 7 --output %s",
xmltv_grabber.ascii(),
filename.ascii());
+ else if (xmltv_grabber == "tv_grab_hu")
+ command.sprintf("nice -19 %s --days 7 --output %s",
+ xmltv_grabber.ascii(),
+ filename.ascii());
else if (xmltv_grabber == "tv_grab_nl")
command.sprintf("nice -19 %s --output %s",
xmltv_grabber.ascii(),
but I can't try it out for real, as I can't get mythtvfrontend working
properly..
Akos
More information about the mythtv-users
mailing list