Wave FM 1.0.0 Beta 3

  • Added a database upgrade mechanism to Wave FM theme.
  • Added integration for accepting information provided by Zetta feeds.
  • Adds an endpoint to the /stations/ posts which can be used to POST data to for the latest song information.
    • Checks to make sure the radio station exists.
    • This expects the following fields to be provided;
      • Artist
      • Song Name
      • Run Time (Song Length)
  • Modified the admin screen for Stations to display the Zetta feed link for ease of management.
  • Provides a template tag –
    wavefm_zetta_playing_now( $station, $echo )

    – which returns / echoes the currently playing or most recently played song for a given radio station.

Post Deployment Steps

Once this is deployed, the RCS Glue software needs to be updated. This is done by using TeamViewer, which Marc O’Neill currently has the credentials and access to.

Once on this server, the Glue service configuration needs to be updated in two settings specifically; HttpPostLocation and HttpPostFormat. Therefore the following needs to be updated.

For note; the pipe symbol (|) is used to denote different services to be contacted by the configuration.

HttpPostLocation

// Before
HttpPostLocation=http://wave.nwm.xrad.io/wp-content/wave102/in/now_playing_in.php|http://platform.g-media.com/api/postplayingdata.php?id=59|http://air.radiotime.com/Playing.ashx

// After
HttpPostLocation=http://wave.nwm.xrad.io/wp-content/wave102/in/now_playing_in.php|http://platform.g-media.com/api/postplayingdata.php?id=59|http://air.radiotime.com/Playing.ashx|https://wpcluster.dctdigital.com/wavefm/stations/wavefm/zetta/

HttpPostFormat

// Before
HttpPostFormat=artist=%SNGART%&title=%SNGTIT%&runtime=%RUNTIME%&password=wavepass|xml=%XML%&password=QD5sEg47XuV55FQ|partnerId=8UvDSnRz&partnerKey=2UH1Dm!uyM7J&id=s45554&title=%SNGTIT%&artist=%SNGART%

// After
HttpPostFormat=artist=%SNGART%&title=%SNGTIT%&runtime=%RUNTIME%&password=wavepass|xml=%XML%&password=QD5sEg47XuV55FQ|partnerId=8UvDSnRz&partnerKey=2UH1Dm!uyM7J&id=s45554&title=%SNGTIT%&artist=%SNGART%|artist=%SNGART%&title=%SNGTIT%&runtime=%RUNTIME%&password=wavepass

PR :