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 Dienstag, 2. September 2003 23:16 schrieb Steffen Barszus:
> Am Samstag, 30. August 2003 16:03 schrieb Klaus Schmidinger:
> > I did see one thing that's not correct: if the command line for a
> > plugin contains trailing blanks, each of those results in an
> > additional, empty argv[] entry. However, I don't believe that this
> > could be what's causing your problem.
> >
> > Klaus
>
> [... patch ....]
>
> Ok here we go.
>

I know bad behaviour to reply to the own message ...

1.) Its reproducable with other plugins as well
2.) the plugin doesn't need to fail
3.) It is somethere in the terminal option (see the following)

[root@localhost init.d]# su -c 'vdr --config=/etc/vdr 
--record=/usr/bin/vdrreccmd --shutdown=/usr/bin/vdrshutdown 
--watchdog=60 --log=3 -P"mp3" ; echo $? ' vdr
vdr: argc = 7
 'vdr'
 '--config=/etc/vdr'
 '--record=/usr/bin/vdrreccmd'
 '--shutdown=/usr/bin/vdrshutdown'
 '--watchdog=60'
 '--log=3'
 '-Pmp3'
plugin: 'mp3' argc = 1
 'mp3'
No source(s) defined in mp3sources.conf
2


[root@localhost init.d]# su -c 'vdr --config=/etc/vdr 
--record=/usr/bin/vdrreccmd --shutdown=/usr/bin/vdrshutdown -t 
/dev/tty9 --watchdog=60 --log=3 -P"mp3" ; echo $? ' vdr
vdr: argc = 9
 'vdr'
 '--config=/etc/vdr'
 '--record=/usr/bin/vdrreccmd'
 '--shutdown=/usr/bin/vdrshutdown'
 '-t'
 '/dev/tty9'
 '--watchdog=60'
 '--log=3'
 '-Pmp3'
139
[root@localhost init.d]#

Greets

Steffen


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index