[mythtv-users] tv_grab_dvb cron scripts

Ciaran ciaranj at gmail.com
Wed Mar 9 18:52:31 UTC 2005


n Wed, 09 Mar 2005 16:31:48 +0000, Jonathan Hart <jonhart at imapmail.org> wrote:
> Hi,
> 
> I've just about managed to get 0.17 up and running with a Nova-T
> conexant card (backend on Ubuntu Hoary; Front on Mac OSX). I have a few
> questions I would like to ask if that's okay:
> 
> I've started to use tv_grab_dvb for getting the epg info. Can anyone
> give me some direction on creating scripts to get the epg and import it.
> Right now I have made these in /etc/cron.daily:
> 
> 1. tv_grab_dvb.sh (this one hopefully should get the epg)
> 
> #!/bin/sh
> 
> su mythtv -c "/usr/local/bin/tv_grab_dvb -u -t 35 -s -c
> /usr/local/etc/chanidents > /tmp/whatson.xml"
> 
> 2. mythtv-backend (I altered the original ubuntu script which was just
> "su mythtv -c "mythfilldatabase --quiet")
> 
> #!/bin/sh
> 
> su mythtv -c "mythfilldatabase --quiet --no-delete --file 1 -1
> /tmp/whatson.xml"
> 
> These seem to work properly from the command line; this is my first try
> at scripts.
> 
> I'm just learning basic linux stuff and am not sure if I have gone about
> this the right way in regards to permissions, and how the scripts
> execute etc...
> 
> Jon
> --
>   Jonathan Hart
>   jonhart at imapmail.org
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
Hmm , I'm a little confused, you should no longer need to run that
script at all with the 0.17 v of MythTv it pulls in the EIT/EPG
automatically for you, yummy!

-- 
- Ciaran
(I now have far too many G-Mail invites available, anyone who wants
one, gets one)


More information about the mythtv-users mailing list