Done: current track, artist, and time from Live365
"Mark C . Langston" <[email protected]> Tue, 9 Oct 2001 10:06:39 -0700
| Newsgroups | gmane.music.equipment.slimp3.dev |
|---|---|
| Message-ID | <[email protected]> |
Well, I now have working Perl code that will:
* look up a broadcaster's handle from their streamID
* Use that handle to grab the currently playing
- track name
- artist
- duration
...from the Live365 server.
Before I begin integrating all this into the codebase, a few things
need to happen:
1) We need to make sure the current CVS codebase correctly handles
redirects (I assume this hasn't happened yet.)
2) We should decide on a scheme for identifying the type of stream
(ice/shoutcast, Live365, etc.) to facilitate things like grabbing
song and artist info from the remote server
3) We need to determine whether there is a method more efficient than
just polling the remote stream server every X seconds to update
the song/artist info. So far, I haven't come across anything, but
this is my first attempt at any such code, so this may just reflect
my own ignorance.
4) If there is no solution to #3 other than interval polling, we should
provide an option to disable this feature, or allow the end-user
to change the interval.
Once these issues are resolved, I'll massage appropriately and submit
the appropriate patch. Until then, our streams will go without song/
artist info...a suboptimal status quo. :)
--
Mark C. Langston
[email protected]
Systems & Network Admin
http://www.bitshift.org
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Pinpoint the right security solution for your company- Learn how to add 128- bit encryption and to authenticate your web site with VeriSign's FREE guide!
http://us.click.yahoo.com/yQix2C/33_CAA/yigFAA/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/