
I miss having it so much, can anyone look at it and tell me what might be wrong? I know its an old script and some functions might be outdated. If so, help me update it?
The remote itself does what it should still. It accepts url's and all, but it doesn't actually start them playing anymore.
list stream =[];
integer randchannel;
integer current;
integer stopper;
default
{
state_entry()
{
llSetText("click to change channel",<1,1,1>,1);
randchannel = (integer)llFrand(100000) + 1;
llListen(randchannel,"","",""
;llListen(0,"","",""
;}
touch_start(integer total_number)
{
llDialog(llDetectedKey(0),"Media Comander \n current stream is \n " + llList2String(stream,current),["play","stop","pause","loop","Next","Back"],randchannel);
}
listen(integer channel,string name,key id,string message)
{
stopper = 1;
if (message == "play" && channel == randchannel)
{
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_URL, llList2String(stream,current),PARCEL_MEDIA_COMMAND_PLAY]);
}
if (message == "Next" && channel == randchannel)
{
if (current <= llGetListLength(stream) - 2 && stopper == 1)
{
current = current + 1;
llDialog(id,"Media Comander \n current stream is \n " + llList2String(stream,current),["play","stop","pause","loop","Next","Back"],randchannel);
stopper = 0;
}
if (current == llGetListLength(stream) - 1 && stopper == 1)
{
current = 0;
llDialog(id,"Media Comander \n current stream is \n " + llList2String(stream,current),["play","stop","pause","loop","Next","Back"],randchannel);
stopper = 0;
}
}
if (message == "Back" && channel == randchannel && stopper == 1)
{
if (current >= 1 && stopper == 1)
{
current = current - 1;
llDialog(id,"Media Comander \n current stream is \n " + llList2String(stream,current),["play","stop","pause","loop","Next","Back"],randchannel);
stopper = 0;
}
if (current == 0 && stopper == 1)
{
current = llGetListLength(stream) - 1;
llDialog(id,"Media Comander \n current stream is \n " + llList2String(stream,current),["play","stop","pause","loop","Next","Back"],randchannel);
stopper = 0;
}
}
if (message == "pause" && channel == randchannel)
{
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_PAUSE]);
}
if (message == "loop" && channel == randchannel)
{
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_URL, llList2String(stream,current),PARCEL_MEDIA_COMMAND_LOOP]);
}
if (message == "stop" && channel == randchannel)
{
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_STOP]);
}
if (llGetSubString(message,0,3) == "add " && id == llGetOwner())
{
stream += llGetSubString(message,4,llStringLength(message));
llSay(0,"stream: "+ llGetSubString(message,4,llStringLength(message)) +" added"
;}
if (message == "list" && id == llGetOwner())
{
llSay(0,llDumpList2String(stream," - \n"
);}
if (llGetSubString(message,0,3) == "rem " && id == llGetOwner())
{
string messages = llGetSubString(message,4,llStringLength(message));
if(llListFindList(stream,(list)messages) != -1)
{
integer find = llListFindList(stream,(list)messages);
stream = llDeleteSubList(stream, find, find);
llSay(0,messages + " removed"
;}
else
{
llSay(0,"stream url Not found"
; }
}
}
}

I also noticed that although the hud lists a movie, when I hit play it doesn't actually start that movie (but plays the last movie listed on the hud before) unless I stop and start play a second time. Which it didn't used to do. Hmmmm.
That is especially nice because it was confusing at times as to what url was actually playing before.