Re: Huge playlists

Jacob Potter <[email protected]> Tue, 01 Jan 2002 17:02:57 -0500
Newsgroups gmane.music.equipment.slimp3.user
Organization Pottersoft
Message-ID <[email protected]>
Sean Adams wrote:
> Regarding the command line interface: the question has come up several
> times on both the -dev and -users lists, and the answer depends on how
> much work you want to do. The easiest way to add custom command-line
> controls would be to write wrappers for the web interface, using lynx,
> wget, or fetch.

	I'd be willing to write those wrappers - the issue is that there will
need to be some new commands:
	extcontrol	Sets the server in 'external control' mode
	line1 (text)	Puts (text) on line 1
	line2 (text)	Puts (text) on line 2
	clear		Clear VFD
	irqueue		Sends the remote buttons that have been pressed since the last
irqueue request: up, down, etc
	keepext		"ping" command - see below
	srvcontrol	Puts the server back in 'internal control' - also happens 10
seconds after last external-control command.

	The 10-second delay is to guard against crashing or interrupted
scripts. So a script might look like this:

#!/usr/bin/perl
slimp3cmd extcontrol
slimp3cmd clear
slimp3cmd line1 "Hello, World!"
sleep 5
slimp3cmd srvcontrol

	Sound good?

- Jacob

-- 
"Terminak #3 has bad keyboard. Pkease fix."

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Need new boots for winter? Looking for a perfect gift for your shoe loving friends?
Zappos.com is the perfect fit for all your shoe needs!
http://us.click.yahoo.com/ltdUpD/QrSDAA/ySSFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/