Page 1 of 1

Command line or config file?

Posted: 08 Oct 2012 17:00
by kostyan
Is it possible to find out if a variable of an access module was set via command line or via predefined default value?

I want to give higher priority to variable values specified on the command line rather than in the configuration file, but in order for this to work, I need to know if a variable was set on the command line or not.

Re: Command line or config file?

Posted: 08 Oct 2012 18:39
by Jean-Baptiste Kempf
Isn't that the default behaviour anyway?

Re: Command line or config file?

Posted: 09 Oct 2012 07:32
by kostyan
In fact, I was thinking about using a separate configuration file just for my module, but probably you are right and I should use the VLC configuration file instead.