Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Streaming Radio in the Sandbox

Silontol Wemyss
Registered User
Join date: 23 Sep 2008
Posts: 9
10-02-2008 22:00
Is it possible tpo stream radio in a sandbox?

I tried and it didn't work.

If not, how can I test my radio script?

Silontol
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
10-02-2008 22:51
Yes, it's possible... if you are the owner of the sandbox, or if your role in the owner group is allowed to change the music URL on that land.

If not, since llSetParcelMusicURL() is very unlikely to break, just replace it with llOwnerSay() and check the URLs with a media player outside of SL. That's the first step to check that the logics in your script is working.

Then find a land owner who is voluntary to test your radio on his/her land. Just set the perms to no-trans, and eventually no-mod on the scripts --I find no-copy somehow insulting.-- unless you want to catch the attention of the scripter inside that land owner. :P
Silontol Wemyss
Registered User
Join date: 23 Sep 2008
Posts: 9
Thanks
10-03-2008 08:22
Thanks.

I'll do that
Silontol Wemyss
Registered User
Join date: 23 Sep 2008
Posts: 9
10-03-2008 09:30
Well, it works fine.

Great suggestion!

I just d/l'ed lsl editor so I can write and test scripts off-line.

I guess I can apply that method to any built in function that requires rezzing or manipulating objects or streams, or anything else that the editor can't do off-world, right?
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
10-03-2008 23:21
Yes, that will work... Until you need to communicate with a rezzed object or detect avies or objects... In short, until you'll need the world around your script.

I don't use any outside editor --apart from a "real" text editor with syntax highlight-- but I don't think they are sophisticate up to the point of simulating a world for your script to live in.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
10-04-2008 22:56
I've always thought that things like llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_AGENT, llGetOwner(), ... ]) or llEjectFromLand(llGetOwner()) should work on the resident that owns the object, whether or not the object owner is the same as the parcel owner. Just like for llPushObject(). Those have no persistent effect on the land/parcel/sim, and have absolutely no effect on other residents.