Im trying to integrate a custom broadcasting solution with an api. I was told to simply construct a url as defined below, and hit it each song you play. My main shoutcast server is up and running. It is streaming now and i have sam broadcaster running. (not encoding) but analytics relay is active and i have spacialnet registration. However. How can I get a script to access my shoutcast server via ftp and get the play list information and put it on a server directory on my other host account for archiving.? The information i need to retrieve and archive from my shoutcast server is below.
How can i use a php script on my server to do this? My server is linux with apache located at http:larryhoodpublishing.com
My shoutcast server is http://184.108.40.206:PORT#
My Radio launch page
Fields (bold fields are required)
artist - Name of the artist.
title - Title of the track.
album - Name of the album
label - The record label name
albumyear - The year of this release
viewers - Number of listeners tuned in
stationguid - your unique identifier
Your stationguid is:
A properly constructed url could look like this:
This Way&album=Toys in the Attic&label=Sony&albumyear