[vlc] Re: control VLC via telnet with PHP

Brian Raymond braymond at echostorm.net
Sat Dec 10 22:48:42 CET 2005


The documentation on www.videolan.org gets into managing things from  
the command line, that helps understand the input and output syntax.  
capter 5 steps you through telnet so I'd suggest using it. I used  
that guide as my source quite effectively.

Typing "help" in the telnet interface will also show you the list of  
commands.

- Brian


On Dec 9, 2005, at 2:39 PM, IronFog wrote:

> thanks for the input.
>
> I already built most stuff for the web interface.
>
> And I 'll figure how to use PHP for telnet .
>
> The only thing I'm stuck with is how to control VCL through telnet .
>
> here is a command I use to launch vlc :
>
> vlc.exe --extraintf=http "playlist.m3u" -f  -I telnet --telnet- 
> password videolan --telnet-port 4212
>
>
> My questions are -
> how do I manage playback with the telnet
> ( play,
> pause,
> stop ,
> play next item ,
> play previous item,
> fetch playback status to show it on the webpage,
> fetch currently played item's MRL .
> etc.
> )
> thanks again.
>
>
>
> ----- Original Message ----- From: "Antoine Cellerier"  
> <dionoea at via.ecp.fr>
> To: "IronFog" <ironfog at gmail.com>
> Cc: <vlc at videolan.org>
> Sent: Friday, December 09, 2005 12:52 PM
> Subject: Re: [vlc] Re: control VLC via telnet with PHP
>
>
>> On Fri, Dec 09, 2005, IronFog wrote:
>>> the reason I need it is that
>>> 1. it has to be a movie database at the backend with all kind of  
>>> possible
>>> info.
>>> 3. you can't build DB interface using vlc native server.
>>
>> VLC can do those with CGI php for example.
>>
>>> 2. an application should be 24/7 up and I 'm not sure about VLC  
>>> http server
>>> stability.
>>
>> I guess that you have a point :)
>>
>> -- 
>> Antoine Cellerier
>> dionoea
>
> -- 
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list