[vlc] Strange behaviour of interfaces

Henning Schal henning.schal at gmx.de
Thu Oct 4 13:56:14 CEST 2007


Hello list,

recently I tried to control vlc via the rc interface.

When I start vlc like this in a shell vlc will start to play the file:
#vlc --extraintf rc  --rc-host 127.0.0.1:8123 absolutePathToFile

Then I can easily open another shell and type:
#echo "quit" | telnet localhost 8123

This will stop vlc again.


Here comes the problem:
I want to start vlc from a script, that should not block on opening vlc, 
but continuing with doing other stuff.

But if I start vlc  like this:
#vlc --extraintf rc  --rc-host 127.0.0.1:8123 absolutePathToFile &
vlc does not really go to the background, since if I try to telnet to 
vlc in the same shell where I started vlc, vlc will be stopped again.

Also trying
#vlc -d --extraintf rc  --rc-host 127.0.0.1:8123 absolutePathToFile
does not help, since vlc starts up but the rc interface does not seem to 
start up

One more hint I got:
If I put
#vlc --extraintf rc  --rc-host 127.0.0.1:8123 absolutePathToFile &
into a script and execute it from a shell, then vlc starts up and I get 
this error in the shell:
[00000282] main interface error: no suitable interface module
[00000001] main private error: interface "rc,none" initialization failed

with best regards




More information about the vlc mailing list