Admin: Python CGI & command-line interface for vls telnet

Bill Eldridge <[email protected]>
Newsgroups gmane.comp.video.videolan.vls.devel
Organization Radio Free Asia
Message-ID <[email protected]>
I added a few Expect-style Python scripts
to my page for controlling vls via the current
telnet interface:

1) one CGI script and an html form for a Web page
	vlsadmin.py
	vlsadmin.html

2) one command-line Python script:

	vlscommand.py [ -u user ] [ -p password ] command

They can also read a user:password
from /usr/local/etc/videolan/vls/login.txt

Unfortunately, it looks like the status returned
on programs always says "0", or I could use that
status to extend this and create "start" for stopped
programs and "stop" for started programs.
(I could do it anyway, but it's ugly to have
both possibilities).

http://techweb.rfa.org/staff/bill/videolan/

(Inspired by the guy doing a Tcl interface to vls).	
-- 
Bill Eldridge
Radio Free Asia
[email protected]



-- 
This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.