Mailing List Archive

mythtv not supporting hungarian TV programming, even though xmltv does
Hi,

I'm new to MythTV. I just installed it. One question I have: how can I
make MythTV support hungarian programming? xmltv supports hungarian
programming by running tv_grab_hu, but this option is not offered in the
MythTV setup screen :(


Akos

_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: mythtv not supporting hungarian TV programming, even though xmltv does [ In reply to ]
On Saturday 19 July 2003 07:26 am, Akos Maroy wrote:
> Hi,
>
> I'm new to MythTV. I just installed it. One question I have: how can I
> make MythTV support hungarian programming? xmltv supports hungarian
> programming by running tv_grab_hu, but this option is not offered in the
> MythTV setup screen :(

Someone that uses the grabber needs to add support to mythtv and send in a
patch.

Isaac
_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: mythtv not supporting hungarian TV programming, even though xmltv does [ In reply to ]
Isaac Richards wrote:
> Someone that uses the grabber needs to add support to mythtv and send in a
> patch.

I can use the grabber (i.e. I can start it, get results out of it). how
do I make a patch? :)

_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: mythtv not supporting hungarian TV programming, even though xmltv does [ In reply to ]
On Saturday 19 July 2003 10:05 am, Akos Maroy wrote:
> Isaac Richards wrote:
> > Someone that uses the grabber needs to add support to mythtv and send in
> > a patch.
>
> I can use the grabber (i.e. I can start it, get results out of it). how
> do I make a patch? :)

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.

Isaac
_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: mythtv not supporting hungarian TV programming, even though xmltv does [ In reply to ]
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

_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users