Re: Done: current track, artist, and time from Live365
"Mark C . Langston" <[email protected]> Tue, 9 Oct 2001 11:55:55 -0700
| Newsgroups | gmane.music.equipment.slimp3.dev |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 09, 2001 at 11:38:57AM -0700, Mark C . Langston wrote: > > I was going to grope through their code, but cvs.sourceforge.net seems > to be kaput at the moment. Once it's back up I'll have a look. It > does appear as though they have some way of determining song ends in > Live365. if that's the case, I can use that as the prompt to poll. > I am a monumental moron. Buried in the javascript I'm parsing from Live365 is a count of the number of seconds remaining in the currently playing song. This could be used to start a countdown timer, which would trigger a new title/artist fetch on expiry, and would be reset with the new value grabbed during the fetch. (I looked at the streamripper code, which seemed to be getting a value similar to this from somewhere. I couldn't determine what the code itself was using, but it set me to digging further and discovering the above.) I'll amend my code accordingly. -- Mark C. Langston [email protected] Systems & Network Admin http://www.bitshift.org ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get your FREE VeriSign guide to security solutions for your web site: encrypting transactions, securing intranets, and more! http://us.click.yahoo.com/UnN2wB/m5_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/