[MPlayer-dev-eng] [PATCH] DVB: look for channels.conf in confdir

Nico Sabbi Nicola.Sabbi at poste.it
Mon Mar 3 17:21:36 CET 2008


On Monday 03 March 2008 17:14:29 Guillaume LECERF wrote:
> Hi all,
>
> I noticed that the dvb code looks for channels.conf only using
> get_path(). I'd like it to be able to also look for a system wide
> channels.conf file in MPLAYER_CONFDIR.
> This way, for an embedded system like geexbox, we can put all
> *.conf in /etc/mplayer and specify --confdir=/etc/mplayer when
> compiling.
>
> So I attached 2 patches with 2 different behaviors :
> - if channels.conf is not found with get_path(), try to load the
> system wide one.
> - if a system wide channels.conf is not found, try with get_path().
>
> Nico, what looks best to you ?

dvb1.diff is better: giving preference to the most local
files/settings is the most logical behaviour.
Someone commit, please, or wait for tonight



More information about the MPlayer-dev-eng mailing list