[mythtvnz] How do you make mythtv-setup 'see' tv_grab_nz-py.py?
Stephen Worthington
stephen_agent at jsw.gen.nz
Thu May 20 00:41:10 BST 2010
On Thu, 20 May 2010 11:05:11 +1200, you wrote:
>On Thu, 2010-05-20 at 09:51 +1200, Richard Clarke wrote:
>> I'm currently in the process of trying to set up my Master backend on
>> my server which is Mythbuntu 10.04 based. I'm struggling with the set
>> up of the tv_grab_nz-py.py epg grabber, or rather making mythtv-setup
>> 'see' the grabber. I would ideally like mythfilldatabase do the
>> running of the script automatically (I believe this is possible)
>> rather than running the script 'manually' and then having
>> mythfilldatabase suck in the resulting xmltv listings file (though
>> that's my back up plan if I can't get mythtv-setup to see the grabber
>> itself).
>
>Welcome.
>
>MythTV uses tv_find_grabbers to find the grabbers, it's easier to test
>with that from the CLI than open mythtv-setup all the time.
>
>I think all you need is xmltv installed and tv_gran_nz-py in your
>(mythtv's) path and it should work. Anything named tv_grab* is fine
>IIRC.
>
>hads
I have my customised tv_grab* files in /usr/local/bin along with my
other custom programs. I think I have had 10.4 find them there. I
know 9.10 finds them. BTW the name of the standard version as
downloaded is tv_grab_nz-py not tv_grab_nz-py.py. I do not think that
would cause any problem though. Chmod 755 should work, but I just
looked at my grabber files, and I seem to have them actually set to
777. The grabbers will be run from user mythtv when they are run by
mythbackend. I found that in 8.10-9.10, I had to link the
/home/mythtv/.mythtv directory across to the /home/<user>/.mythtv
directory as some things ran under user mythtv and others under user
<user> and as a result the grabbers did not always find their .xmltv
data files stored in the .mythtv directory, or there were two
different versions created. I have not moved to 10.4 yet, so I do not
know if that problem has been fixed or if you might still need to make
that link.
More information about the mythtvnz
mailing list