Jump to content

Onair script ala sc_trans


PapaBearPW

Recommended Posts

If you use sc_trans for autodj and for your dj connections, I have a script I put together a while back which will dynamically display the onair dj image. The script checks the sc_trans api to see who is onair and then uses that name to check for a .gif (you can change that to whatever filetype you like) of the same name to be displayed.

 

These checks are performed via ajax calls so there is no need to refresh the page to see the new onair dj. And, since the changes are based on who is actually onair, there is no need to worry about making changes to the script when new djs are added. All that is needed is to add an image for the new dj in the image file location you set in the config.php file. For my Joomla! sites, I just created a folder in the joomla backend media section. That made it even easier to add new dj images, change images, etc.

 

Have fun.

 

Download here: http://www.lunarcaster.com/stuff/onair_sctrans.tgz

 

Preview it here: http://www.lunarcaster.com/onair/

Or here: http://bluemoon-radio.de

or here: http://dev.lunarcaster.com

Link to comment
Share on other sites

Look quite good although i think it could do with being a bit wider and without the Marquee scrolling. I've downloaded it will have a play around and see what i can do.

My Blog https://djgarybaldy.blogspot.com

User of RadioDJ FREE radio playout software since 2010.

How to Install RadioDJ: https://djgarybaldy.blogspot.com/2020/08/how-to-install-radiodj-free-radio.html

RadioDJ is my FAVOURITE piece of software it works when I need It

 

 

Link to comment
Share on other sites

I've realised why it wont work for me as i don't have an Sc Trans to call back on. Couldn't get that part working from the SMI config files youi gave me ....

My Blog https://djgarybaldy.blogspot.com

User of RadioDJ FREE radio playout software since 2010.

How to Install RadioDJ: https://djgarybaldy.blogspot.com/2020/08/how-to-install-radiodj-free-radio.html

RadioDJ is my FAVOURITE piece of software it works when I need It

 

 

Link to comment
Share on other sites

I only tested your SMi on a local connection never did get round to switching it on our webserver. Now we are hosting a few streams i can't really do anything at present as it's working fine with the old SMI config.

My Blog https://djgarybaldy.blogspot.com

User of RadioDJ FREE radio playout software since 2010.

How to Install RadioDJ: https://djgarybaldy.blogspot.com/2020/08/how-to-install-radiodj-free-radio.html

RadioDJ is my FAVOURITE piece of software it works when I need It

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...