Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Idea for a scripted music url changer.

Dire Graves
Registered User
Join date: 3 Sep 2007
Posts: 51
09-07-2007 16:13
I had an idea for a music manager script and was wondering if it's all ready been done. or if anyone else would find it useful.

So the live streaming servers are great but it would be just another bill I don't need each month. I already have several web hosting accounts and was thinking I could make an SL script to send a request to my web server for the play list. the web server would send back a URL to each song within a designated folder on the server along with the lengths of each song. The SL script would then change the music url of the land to play the first song and set a timer to know when to change to the next song.

It's a pretty simple idea, so I figure it may already be done. As far as I know you can't set the land music url to a playlist file, or can you? I also realize that everyone's music would not be in sync and people would even be listing to different songs although I'm sure I could program it to try and keep everyone at a pretty close point in the playlist.

Suggestions and comments are welcome.
Starfire Desade
Can I play with YOUR mind
Join date: 10 Jul 2006
Posts: 404
09-07-2007 18:44
Sounds like you would be relying on timing a lot from SL... Why not have your web server send a new URL when it is ready for the next one (let it do the timing)? I would think it would be more reliable that way.
Dire Graves
Registered User
Join date: 3 Sep 2007
Posts: 51
09-07-2007 18:50
From: Starfire Desade
Sounds like you would be relying on timing a lot from SL... Why not have your web server send a new URL when it is ready for the next one (let it do the timing)? I would think it would be more reliable that way.


Well the server is not always running like an SL script. it only runs for a second when it gets a request, and then it stops. So there would be know good way of having the server do the timing. I guess it could be done but it would be an unusual way for a server script to run.