WordPress.org

Ready to get started?Download WordPress

Forums

How to display info from NowOnAir.xml (1 post)

  1. Maestral
    Member
    Posted 3 years ago #

    Hi there!

    Could anyone,pretty please,tell me how can i display a "now playing" song name for a radio station website.
    What i get from the Radio automation software is a .xml file which is uploaded every 15 seconds (or so) to the server, and looks like this:

    <?xml version="1.0" encoding="utf-8"?>
    
    <Schedule System="Jazler">
    
     <Event status="happening" startTime="19:41:40" eventType="song">
    
        <Announcement Display="Now On Air:"/>
    
      <Song title="Murder My Heart">
    
       <Artist name="MICHAEL BOLTON FEAT. LADY GAGA">
    
       </Artist>
    
        <Jazler ID="20389"/>
    
        <PlayLister ID=""/>
    
        <Media runTime="00:03:58"/>
    
        <Expire Time="19:45:37"/>
    
      </Song>
    
     </Event>
    
    </Schedule>

    BTW,the automation software sends 2 more .xml files:
    AirPlayHistory.xml and AirPlayNext.xml
    but i would be thrilled if someone could help me to show at least the current song (artist and the song title)
    If it should refresh every minute or so that would be awesome.

    Any ideas?

    Thnx!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.