Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Shoutcast "now playing" with XML-RPC?

Chip Midnight
ate my baby!
Join date: 1 May 2003
Posts: 10,231
08-27-2004 13:37
This is probably a stupid question but I know that winamp has XML capability for now playing info, and there are several winamp plugins for pulling the info and making it accessible to html. How hard would it be to create an SL XML-RPC setup to display this information inside SL? I'm too much of an LSL moron to do it myself but was just wondering if it was A) possible and B) anyone wants to take a stab at it.
_____________________

My other hobby:
www.live365.com/stations/chip_midnight
MSo Lambert
Registered User
Join date: 16 Aug 2004
Posts: 101
08-29-2004 03:16
A) Its possible allright ;)

B) I took a stab at it, and I currently have a demo shoutcast announcer using XML-RPC at my place in Kiha (103, 188). Currently i'm not selling/distributing it yet, but if people start showing interest, I will probably bundle it with a music URL changer and start selling it.

The script is talking with a custom XML-RPC client on a fast hosting provider and is capable of serving many requests simultaneously, so there is no need to have your own client/webspace or deal with any external scripts. The script works just by setting a few parameters in the config notecard and rezzing the object.

At the moment its capable of:
- displaying only the current song info and/or server status
- additionally display number of current/max/peak listeners
- and/or shoutcast server bandwidth usage
- maintaining 10 songs in "recently played" list and displaying it on demand.

Update interval can also be changed without messing with the script (but I currently don't allow updates under 1 minutes - I like everything as lag free as possible).

I'm still a LSL newbie, but I have years of experience in software development and XML-RPC, so if you have any questions, suggestions, ideas or commision work that involves XML-RPC, please don't hesitate to contact me.

Edit: added the "recently played" feature
_____________________
MSo
Sensual Casanova
Spoiled Brat
Join date: 28 Feb 2004
Posts: 4,807
08-29-2004 03:37
Impressive :)
Chip Midnight
ate my baby!
Join date: 1 May 2003
Posts: 10,231
08-29-2004 15:19
Very cool MSo! :) I thought it would be possible but I'm not a scripter so it's beyond me. If/when you decide to sell please let me know. I just want the ability to display the currently playing track on my parcel. I run my own shoutcast server. I'll happily commision you to do something similar for me. Currently playing and perhaps the previous two tracks is all I really need. Let me know. I'm willing to pay handsomely :)
_____________________

My other hobby:
www.live365.com/stations/chip_midnight
Chip Midnight
ate my baby!
Join date: 1 May 2003
Posts: 10,231
09-05-2004 16:16
Just a bump to say I'm now using MSo's Shoutcast announcer and it works like a charm. Mad props sir!
_____________________

My other hobby:
www.live365.com/stations/chip_midnight
Dioxide DeSantis
Registered User
Join date: 2 Feb 2007
Posts: 63
01-05-2008 16:18
Is there anyplace in world that I can see this in action and grab a copy?
The old link does not seem to have it anymore