JOhnson Posted July 15, 2011 Report Share Posted July 15, 2011 as a few of you know I do a basic shoutcast listen2myradio which is free in spcn ... iv been looking in the snippets and spotted the snippet Shout Cast Radio Spammer Sock Bot iv tried to edit for spcn and have failed as always does this code only work for a hosted radio ? or will it work for a basic shoutcast listen2myradio and if so would someone give me a hand when there not to busy as always thanks to anyone who replies to this omg he is back ... everyone dives under the bed ... and is Ozzy still on sick leave Link to comment Share on other sites More sharing options...
err0r Posted July 16, 2011 Report Share Posted July 16, 2011 give me the info and I'll come up with something for it. Link to comment Share on other sites More sharing options...
JOhnson Posted July 17, 2011 Author Report Share Posted July 17, 2011 give me the info and I'll come up with something for it. listen err0r when your not to busy just reply to this and tell me what info you need ... and thanks again for the reply Link to comment Share on other sites More sharing options...
err0r Posted July 17, 2011 Report Share Posted July 17, 2011 link to your stream and such. Link to comment Share on other sites More sharing options...
JOhnson Posted July 18, 2011 Author Report Share Posted July 18, 2011 link to your stream and such. Hope this the info you need err0r and thanks again http://independent.listen2myradio.com address to broadcast: 109.169.47.158 Port:9522 Link to comment Share on other sites More sharing options...
err0r Posted July 18, 2011 Report Share Posted July 18, 2011 didn't i already make one for you before? Link to comment Share on other sites More sharing options...
JOhnson Posted July 18, 2011 Author Report Share Posted July 18, 2011 didn't i already make one for you before? yes you did it worked for a while then stopped working so I put it on one of my pen drives and lost the pen drive ... then I see this in snippets "Shout Cast Radio Spammer Sock Bot" and thought I might be able to get that to work but as I sed I failed and the only reason I could think that it failed is because the snippet looks like it is for a hosted internet radio and not a free one like iv got (maybe im wrong) as always err0r thanks for help and the reply Link to comment Share on other sites More sharing options...
err0r Posted July 18, 2011 Report Share Posted July 18, 2011 i'll see if i still have the one i made you and fix it to work again.. if not i'll make another. Link to comment Share on other sites More sharing options...
err0r Posted July 18, 2011 Report Share Posted July 18, 2011 be helpful if you could turn your radio on as well so i can test the code Link to comment Share on other sites More sharing options...
err0r Posted July 18, 2011 Report Share Posted July 18, 2011 Quick Code menu channel { My Radio .Set Channel: { set %myradioroom $$?="Full Channel Name" } .$iif($timer(.myradio),$style(2)) Turn On: { myradio | .timer.myradio 0 10 myradio | echo -a myradio msg on } .$iif(!$timer(.myradio),$style(2)) Turn Off: { unset %myradio.song | .timer.myradio off | echo -a myradio msg off } } alias myradio { sockclose myradio | sockopen myradio 109.169.47.158 80 } on *:sockopen:myradio: { if ($sockerr) { echo -a $sockerr | sockclose $sockname | halt } 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 sockwrite -n $sockname Host: 109.169.47.158 sockwrite -n $sockname $crlf } on *:sockread:myradio: { if ($sockerr > 0) return var %myradio | sockread %myradio if ($regex(%myradio,/<center>Song : (.*?)<\/body></html> <\/body>/)) { if ($regml(1) == Radio Status : Off) { sockclose $sockname | halt } if (%myradio.song != $regml(1)) && ($regml(1) != $null) { set %myradio.song $regml(1) | msg %myradioroom Now playing: $regml(1) on http://independent.listen2myradio.com } sockclose $sockname } } 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