[MPlayer-dev-eng] [PATCH] TV auto scan and channel list in file

Diego Biurrun diego at biurrun.de
Wed Aug 22 23:56:10 CEST 2007


On Thu, Aug 23, 2007 at 04:44:30AM +0700, Vladimir Voroshilov wrote:
> 
> 2007/8/23, Bernd Ernesti <mplayer-dev-eng at lists.veego.de>:
> > On Thu, Aug 23, 2007 at 02:49:26AM +0700, Vladimir Voroshilov wrote:
> > >
> > > 2007/8/17, Ötvös Attila <oattila at chello.hu>:
> > > >
> > > > This patch implement automatic scan TV channels with -tvscan option.
> > > > This patch implement TV channel list store to XML file and mplayer read or
> > > > write this file.
> > >
> > > First note: you created one patch for two different features.
> > > I've extract scanner related code from your patch and prepared my own
> > > (attached).
> >
> > This was just a compile test to see it this patch breaks anything on *BSD and
> > was now a new warning:
> >
> > command.c:2292: warning: implicit declaration of function 'tv_start_scan'
> 
> Fixed in attached patch.
> 
> --- mplayer/DOCS/man/en/mplayer.1	(revision 24114)
> +++ mplayer/DOCS/man/en/mplayer.1	(working copy)
> @@ -1899,6 +1899,26 @@
>  .RE
>  .
>  .TP
> +.B \-tvscan <option1:option2:...> (TV and MPlayer only)
> +This option tunes various parameters for TV channel scanner.
> +MPlayer will also print value for "-tv channels=" option,
> +including existing and just found channels.
> +.sp 1
> +Available suboptions are:
> +.RSs
> +.IPs autostart (default: not set)
> +Begin channel scanning immediately after MPlayer startup.
> +.IPs period=<0.1-2.0> (default: 0.5)
> +Specify delay in seconds before switching to next channel.
> +Lower values will cause faster scanning, but can detect
> +not active TV channels as such.

s/not active/inactive/

Detect as what?  Active?  Then just say that.

> +.IPs threshold=<1-100> (default: 50)
> +Threshold value (in percent) for signal strength, reported by device.
> +Signal strength higher than this value will indicate that
> +currently scanning channel is active.

Diego



More information about the MPlayer-dev-eng mailing list