# scan /usr/share/doc/linuxtv-dvb-apps-1.1.0/examples/scan/dvb-t/au-sydney_north_shore
Eyal - could you pleeeease just put me out of my misery here and tell
me how you did it!
this is pretty horrible, but from the scan output ( channels.conf) and an mplayer that supports dvb, I just ran:
cat channels.conf | perl -e '$opts=" -vo asdfasdf -ao asdfasdf| tee -a streaminfo"; while ($f = <STDIN>) { if ($f =~ m/radio/i || $f =~ m/jazz/i) {next;} $f =~ m/(.+?):/; print "mplayer \" dvb://[EMAIL PROTECTED]" $opts; "; }'
Paste the output into another shell and run it, which should fire up mplayer to interrogate the stream and fail (invalid vo driver), it should take a while and you might need to nudge it along with ctrl-c. Then you can
cat streaminfo | grep -e Playing -e ^VIDEO: -e ^AUDIO
to get video/audio details for each channel. Just note I've been told mplayer's bitrate report is not quite right.
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
