Thanks Steve, yes I am not using any intermediary parsers for the data, simply using EIT only setup in myth then importing the freeview listing data directly every night from the cron entry. <br><br>the -O - bit on the end wget simply says dump output to stdout and that gets piped to gunzip then to mythfilldatabase.<br>
<br>I have had nothing but trouble with the various dvbgrab and xmltv scripts for my purposes and don't really see a need for them.<br><br><div class="gmail_quote">On 10 July 2010 18:49, Steve Hodge <span dir="ltr"><<a href="mailto:stevehodge@gmail.com">stevehodge@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote"><div class="im">On Sat, Jul 10, 2010 at 9:56 AM, tim Lockyer <span dir="ltr"><<a href="mailto:drtimlockyer@gmail.com" target="_blank">drtimlockyer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<p style="margin-bottom: 0cm;">Thanks a lot for all your help. I am
making good progress. Have two more questions. I know how to use
crontab but do not understand the <font color="#000000"><font face="Verdana, Arial, Helvetica"><font size="2"><a href="http://your.epg.source.gz/" target="_blank">http://your.epg.source.gz</a>
</font></font></font>
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;"><font color="#000000"><font face="Verdana, Arial, Helvetica"><font size="2">First:</font></font></font></p><div>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;"><font color="#000000"><font face="Verdana, Arial, Helvetica"><font size="2">After
you have it working you can add a crontab entry like so: <br><br>wget
<a href="http://your.epg.source.gz/" target="_blank">http://your.epg.source.gz</a>
-O - |gunzip|mythfilldatabase -file 1</font></font></font></p></div></blockquote></div><div><br>In your case you wouldn't do that, you'd call epgsnoop to get the data rather than wget. Probably best to write a script that does all the grabbing and loading of the data and call that either from crontab or have myth itself call it periodically (it can be setup in in mythtv-setup IIRC). My script looks like this:<br>
<br>#!/bin/sh<br>export QTDIR=/usr/lib/qt3<br>rm -f /home/mythtv/listings-*.xml<br>rm -f /home/mythtv/listings_freeview-*.xml<br>dvbstream -s 22500 -o:/dev/null -f 1371 -p h -n 60 8192 &<br>/home/mythtv/tv_grab_dvb -s --skynz-ratings --category-map=/home/mythtv/categories_skynz -o 12 > /home/mythtv/listings-$$.xml<br>
mythfilldatabase --update --file 1 /home/mythtv/listings-$$.xml<br>mythfilldatabase --update --file 2 /home/mythtv/listings-$$.xml<br>killall dvbstream<br>sleep 5<br>dvbstream -s 22500 -o:/dev/null -f 1183 -p h -n 60 8192 &<br>
/home/mythtv/tv_grab_dvb -s --category-map=/home/mythtv/categories_freeview -o 12 > /home/mythtv/listings_freeview-$$.xml<br>mythfilldatabase --update --file 2 /home/mythtv/listings_freeview-$$.xml<br>killall dvbstream<br>
<br>dvbstream tunes the DVB-S adapter and starts streaming data from it to /dev/null. tv_grab_dvb monitors the packets from the adapter and extracts the EIT data to a file. The --update argument to mythtfilldatabase stops it from messing with the channel setup (I prefer to do that stuff manually). I'm not using epgsnoop - you'd want to replace the tv_grab_dvb line with the appropriate call to epgsnoop (and possibly that would also take care of the tuning, I'm not sure). What I do is grab the Sky listings and apply them to both Sky and Freeview sources as this ensures I have identical data for the common channels. I then grab the Freeview listings and apply those to get data for the Freeview-only channels.<br>
<br>If you search the archives you might find a similar script written for epgsnoop.<br><br>Cheers,<br>Steve<br></div></div>
<br>_______________________________________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" target="_blank">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
<br></blockquote></div><br>