Re: [Freevo-users] EPG via DVB-T in Germany

2008-03-26 Thread Stephan Mueller
Hi Tobias,

* Tobias Geis [EMAIL PROTECTED] [26.03.2008]:

 This is my final script:

Thanks for sharing this! :)


Cheers,

Steph.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] EPG via DVB-T in Germany

2008-03-26 Thread Adam Charrett
On Wed, March 26, 2008 1:14 am, Tobias Geis wrote:
 Hi,

 since tv_grab_tv_today does not work, i tried to use the EPG data from the
 DVB-T signal.
 I found the tool tv_grab_dvb from Mary Bryars:
 http://www.darkskiez.co.uk/index.php?page=tv_grab_dvb
 snip

For those of you using DVBStreamer you can also use the little script that
Jonathan Isom provide to update the EPG data while the streamer is idle
and then dump it to an xmltv file.

See this link for more details:
http://dvbstreamer.sourceforge.net/mediawiki/index.php/FAQ#Q._How_do_I_update_the_EPG_data_on_all_my_multiplexes_so_I_can_use_.27dumpxmltv.27_to_get_a_up-to-date_xmltv_file.3F

Cheers

Adam


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] EPG via DVB-T in Germany

2008-03-26 Thread John Molohan
Adam Charrett wrote:
 On Wed, March 26, 2008 1:14 am, Tobias Geis wrote:
   
 Hi,

 since tv_grab_tv_today does not work, i tried to use the EPG data from the
 DVB-T signal.
 I found the tool tv_grab_dvb from Mary Bryars:
 http://www.darkskiez.co.uk/index.php?page=tv_grab_dvb
 snip
 

 For those of you using DVBStreamer you can also use the little script that
 Jonathan Isom provide to update the EPG data while the streamer is idle
 and then dump it to an xmltv file.

 See this link for more details:
 http://dvbstreamer.sourceforge.net/mediawiki/index.php/FAQ#Q._How_do_I_update_the_EPG_data_on_all_my_multiplexes_so_I_can_use_.27dumpxmltv.27_to_get_a_up-to-date_xmltv_file.3F

 Cheers

 Adam
   
Sounds like info that would be useful on the wiki ;)

John

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] EPG via DVB-T in Germany

2008-03-25 Thread Tobias Geis
Hi,

since tv_grab_tv_today does not work, i tried to use the EPG data from the
DVB-T signal.
I found the tool tv_grab_dvb from Mary Bryars:
http://www.darkskiez.co.uk/index.php?page=tv_grab_dvb

My first try was with this little script:

for freq in `cut channels.conf -d : -f 2|sort -u`; do dvbtune -q -c 0 -f
$freq 2/dev/null; ./tv_grab_dvb  ./epg.xml; done;

And it worked...

It is important to run tv_grab_dvb direct after tuning to a DVB-T frequence.

Now i can get EPG data without grabbing data with XMLTV from the TVToday
Homepage.

This is my final script:
--snip--
#/bin/sh
TV_XML=/opt/freevo/epg/TV.xml;
HEADER=?xml version=\1.0\ encoding=\UTF-8\?\n!DOCTYPE tv SYSTEM
\xmltv.dtd\\ntv generator-info-name=\dvb-epg-gen\;
FOOTER=/tv;
LOG=/var/log/dvb_egp_grep.log;
frequences=`cut channels.conf -d : -f 2|sort -u`;
DATUM=`date`;

echo --  $LOG;
echo $DATUM  $LOG;

for freq in $frequences
do
 dvbtune -q -c 0 -f $freq 2$LOG;
 ./tv_grab_dvb -s -u -d -c -f ./epg_$freq.xml 2$LOG;
 lines=`wc -l ./epg_$freq.xml|cut -f 1 -d  `;

 #Kopf und Fußzeilen entfernen; Tempfile erstellen
 head -n $(($lines-1)) ./epg_$freq.xml|tail -n $(($lines-4)) 
./epg_tmp_$freq.xml
done;

echo -e $HEADER  $TV_XML;
for datafile in epg_tmp_*
do
 cat $datafile  $TV_XML;
done;
echo $FOOTER  $TV_XML;

## Tempfiles löschen
rm epg_tmp_*
snip-

Ciao
Togeis


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users