<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Richard<br>
<br>
Definitely get the original linux script (hads).<br>
Then you can modify the line which selects which "file.xml" to grap as
per your needs.<br>
<br>
Check you have python environment working . Maybe run the myth mysql
database backup script (.mythtv/scripts) to check.<br>
<br>
Should be able to run <br>
1. "tv_grab_nz-py --configure"<br>
(no command prefix needed & no .py suffix)<br>
<br>
Download the freeview .xml or other .xml epg file & then try:<br>
2. mythfilldatabase --file 1 freeview.xml --update<br>
observe the stdout<br>
<br>
then try (long tedious)<br>
3. mythfilldatabase --manual<br>
<br>
Then run <br>
4. mythfilldatabase <br>
observe the stdout as it does the download & db update etc<br>
<br>
Brett<br>
<br>
<br>
On 21/05/2010 8:16 a.m., Richard Clarke wrote:
<blockquote
cite="mid:AANLkTikFRNgQUl7LZ5wc0OtQdLpe2_CCDaGREZMQMdaF@mail.gmail.com"
type="cite">Thanks for your responses so far to my query. I have just
run tv_find_grabbers from the command line and it still doesn't find
the tv_grab_nz script. It did find all the 'out of the box' scripts
that come with Mythbuntu. I then ran tv_validate_grabber and it came
back with the following info concerning the tv_grab_nz script.<br>
<br>
richard@hda2:/usr/bin$ tv_validate_grabber tv_grab_nz<br>
Can't exec "tv_grab_nz": No such file or directory at
/usr/share/perl5/XMLTV/ValidateGrabber.pm line 397.<br>
Failed to execute tv_grab_nz --configure --config-file
/tmp/wVyHnSd1ED/conf: No such file or directory<br>
Error returned from grabber during configure.<br>
Grabber with --version failed: 32512, Inappropriate ioctl for device<br>
Grabber with --description failed: 32512, Inappropriate ioctl for device<br>
Grabber with --capabilities failed: 32512, <br>
Use of uninitialized value $cap in split at
/usr/share/perl5/XMLTV/ValidateGrabber.pm line 212.<br>
The grabber does not claim to support the 'baseline' capability.<br>
The grabber does not claim to support the 'manualconfig' capability.<br>
Configuration file /tmp/wVyHnSd1ED/conf does not exist. Aborting.<br>
Grabber did not validate ok. See /tmp/wVyHnSd1ED/t_commands.log for a
list of the commands that were used<br>
6 errors found.<br>
<br>
Basically I think the script I'm using is failing at the validate phase
so mythtv-setup ignores it. I tried running the script from the
commandline without prefixing with python, i.e ./tv_grab_nz to see if
the Python environment was OK. It came back with an error like "Bad
Interpreter: /usr/bin/python^M"<br>
<br>
After I had shut the PC down for the night it occurred to me that the
"^M" at the end of that error message might indicate an end of line
problem. The script I'm using has been copied from my Windows GBPVR
machine and I have opened it in an editor on that platform in the past.
I'll try again with a virgin copy of Hadley's script and see if it can
pass the validation check.<br>
<br>
Feel free to offer any further suggestions that occur to you, and
thanks for your help.<br>
<br>
Cheers<br>
Richard<br>
<br>
<br>
<div class="gmail_quote">On 20 May 2010 11:05, Hadley Rich <span
dir="ltr"><<a moz-do-not-send="true" href="mailto:hads@nice.net.nz"
target="_blank">hads@nice.net.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Thu, 2010-05-20 at 09:51 +1200, Richard Clarke wrote:<br>
> I'm currently in the process of trying to set up my Master
backend on<br>
> my server which is Mythbuntu 10.04 based. I'm struggling with the
set<br>
> up of the tv_grab_nz-py.py epg grabber, or rather making
mythtv-setup<br>
> 'see' the grabber. I would ideally like mythfilldatabase do the<br>
> running of the script automatically (I believe this is possible)<br>
> rather than running the script 'manually' and then having<br>
> mythfilldatabase suck in the resulting xmltv listings file (though<br>
> that's my back up plan if I can't get mythtv-setup to see the
grabber<br>
> itself).<br>
<br>
</div>
Welcome.<br>
<br>
MythTV uses tv_find_grabbers to find the grabbers, it's easier to test<br>
with that from the CLI than open mythtv-setup all the time.<br>
<br>
I think all you need is xmltv installed and tv_gran_nz-py in your<br>
(mythtv's) path and it should work. Anything named tv_grab* is fine<br>
IIRC.<br>
<br>
hads<br>
<font color="#888888">--<br>
<a moz-do-not-send="true" href="http://nicegear.co.nz"
target="_blank">http://nicegear.co.nz</a><br>
New Zealand's Open Source Hardware Supplier<br>
</font>
<div>
<div><br>
<br>
_______________________________________________<br>
mythtvnz mailing list<br>
<a moz-do-not-send="true"
href="mailto:mythtvnz@lists.linuxnut.co.nz" target="_blank">mythtvnz@lists.linuxnut.co.nz</a><br>
<a moz-do-not-send="true"
href="http://lists.ourshack.com/mailman/listinfo/mythtvnz"
target="_blank">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
Archives <a moz-do-not-send="true"
href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/"
target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mythtvnz mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a>
<a class="moz-txt-link-freetext" href="http://lists.ourshack.com/mailman/listinfo/mythtvnz">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a>
Archives <a class="moz-txt-link-freetext" href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a>
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
No virus found in this incoming message.
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
Version: 8.5.437 / Virus Database: 271.1.1/2876 - Release Date: 05/15/10 18:26:00
</pre>
</blockquote>
</body>
</html>