![]() |
php / shoutcast question
I'm using php pages for my html site. I have no problem donating to your station or your beer fund or whatever if you can help me get my problem sorted!
I'm using SAM on a dedicated windows server. Shoutcast is running from that server as well. Then, on my dedicated linux server, I am using vbulletin for my forum and the pages are php output. To go into a little more detail - I have a flash chatroom that is only open from 8-midnight. I would like to open a link to it when the live DJs are on, so people can hop in chat and discuss the show. With that in mind, I'm hoping to come up with a way to php check the stream for keywords like "LIVE DJ NOW" and then echo a link to the chatroom. If the words are not present in the stream, the link is not present on the php page. If there's a better way to accomplish this, I'm open to suggestions. Thanks! |
This has code you can use to check it. It'll display 1 thing if the stream is down, or another with info about the stream and tune-in links if it's live.
http://www.wesleyevans.net/shoutcast-sidebar-widget/ |
that gives me the links if the stream is up - I need to check the stream for certain text to determine if it's a live DJ or the auto DJ. Only if a live DJ is on do I want to display the chat link.
|
Right, you could just change the text it looks for. You know a little php right?
|
Quote:
|
| All times are GMT -7. The time now is 04:06 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123