[mythtvnz] tv_grab_nz-py set up

Mike Brady mike.brady at devnull.net.nz
Mon Jan 23 04:51:02 GMT 2012


Quoting Paulgir <paulgir at gmail.com>:

>
>>> mythtvnz mailing list
>>> mythtvnz at lists.linuxnut.co.nz
>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>> There's a recent thread with some infomation you might find useful,
>> including a simple bash script I wrote to pull the epg data and run
>> mythfilldatabase automagically (once you cron it).
>>
>> http://www.gossamer-threads.com/lists/mythtv/mythtvnz/494548?page=unread#unread\
>>
>> I personally couldn't get the tv_grab_nz-py script to work for me, and
>> after a few frustrating days took matters into my own hands.
>>
>> http://www.gossamer-threads.com/lists/mythtv/mythtvnz/494548?page=unread#unread
>>
>>
> Do you put the script in any particular location?
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>

These are the notes that I made when I setup my system last year on  
Centos 6. Your mileage may vary.

1) Download tv_grab_nz-py from  http://nice.net.nz/tv_grab_nz-py/

2) Copy tv_grab_nz-py to /usr/bin. Make sure that it is executable.

3) Configure it. Note that the configuration file name must match that  
name of the video source configured in mythtv-setup for the  
mythbackend/mythfilldatabase to use this grabber.
tv_grab_nz-py --configure --config-file ~/.mythtv/<video sources name>.xmltv

4) To see if the xmltv side of things works run
tv_find_grabbers

This should return a list of all the installed grabbers, which should  
just be tv_grab_nz-py.

5) To see if the myth side of things works run
mythfilldatabase
Pay close attention to the output of this. If it looks like it worked,  
the MythWeb status page should also show a successful run.

6) On the master backend run mythsetup and
a) In Video Sources set "New Zealand (py)" as the grabber for your  
Video Source.
b) In General, on the Mythfilldatabase page (its the last page) enable  
"Automatically run mythfilldatabase". Configure time, frequency, etc  
to suite. Now Myth should use tv_grab_nz-py to update EPG  
periodically. The MythWeb status page shows when it was last run and  
what the results were.

Hope that this is useful.

Regards

Mike




More information about the mythtvnz mailing list