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

Bill Eldridge bill at rfa.org
Sun Jul 7 18:47:40 CEST 2002


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
bill at rfa.org



-- 
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 <postmaster at videolan.org>



More information about the vls-devel mailing list