DCRRadio Posted July 26, 2013 Share Posted July 26, 2013 Hello, has anyone got a script to display current track on air? my host give me one but it displays the station name, and has a tune in link when you click on it, has anyone got a script that just displays the current track and artist without the tune in links or displaying the station name? Link to comment Share on other sites More sharing options...
MixStream.net Posted August 5, 2013 Share Posted August 5, 2013 Hello, I'm currently working on a simple script which can get the current track etc. The aim is to create a script that doesn't slow the page load times down so hopefully it is an improvement on what's already out there (although I'm sure someone has come up with a similar idea before!). I'll post a link this afternoon to the script and hopefully it will be useful to you. Link to comment Share on other sites More sharing options...
MixStream.net Posted August 5, 2013 Share Posted August 5, 2013 Here's the new script http://mixstream.net/streaming/resources/allinone/ Works with Shoutcast V1 and V2. I know it does more than you were asking, but you don't have to use all of the options available. Here's a demo: http://mixstream.net/streaming/resources/allinone/example.html Any feedback is welcome. Link to comment Share on other sites More sharing options...
GKIye Posted August 7, 2013 Share Posted August 7, 2013 Is it possible to show the total results of mainstream + backupstream at the same page ? * so if it shows 15 listeners on "mainstream" * making it visible into the same line the total result of mainstream + backupstream example "15 + 13" = shows in one line "28" I made some changes to the design and look of the script ... and it looks nice to Me, including an auto-refresh and a listen button Check Your PM for the test link at my webserver Here's a demo: http://mixstream.net/streaming/resources/allinone/example.html Any feedback is welcome. Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
MixStream.net Posted August 7, 2013 Share Posted August 7, 2013 Hi Philippe, Thanks for the PM, I've had a look and I like what you did with the page. The example provided with the script is supposed to be a bare example just to show how easy it can be. I like your suggestion of also including relays in the script - I've done one before that gets stats from multiple servers so I'll do something similar and put an alternative version up. It shouldn't be too difficult to do, just a simple loop - the only problem would be if there were lots of relays and the text would take a while to appear Link to comment Share on other sites More sharing options...
GKIye Posted August 7, 2013 Share Posted August 7, 2013 Thanks for the reply I thought it could be done ... But I'm one of those people who can change scripts ... But I can't write them ... LOL Appreciated ! It shouldn't be too difficult to do, just a simple loop - Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
andhow Posted August 8, 2013 Share Posted August 8, 2013 Marci has done all of the hard work for you! http://getmarci.com/start.htm Reverend Aquaman | Station Manager | andHow.FM Where it's *ALL* about the music! A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station. Jamming the free world, one person at a time since 1998. Got Indie? Link to comment Share on other sites More sharing options...
GKIye Posted August 8, 2013 Share Posted August 8, 2013 I made a google search for similar scripts, but they all show multiple servers seperated in a row I even found Your former multiple script, but also that shows them all as seperated stats on one page Those scripts all show a publish date of 2005 - 2006 If it could be done that it is able to give one result of 2 untill 3 sources, that would be an improvement I like your suggestion of also including relays in the script - I've done one before that gets stats from multiple servers so I'll do something similar and put an alternative version up. Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
Brutish Sailor Posted August 8, 2013 Share Posted August 8, 2013 I use Marci. I use her and abuse her lol. No seriously, constant improvment of the site, and code. I like get marci. KNSJ.org / 89.1 FM San Diego Link to comment Share on other sites More sharing options...
DCRRadio Posted August 8, 2013 Author Share Posted August 8, 2013 thank's for the reply @mixstream.net will have a look at it Link to comment Share on other sites More sharing options...
DCRRadio Posted August 8, 2013 Author Share Posted August 8, 2013 hello again, i am having some issues with the script if anyone could help :( document.getElementById('SHOUTcastStatus').innerHTML="Connection Refused (Server Offline)";/* If the server at http://46.28.49.180:8047/ is onlinethen you may need to contact your web host and ask them toallow you to connect to '46.28.49.180' using php cURL. */ Link to comment Share on other sites More sharing options...
Brutish Sailor Posted August 10, 2013 Share Posted August 10, 2013 Edit: looking at part of my script from last night. Belay last words. But still, nicely done! KNSJ.org / 89.1 FM San Diego Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.