Re: [vdr] VDR plugin options

2010-01-30 Thread Udo Richter
Am 25.01.2010 00:19, schrieb Adrian C.: Now I want a variable or array at the top of the script so I could easily add, remove and comment plugins... rewriting the above example: vdrplug=(-Pfemon -Psoftdevice -vo xv:full -ao alsa:mixer:pcm=default ) $vdrbin -L $vdrlib ${vdrpl...@]}

Re: [vdr] VDR plugin options

2010-01-30 Thread VDR User
On Sat, Jan 30, 2010 at 3:07 AM, Udo Richter udo_rich...@gmx.de wrote: The correct way to place every array element as one parameter, without doing any additional whitespace separation, is this: $vdrbin -L $vdrlib ${vdrpl...@]} In contrast, ${vdrplug[*]} merges all to one parameter,

Re: [vdr] VDR plugin options

2010-01-30 Thread Udo Richter
Am 30.01.2010 19:23, schrieb VDR User: On Sat, Jan 30, 2010 at 3:07 AM, Udo Richter udo_rich...@gmx.de wrote: The correct way to place every array element as one parameter, without doing any additional whitespace separation, is this: $vdrbin -L $vdrlib ${vdrpl...@]} In contrast,

[vdr] VDR plugin options

2010-01-24 Thread Adrian C.
Hello, in this example of starting VDR in a script some options are passed to the softdevice plugin: $vdrbin -L $vdrlib -Pfemon -Psoftdevice -vo xv:full -ao alsa:mixer:pcm=default Now I want a variable or array at the top of the script so I could easily add, remove and comment plugins...

Re: [vdr] VDR plugin options

2010-01-24 Thread VDR User
Use double-quotes to surround your plugins and single-quotes for plugin options. For example: VDR=$vdrbin -L $vdrlib PLUGINS=-Pfemon -P'softdevice -vo xv:full -ao alsa:mixer:pcm=default' eval $VDR $PLUGINS ___ vdr mailing list vdr@linuxtv.org

Re: [vdr] VDR plugin options

2010-01-24 Thread Adrian C.
On Sun, 24 Jan 2010, VDR User wrote: Use double-quotes to surround your plugins and single-quotes for plugin options. Excellent! Thank you. -- Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618 PGP FP: 02A5 628A D8EE 2A93 996E 929F D5CB 31B7 D20A 0618