Hi I'm setting up a radio station with Jazler RadioStar. This program has no forum, and I found that some one else was trying to use the data set that the program generates for what is currently playing, what is going to be played and what has been played. This thread here:
thread426-1655339
Jazler looks like its designed more for the on air radio station (just like a Scott System) , but it does have xml export and auto ftp functions to upload xml files and one htm file they graciously built in one SOAP instance. Unfortunately, they only do a SOAP formatting for the now playing xml file, and leave the others in the C++/ASP format instead of the W3c format, so the typical xml parser will not work.
I decided to make a php server at the station so it can format the files, then ftp them to the web where the flat text files can be appended to the page instead of relying on client side script that may not work in all browsers. On a second function of this, I need to send the shoutcast server the track update. In this thread, I will be posting my server side code (php) as well as the html web page parts so others don't have to go through this coding conundrum.
So our first step is setting up the system. This is a multi user system, where you have the DJ, a production manager, news room, and content auditor workstations with a centralized file server that they all can play/edit/record to. So, I install CentOs on my newly wiped Dell Server the Scott system used to use. I also install a PHP/mysql/nginx to make a song metadata encoding server. Next will be the fun part of setting up all of this.
But to show you by what I mean non W3c format:
<Event status="coming up">
<Song title="Freeway Of Love">
<Artist name="Aretha Franklin" ID="" URL=""/>
<Info StartTime="03:35:36" JazlerID="1843" PlayListerID="" /> <Media runTime="05:44"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
<Song title="All I Need Is A Miracle">
<Artist name="Mike & The Mechanics" ID="" URL=""/>
<Info StartTime="03:41:20" JazlerID="2538" PlayListerID="" /> <Media runTime="04:03"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
<Song title="Sweet Nothing PLAY !!!!">
<Artist name="Calvin Harris with Florance Welsh" ID="" URL=""/>
<Info StartTime="03:45:32" JazlerID="5362" PlayListerID="" /> <Media runTime="03:26"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
<Song title="Somethin' Bad PLAY !!!!">
<Artist name="Foo Fighters" ID="" URL=""/>
<Info StartTime="03:48:58" JazlerID="3396" PlayListerID="" /> <Media runTime="02:26"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
<Song title="Tempted PLAY !!!">
<Artist name="Squeeze" ID="" URL=""/>
<Info StartTime="03:51:25" JazlerID="3835" PlayListerID="" /> <Media runTime="03:51"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
</Event>
You'll notice the text is in the tags instead of between them.
I will continue this post, got to go for now....
thread426-1655339
Jazler looks like its designed more for the on air radio station (just like a Scott System) , but it does have xml export and auto ftp functions to upload xml files and one htm file they graciously built in one SOAP instance. Unfortunately, they only do a SOAP formatting for the now playing xml file, and leave the others in the C++/ASP format instead of the W3c format, so the typical xml parser will not work.
I decided to make a php server at the station so it can format the files, then ftp them to the web where the flat text files can be appended to the page instead of relying on client side script that may not work in all browsers. On a second function of this, I need to send the shoutcast server the track update. In this thread, I will be posting my server side code (php) as well as the html web page parts so others don't have to go through this coding conundrum.
So our first step is setting up the system. This is a multi user system, where you have the DJ, a production manager, news room, and content auditor workstations with a centralized file server that they all can play/edit/record to. So, I install CentOs on my newly wiped Dell Server the Scott system used to use. I also install a PHP/mysql/nginx to make a song metadata encoding server. Next will be the fun part of setting up all of this.
But to show you by what I mean non W3c format:
<Event status="coming up">
<Song title="Freeway Of Love">
<Artist name="Aretha Franklin" ID="" URL=""/>
<Info StartTime="03:35:36" JazlerID="1843" PlayListerID="" /> <Media runTime="05:44"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
<Song title="All I Need Is A Miracle">
<Artist name="Mike & The Mechanics" ID="" URL=""/>
<Info StartTime="03:41:20" JazlerID="2538" PlayListerID="" /> <Media runTime="04:03"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
<Song title="Sweet Nothing PLAY !!!!">
<Artist name="Calvin Harris with Florance Welsh" ID="" URL=""/>
<Info StartTime="03:45:32" JazlerID="5362" PlayListerID="" /> <Media runTime="03:26"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
<Song title="Somethin' Bad PLAY !!!!">
<Artist name="Foo Fighters" ID="" URL=""/>
<Info StartTime="03:48:58" JazlerID="3396" PlayListerID="" /> <Media runTime="02:26"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
<Song title="Tempted PLAY !!!">
<Artist name="Squeeze" ID="" URL=""/>
<Info StartTime="03:51:25" JazlerID="3835" PlayListerID="" /> <Media runTime="03:51"/>
<SongURL></SongURL>
<SongBarCode></SongBarCode>
<SongCDKey></SongCDKey>
</Song>
</Event>
You'll notice the text is in the tags instead of between them.
I will continue this post, got to go for now....