Jump to content

Update song title script


johny c

Recommended Posts

Does anyone have a script in java that displays the current song title on a web page. I cant get any php file scripts to work on my web site. I have tried for hours, I can get them to work on other sites but not my own. I use shoutcast and stream from my own pc.

Thanks

RAG-FM 107.7 Raglan New Zealand & ragfm.com

........"Top Music Top of the Dial"

Click HERE to listen to the RAG-FM radio stream

Link to comment
Share on other sites

As far as I know, Java doesn't work too well with SHOUTcast now playing. I have not, thus far, seen any script that uses Java. I have, however seen Javascript, but that also requires PHP.

Stream101 | Affordable Media Solutions

Shared cPanel? Web Hosting | WordPress Hosting | Premium Stream Hosting

TOLL-FREE: (616) 277-7280 | 30 Day NO QUESTIONS Money-Back Guarantee

100% Cogent Free Network | CloudLinux OS | Tier 1 Bandwidth | Grand Rapids, MI

Link to comment
Share on other sites

You could just use the free flash player at http://www.stationengine.com

 

it has ID3 data setup. If your trying to figure out why it does not work? or other scripts? Im guessing the Fsock is closed (the problem 80 percent of the time)

 

You can run a modified version of curl to get around that (which I havent figured out that, Im not that good) or get it hosted. Let me try something.

KNSJ.org / 89.1 FM San Diego
Link to comment
Share on other sites

You have to make sure your web host has the ports open for the script to pull the info and put it on your page.

Very true.

 

Also "fsockopen" should be working.

SCS - Dedicated Bandwidth Servers

Shoutcast / Icecast / Windows Media

Transcoding - Auto DJ - Mobile Radio - FLASH Players - Auto DJ

Broadcasting World's Stream Host of the Month

Link to comment
Share on other sites

Very true.

 

Also "fsockopen" should be working.

 

 

The newest trend instead of leaving Fsock open ( I haven't seen it with my own two eyes yet) Is to modify curl to make a workaround for the metadata with both Fsock shut.

 

Similar to how must people are doing RSS feeds with Fsock shut shut. Im trying to develop a script for it now.

KNSJ.org / 89.1 FM San Diego
Link to comment
Share on other sites

Thanks Butish, When using your script to your site , it works great. I uploaded the RAG.php file to my site & rewrote the script to direct to my site but no luck, says it cant find the php file. So I then uploaded the RAG.php file to an other site and changed the script to

It now picks up the RAG.php file but it wont update. I just cant win.

RAG-FM 107.7 Raglan New Zealand & ragfm.com

........"Top Music Top of the Dial"

Click HERE to listen to the RAG-FM radio stream

Link to comment
Share on other sites

Thanks for all the help Guy's, it turns out that I dont have php support on my hosting site, I can have it if I upgrade to another package for another $20NZ a month plus $20 to set it up. This is Vodafone. Looks like I will have to find another way or go without.

RAG-FM 107.7 Raglan New Zealand & ragfm.com

........"Top Music Top of the Dial"

Click HERE to listen to the RAG-FM radio stream

Link to comment
Share on other sites

I can have it if I upgrade to another package for another $20NZ a month plus $20 to set it up

That's real expensive. Most hosts have it for free.

 

Try Hostgator or Westhost.

SCS - Dedicated Bandwidth Servers

Shoutcast / Icecast / Windows Media

Transcoding - Auto DJ - Mobile Radio - FLASH Players - Auto DJ

Broadcasting World's Stream Host of the Month

Link to comment
Share on other sites

Thanks for all the help Guy's, it turns out that I dont have php support on my hosting site, I can have it if I upgrade to another package for another $20NZ a month plus $20 to set it up. This is Vodafone. Looks like I will have to find another way or go without.

 

We offer SHOUTcast hosting as well as Web Hosting with PHP support. I must say, unless your host is using Windows, I've never seen a host without PHP support. To me, I would never even consider hosting without PHP support.

Stream101 | Affordable Media Solutions

Shared cPanel? Web Hosting | WordPress Hosting | Premium Stream Hosting

TOLL-FREE: (616) 277-7280 | 30 Day NO QUESTIONS Money-Back Guarantee

100% Cogent Free Network | CloudLinux OS | Tier 1 Bandwidth | Grand Rapids, MI

Link to comment
Share on other sites

I can offer you webhosting extremely cheap with all the bells n whistles if that's what you need. I wouldn't go with a host that doesn't even support php. Shoot me a message if you want and I'll work out someting for you.
Link to comment
Share on other sites

Wild, I'll script his launch files if you host him, and Do the whole Iframe similar to mine. Quick and easy brezzy.

 

Johnny, just record an MP3 for an intro, label it intro. Dont worry about all that SC same bitrate/Khz/channel crap.

 

Just do this, and I got the rest.

KNSJ.org / 89.1 FM San Diego
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...