Jump to content

Indigo Somerset

Resident
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Indigo Somerset

  1. Has anyone discovered that some of their searches on the MP are not bringing back results that are anywhere near being what you searched for? Like searching for Spin the bottle and you dont find one in the first 75 results. Now there's always been *****es sprinkled through every search for years , but now it's really ridiculous the amount of unrelated results and not just male genitalia....this is a recent problem that has cropped up...like the last week or so. I dont see anything on the SL grid status page about it so I filed a ticket. Thanks , Community.
  2. Hi Cookie, I like your radio script but I cant seem to get song title info from it. Giving me an error with llhttprequest... I've been fiddling with my own script which will pull Shoutcast v1 song/artist info ok. But V2 I get nothing. I have seen the XML response from this server when using an external web browser, but llhttprequest returns nothing. Any help from anyone is greatly appreciated. Feel free to reply here, IM me in world, Notecard, whatever you like. (smile) Thanks!! ......... Here's 'my' script which I grabbed from somewhere else and edited a bit.... string stream = "http://50.7.69.18/stats?sid=1"; // shoutcast v 2 server key kSentRequest; default { state_entry() { kSentRequest=llHTTPRequest(stream + "/7.html", [HTTP_USER_AGENT, "LSL_Script (Mozilla Compatible)"],""); // save this one } http_response (key kRecRequest, integer intStatus, list lstMeta, string strBody) { if (kRecRequest == kSentRequest) { // debug llSay(0,"\n\n" + (strBody) + "\n\nthe stream requested are " + stream ); integer start = llSubStringIndex(strBody,"<body>"); integer end = llSubStringIndex(strBody,"</body>"); string a = llGetSubString(strBody,start,end); llSay(0,"Song details :"+a); } } touch_start(integer total_number) { kSentRequest=llHTTPRequest(stream + "/7.html", [HTTP_USER_AGENT, "LSL_Script (Mozilla Compatible)"],""); } }
  3. Well, I can pull info from Shoutcast v1, at least. Not sure why llhttprequest wont grab the info for Shoutcast v2 server. If anyone would like to be helpful that'd be great.
  4. Does anyone have a sample lsl script to grab the artist/song title for a shoutcast server? For Shoutcast V1 and V2 would be really awesome. Thank you very much.
×
×
  • Create New...