Is there a problem with llSetParcelMusicURL?

Creating sounds and music
Post Reply
User avatar
Selby Evans
Posts: 590
Joined: Wed Sep 04, 2013 6:00 pm
Has thanked: 1628 times
Been thanked: 751 times

Is there a problem with llSetParcelMusicURL?

Post by Selby Evans »

Singer Girl XOXOXOX is building venues for musical and entertainment events.
She has found a problem that I can't solve on my own.
She is using a script to let users change the parcel music.
This script works in Second Life and in Inworldz, but in Kitely (and probably other OpenSim places) it puts the url in the box for audio setting, but does not activate it.
I find that if I go to that settings box, put the focus on the line where the url is entered, and press return (enter) the url is activated and the music plays.
Here is the script (This is a slave script supported by another script named Controller)

// ZenMondo's URL Go-to-er slave by ZenMondo Wormser
// Developed for Caledon Library System
// Takes a patron to an aetheric address to read
// a book or chapter of a book.
// This script must be in the same prim as the script
// ZenMondo's URL Go-to-er master to work properly.

// This work is licensed under the Creative Commons Attribution-Noncommercial-Share
// Alike 3.0 License. To view a copy of this license, visit
// or send a letter to Creative
// Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
// Attribution:
// If unmodified you must keep the filename intact
// If a derivative work you must say "Based on the CodePoetry of ZenMondo Wormser"

link_message(integer sender_num, integer num, string str, key id)
//The message and url are passed from ZenMondo's URL Go-to-er master
// Divided by a double colon (::) we split the string by dividing it
// into two list elements then extracting them as strings.
// id is the key of the patron making the request also passed from
// ZenMondo's URL Go-to-er master.

list cmds = llParseString2List(str, ["::"], []);

string message = llList2String(cmds, 0);
string url = llList2String(cmds, 1);

// llLoadURL(id, message, url);
llSay(0, message);


On further testing, I find a similar result from manual entry. That is, if I type in the url and do not end it with a carriage return, it is not activated and the music does not play. If I supply the cariage return, the music plays. With the manual entry, I would not normally get the problem because I am in the habit of ending a line with a carriage return.

I think a workaround might be to append a carriage return at the end of the string sent to the sumulator.

Can anyone give me advice on this?
Post Reply