Step 6Web Interface
I have 2 main tables:
SONGS - It stores the name and artist of the song
QUEUE - it stores the song requests
The web app uses jQuery to retrieve the ioBridge JSON Data Feeed API to determine the current song being played. Using Javascript I retrieve LastSerialOutput node that holds the number of the current track.
Then another jQuery calls my web application REST service and sends the track number. The REST service returns the song name,artists and name of the person that requested the song.
If the song was not on the queue it means that its just looping through the play list. So in this case the requester will be Santa Claus itself! And it will show Santa's current location by retrieving it from http://www.noradsanta.org/ feed.
The page might have a live view and live sound, but I'm still working on that...
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|












































