JOhnson Posted August 9, 2011 Author Report Share Posted August 9, 2011 what you have to edit is the IP / PORT / and Radio ID sockwrite -n $sockname POST /chat/fr2.php?ip=109.169.47.158&port=9522&ip1=&ip2=&ip3=&show=&b=1&radioid=1177905 HTTP/1.0 if you edit those in the above and in the sockopen and host it should work.. you can get the info just by viewing the source of your radio page. thank you for your reply .. at the moment the radio is running ok so no need to change the server ... Question ? where do I get the Radio ID ? as when I open my "Streaming Details" it only gives me my ip= and port= so iv no idea where to look for that Radio ID ... as always thank you for your help and reply Link to comment Share on other sites More sharing options...
err0r Posted August 9, 2011 Report Share Posted August 9, 2011 you view the page in your browser and right click and view page source so you can see the html code.. then you search Link to comment Share on other sites More sharing options...
JOhnson Posted August 9, 2011 Author Report Share Posted August 9, 2011 you view the page in your browser and right click and view page source so you can see the html code.. then you search ok as always thank you for your help and also thank you for the code and I worked out where to go and what to do cheers err0r Link to comment Share on other sites More sharing options...
TacticalThunder Posted April 27, 2013 Report Share Posted April 27, 2013 (edited) err0r, If you see this. I could use some help on the HTTP:/1 I can't find it in the source code http://www.cosyclanradio.com And to be totally inclusive, there is an Audio Realm and Shoutcast page for this one stream, I've looked on all View Source Pages and am still missing something. Edited April 27, 2013 by TacticalThunder Link to comment Share on other sites More sharing options...
err0r Posted April 27, 2013 Report Share Posted April 27, 2013 This should work to get song playing menu channel { Radio Test .Set Channel: { set %radiotest.room $$?="Full Channel Name" } .$iif($timer(.radiotest),$style(2)) Turn On: { radiotest | .timer.radiotest 0 10 radiotest | echo -a radiotest msg on } .$iif(!$timer(.radiotest),$style(2)) Turn Off: { unset %radiotest.song | .timer.radiotest off | echo -a radiotest msg off } } alias radiotest { sockclose radiotest | sockopen radiotest 96.31.83.87 8037 } on *:sockopen:radiotest: { sockwrite -n $sockname GET /7.html HTTP/1.1 sockwrite -n $sockname User-Agent: SHOUTcast Song Status (Mozilla Compatible) sockwrite -n $sockname Host: $+(96.31.83.87,:,8037) sockwrite -n $sockname $crlf } on *:sockread:radiotest: { if ($sockerr > 0) return var %radiotest | sockread -fn %radiotest if ($regex(%radiotest,/<body>(.*)<\/body>/)) { set %radiotest.song $gettok($regml(1),7-,44) if (%radiotest.song != %radiotest.lastsong) { set %radiotest.lastsong %radiotest.song msg %radiotest.room Now playing on CosyClanRadio.com - %radiotest.song } } } Link to comment Share on other sites More sharing options...
TacticalThunder Posted April 28, 2013 Report Share Posted April 28, 2013 Sorry err0r, that didn't work, but I'm gonna get this working if it kills me. Thanks. Might help you to know it is for Sparkpea. TT Link to comment Share on other sites More sharing options...
err0r Posted April 28, 2013 Report Share Posted April 28, 2013 hmm it worked fine for me did you set the roomname and turn it on in the menu? Link to comment Share on other sites More sharing options...
Site Moderator chain Posted April 28, 2013 Site Moderator Report Share Posted April 28, 2013 (edited) worked for me also in IRC server, maybe you didnt set the channel room correct jeff Edited April 28, 2013 by chain Link to comment Share on other sites More sharing options...
TacticalThunder Posted April 28, 2013 Report Share Posted April 28, 2013 err0r, I unloaded it, restarted the script, Loaded up the code again, still nothing. I'm using irc %#roomname Is that what is messing it up? TT Link to comment Share on other sites More sharing options...
Site Moderator chain Posted April 28, 2013 Site Moderator Report Share Posted April 28, 2013 (edited) Ok if your using Buzzen it's %#roomname if its irc its #roomname both working for me bro!! also look into the variables of the script and see if you have this in it %radiotest.room %#AFriendlyChat if it is give it a few mins to play with new song!! Edited April 28, 2013 by chain Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now