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 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. 

]# su -c 'vdr --config=/etc/vdr --device=0 --record=/usr/bin/vdrreccmd 
--shutdown=/usr/bin/vdrshutdown --terminal=/dev/tty9 --watchdog=60 
-P"mp3 "; echo $?' vdr
vdr: argc = 8
 'vdr'
 '--config=/etc/vdr'
 '--device=0'
 '--record=/usr/bin/vdrreccmd'
 '--shutdown=/usr/bin/vdrshutdown'
 '--terminal=/dev/tty9'
 '--watchdog=60'
 '-Pmp3 '
139          <==== exit state !

and even more weird , maybe because of the unusual exit value : 

]# su -c 'vdr --config=/etc/vdr --device=0 --record=/usr/bin/vdrreccmd 
--shutdown=/usr/bin/vdrshutdown --terminal=/dev/tty9 --watchdog=60 
-P"mp3 "' vdr ; echo $?
vdr: argc = 8
 'vdr'
 '--config=/etc/vdr'
 '--device=0'
 '--record=/usr/bin/vdrreccmd'
 '--shutdown=/usr/bin/vdrshutdown'
 '--terminal=/dev/tty9'
 '--watchdog=60'
 '-Pmp3 '
0


syslog:
Sep  2 23:07:43 localhost vdr[12163]: VDR version 1.2.4 started
Sep  2 23:07:43 localhost vdr[12163]: loading plugin: 
/usr/lib/vdr/lib/libvdr-mp3.so.1.2.4
Sep  2 23:07:43 localhost su(pam_unix)[12162]: session closed for user 
vdr

Strange .....

Even more strange: 

]# su -c 'vdr --config=/etc/vdr --device=0 --record=/usr/bin/vdrreccmd 
--shutdown=/usr/bin/vdrshutdown --terminal=/dev/tty9 --watchdog=60 
--log=3 -P"mp3 "; echo $? ' root
vdr: argc = 9
 'vdr'
 '--config=/etc/vdr'
 '--device=0'
 '--record=/usr/bin/vdrreccmd'
 '--shutdown=/usr/bin/vdrshutdown'
 '--terminal=/dev/tty9'
 '--watchdog=60'
 '--log=3'
 '-Pmp3 '
2

syslog:
Sep  2 23:13:46 localhost vdr[12193]: initializing plugin: mp3 (0.8.0): 
A versatile audio player
Sep  2 23:13:46 localhost vdr[12193]: ERROR: you should have defined at 
least one source in mp3sources.conf


Hope that helps to find the problem. Any test i can do ?? 

Greets Steffen


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



Home | Main Index | Thread Index