Active
Project:
Shoutcast Streaming Server Statistics
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2010 at 20:01 UTC
Updated:
4 Dec 2010 at 06:06 UTC
I have seen this before on other Shoutcast php scripts that allow users to tune in to your radio station through a selection of media players from the statistics page.
I found a pretty good standalone script that lists the stream info and the last 19 songs. It also allows the user to tune in by clicking on a playlist link for Winamp, Real, WMP, and Quicktime. I have seen others use iTunes as well.
Comments
Comment #1
zmeharen commentedI've looked through the script I mentioned above and a simple winamp playlist link is generated as such:
where $listenamp is configured in the config.php file as
I attempted to alter the shoutcast.module code by obtaining the value of the host and port and
adding it to $block_content at the end before the detail link.
It seems to break the code and the block doesn't show. I'm not very familiar with Drupal's coding practices so maybe there is something wrong with my implementation.
Comment #2
zmeharen commentedI didn't have much time but I read thru the drupal api on creating a link and have got it working.
I made a url() call and did a check to make sure that the server status was up as well.
If you feel the code doesn't meet any standards let me know.