Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    johny c's Avatar
    Title
    Senior Broadcaster
    Join Date
    Sep 2008
    Location
    Raglan, New Zealand, New Zealand
    Posts
    1,199
    Rep Power
    41

    Update song title script

    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

    ........"Top Music Top of the Dial"
    Click HERE to listen to my radio stream
    Click HERE for Face Book



  2. #2
    MarcAlle's Avatar
    Title
    Streaming Specialist
    Join Date
    May 2008
    Posts
    949
    Rep Power
    21
    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/Reseller cPanel® Web Hosting | WordPress Hosting | Premium Stream Hosting
    TOLL-FREE: (877) 240-7767 | 30 Day NO QUESTIONS Money-Back Guarantee
    100% Cogent Free Network | CloudLinux OS | Tier 1 Bandwidth | Grand Rapids, MI

  3. #3
    Brutish Sailor's Avatar
    Title
    Senior Broadcaster
    Join Date
    Mar 2009
    Location
    SD California
    Posts
    1,358
    Rep Power
    23
    You could just use the free flash player at 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

  4. #4
    Brutish Sailor's Avatar
    Title
    Senior Broadcaster
    Join Date
    Mar 2009
    Location
    SD California
    Posts
    1,358
    Rep Power
    23
    got it running!

    let me see if I can JS it..
    KNSJ.org / 89.1 FM San Diego

  5. #5
    Brutish Sailor's Avatar
    Title
    Senior Broadcaster
    Join Date
    Mar 2009
    Location
    SD California
    Posts
    1,358
    Rep Power
    23
    GOT IT!

    <script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('34bb3a06-a155-4be4-983a-ee10b4ff7288');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/8c06fa60-9d51-4330-b025-125bc4ac32da">RagFM</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript>
    KNSJ.org / 89.1 FM San Diego

  6. #6
    Brutish Sailor's Avatar
    Title
    Senior Broadcaster
    Join Date
    Mar 2009
    Location
    SD California
    Posts
    1,358
    Rep Power
    23
    yeah.

    They might not let this install, but its worth a shot.
    KNSJ.org / 89.1 FM San Diego

  7. #7

    Title
    Senior Member
    Join Date
    Jul 2008
    Posts
    165
    Rep Power
    14
    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.

  8. #8
    Brutish Sailor's Avatar
    Title
    Senior Broadcaster
    Join Date
    Mar 2009
    Location
    SD California
    Posts
    1,358
    Rep Power
    23
    Here just Iframe this. Your only getting refreshed every 30 seconds though.
    http://www.deadawakenradio.com/RAG.php
    KNSJ.org / 89.1 FM San Diego

  9. #9
    Brutish Sailor's Avatar
    Title
    Senior Broadcaster
    Join Date
    Mar 2009
    Location
    SD California
    Posts
    1,358
    Rep Power
    23
    <iframe name="FRAME" src= "http://deadawakenradio.com/RAG.php" allowtransparency="true" scrolling="no" width="425" align="left" frameborder="0" height="280"></iframe>
    KNSJ.org / 89.1 FM San Diego

  10. #10
    shoutcaststreaming's Avatar
    Title
    Premium Member
    Join Date
    Sep 2008
    Location
    Los Angeles, California
    Posts
    786
    Rep Power
    31
    Quote Originally Posted by ajruss
    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

Similar Threads

  1. Shoutcast app for Nokia 5800?
    By Adam in forum SHOUTcast Discussions
    Replies: 3
    Last Post: 03-04-2009, 02:46 PM
  2. Acid Jazz/Funk Bed - 30 and 60 Sec Versions
    By Voxjunction in forum Sound Effects & Music Beds
    Replies: 1
    Last Post: 01-19-2009, 01:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •