Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Problems with exit-states (VDR-1.2.2)
Am Die, 2003-08-26 um 18.24 schrieb Klaus Schmidinger:
> > I also have strange problems with the command-line. VDR complains about
> > things like "unrecognized option: --mount=mount.sh" although it loads
> > the mp3-plugin or other plugins. vdr --help shows the plugin and it's
> > options fine.
> >
> > My init-script is ready for a week now and it certainly could replace
> > runvdr quite well (it has extensive error-recovery and logging - I'll
> > post it on the list when it works), but I'm struggling with the
> > command-line.
> >
> > I've tested a lot of strings with quotations, (back-)slashes, etc. but
> > either vdr complains about wrong plugin-options or returns wrong
> > exit-codes. It also could be some kind of parsing-error.
> >
> > Could you give me an example of a command-line with several plugins and
> > several options for each plugin which definitely works for you?
>
> I'm afraid my command line isn't complex enough.
> Cahnces are you have done something wrong with quotes (or lack thereof).
>
> If you post your command line here, I'm sure somebody can pinpoint
> the problem.
>
Ok, here's one of the hundreds of lines I've tested. The init-script
generates such lines directly from config-files (one for each plugin)
-------------------- snip --------------------------------------------
vdr --config=/etc/vdr --record=vdrreccmd --shutdown=vdrshutdown
--terminal=/dev/tty1 --watchdog=60 -P\"dxr3 \" -P\"control
--terminal=/dev/tty9 --port=2002 \" -P\"games \" -P\"mp3
--mount=mount.sh --cddb=/var/lib/cddb \" -P\"mplayer --mount=mount.sh
--mplayer=mplayer.sh \" -P\"remote --tty /dev/tty10 \" -P\"vcd
--vcd=/dev/cdrom \"
-------------------- snap --------------------------------------------
I get error-messages like:
-------------------- snip --------------------------------------------
vdr: unrecognized option: '--mount=mount.sh'
-------------------- snap --------------------------------------------
It seems to be a parsing error which assigns the plugin-options to vdr
instead of plugin.
By the way I'd like to suggest to drop options on command-line and ask
the plugin-developers to put their option for starting up into a
config-file as command-line parsing gets to complicated (please consider
the string above is for seven plugins only!)
--
Rene Bartsch
Facsimile/Phone: +49 7 00/72 27 87 24
Mail: rene@bartschnet.de
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index