Re: Huge playlists
Jacob Potter <[email protected]> Fri, 11 Jan 2002 17:00:56 -0500
| Newsgroups | gmane.music.equipment.slimp3.user |
|---|---|
| Organization | Pottersoft |
| Message-ID | <[email protected]> |
dean blackketter wrote:
> Hi Jacob,
>
> Sorry it took me so long to get to this.
>
> I just checked in a couple of fixes and documentation on the HTTP
> interface to the server. Should make it much easier for you to build
> your wrappers.
Thanks!
Here's the wrapper (change the PORT variable for your setup):
----------------
#!/bin/bash
PORT=8080
HOST=localhost
PAGE=$1.html
P1=$2
P2=$3
P3=$4
URL="http://${HOST}:${PORT}/${PAGE}?p1=${P1}&p2=${P2}&p3=${P3}"
wget -q -O /dev/null $URL
-----------------
So, to do the:
Hi
Mom
display, you would run:
./scmd display Hi Mom
or (longer example)
./scmd display 'Hello, World' 'SliMP3s are great'
Sound good?
- Jacob
--
"Terminak #3 has bad keyboard. Pkease fix."
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tiny Wireless Camera under $80!
Order Now! FREE VCR Commander!
Click Here - Only 1 Day Left!
http://us.click.yahoo.com/WoOlbB/7.PDAA/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/