<!doctype html public "-//W3C//DTD W3 HTML//EN">
<head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [slimp3-dev] Progress bar
proposal</title></head><body>
<div>One simple way to modify the display to show non-SliMP3 data is
to use curl or wget to access the SliMP3 server and change the display
that way. If you do this, then you won't have to modify
the SliMP3 server code to get your custom data displayed.
(Downside: this works for display only, we don't have a way to
extend the use of the IR remote via HTTP. But we should.)</div>
<div><br></div>
<div>Check out the README.HTTP.html file for details controlling the
SliMP3 via HTTP, here's a trivial example:</div>
<div><br></div>
<div>wget
http://slimserver:9000/display?p1=Hello&p2=World&p3=30</div>
<div><br></div>
<div>This would put up:</div>
<div><br></div>
<div>----------------------------------------</div>
<div>Hello</div>
<div>World</div>
<div>----------------------------------------</div>
<div><br></div>
<div>on the display for 30 seconds or until the user used the IR
remote...</div>
<div><br></div>
<div>-dean</div>
<div><br></div>
<blockquote type="cite" cite>At 01:36 PM 15/01/2002, you wrote:<br>
>All of these are really great ideas, why not implement them all,
and then<br>
>make a configuration option for the display. Better yet,
would there be a<br>
>way to make all these cool widgets exist "in the background"
so that I<br>
>could just edit a variable and completely customize my
display?<br>
>For example:<br>
>$line1 = $Function." ".$PlayTime."
".$ProgressBar." Vol: ".$Volume;<br>
>$line2 =
"[".$PlayListPosition."/".$PlayListTotal."]
Playing: ".$Artist." -<br>
>".$Title;<br>
><br>
>And this might give me a display that looks something like:<br>
>---------------------------------------<br>
> > 01:33
[##### <span
</span> ] Vol: 99<br>
>[12/100] Playing: Scandal - The Warrior<br>
>---------------------------------------<br>
>Of course long lines would scroll like they do now.<br>
<br>
I really like the idea of this actually...... Ive been playing around
with <br>
a small 16x2 LCD display hooked up to my PC of late, and the
controlling <br>
software (LCD Center) allows you to customise what is displayed on
each line.<br>
<br>
For instance, I currently have the current time, and the CPU temp on
the <br>
top line, and the machines Uptime, and CPU Load on the 2nd line. The 2
<br>
lines in setup look like this (where the [ ] is the
enterable text box)<br>
<br>
Line 1 : [$TIME -
$TEMP2
]<br>
Line 2 : [$UPTIME - $CPULOAD%
]<br>
<br>
The software knows that $TIME is a variable for the current time,
$TEMP2 is <br>
the 2nd sensor on my motherboard, $UPTIME is the machines uptime, and
<br>
$CPULOAD shows the load on the CPU. All other text (spaces, dashes and
% <br>
etc) are straight text which show up exactly as I type it.<br>
<br>
<br>
Being able to set this by the user would be brilliant. It would be
nice <br>
eventually to be able to do this off the remote and from the website,
but I <br>
would imagine initially something like a display.pl script that works
<br>
similar (or in conjunction with) the setup.pl script. Running this
script <br>
at any time will allow you to adjust your default display and save the
<br>
options to a conf file like the setup.pl file does (or even use the
same file)<br>
<br>
Something I also just thought of.... You could even allow multiple
<br>
different display profiles that could be switched between by
pressing the <br>
DISP button. So for instance if I have 3 saved display profiles, I can
<br>
press the DISP button to scroll between the below 3
configs/displays.</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite"
cite
--------------------------------------------------------------------<span
</span>-----</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>1: Line 1 : [$DISP
$POS$FILL$PLAYTIME
]</blockquote>
<blockquote type="cite" cite> Line
2 : [$TRACK $SONG$FILL$BITRATE
]<br>
<br>
----------------------------------------<br>
Now Playing (4 of
13): <span
</span> 01:33<br>
4. Unskinny
Bop <span
</span>
160k<br>
----------------------------------------<br>
<br>
$DISP is the value of the curent generic display (Random, straight
etc)<br>
There is a space after the display (straight ASCII text)<br>
$POS which is the position of the playlist<br>
$FILL is to fill with space, and push everything after $FILL to the
right<br>
$PLAYTIME is the value of the elapsed time of the track<br>
$TRACK is the value of the Track Number from the ID3 tag<br>
$SONG is the value of the Song Title from the ID3 tag<br>
$BITRATE is the value of the encoding bitrate of the mp3.<br>
<br>
---------------------------------------------------------------------<span
</span>----<br>
<br>
2: Line 1 : [ $ARTIST /
$ALBUM <span
</span> ]<br>
Line 2 : [ $TRACK
$SONG <span
</span> ]<br>
<br>
----------------------------------------<br>
Poison / Flesh N' Blood<br>
4. Unskinny Bop<br>
----------------------------------------<br>
<br>
$ARTIST is the value of the Artist field from the ID3 tag<br>
[space]/[space] displays it as its typed " / "<br>
$ALBUM is the value of the Album field from the ID3 tag<br>
<br>
---------------------------------------------------------------------<span
</span>----<br>
<br>
---------------------------------------------------------------------<span
</span>----<br>
<br>
3: Line 1 : [ $REMAINTIME $PROGBAR Vol:
$VOLUME ]<br>
Line 2 : [ $POS Playing:
$SONG <span
</span> ]<br>
<br>
----------------------------------------<br>
03:12 [##############
] Vol: 55<br>
(4 of 13): Unskinny Bop<br>
----------------------------------------<br>
<br>
$REMAINTIME is the value of the amount of time remaining on the
mp3<br>
$PROGBAR is the display currently being talked about. Can fill the gap
?<br>
[space]Vol:[space] displays " Vol: "<br>
$VOLUME is the numerical value of the current volume setting<br>
[space]Playing:[space] displays " Playing: "<br>
<br>
---------------------------------------------------------------------<span
</span>----<br>
<br>
<br>
<br>
I believe this is a good thing for the unit simply because it puts the
<br>
control of the display in the hands of the owner. And even if the
owner <br>
wants to use this feature for stupid things, and put up messages to
piss <br>
his mates off at the press of a button, what does it matter (it'll
probably <br>
annoy his mate into buying one too so he can do it :P)<br>
<br>
<br>
<br>
Chris<br>
<br>
<br>
<br>
---<br>
CDR - Crowley Digital Reproductions - Hard Rock & Heavy Metal CD
Bootlegs<br>
http://crowley.thegatesofhell.org/cdr/<br>
<br>
My ICQ # is 1096929<br>
<br>
<br>
------------------------ Yahoo! Groups Sponsor
---------------------~--><br>
Tiny Wireless Camera under $80!<br>
Order Now! FREE VCR Commander!<br>
Click Here - Only 1 Day Left!<br>
http://us.click.yahoo.com/WoOlbB/7.PDAA/ySSFAA/rIp0lB/TM<br>
---------------------------------------------------------------------<span </span>~-><br>
<br>
To unsubscribe from this group, send an email to:<br>
slimp3-dev-unsubscribe-***@public.gmane.org<br>
<br>
<br>
<br>
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/ </blockquote>
<div><br></div>
</body>
</html>