 music |
 | | OSdata.com |
song information
summary
Use This Side of Sanitys music data base to power your music player.
Use any programming language (or even ordinary web browsers) to go to http://www.thissideofsanity.com/musicbox/songinformation.php?song=63 will get you an ASCII text representation of the information for a specific song. Change the song number to indicate the song you want to present in your music player.
The song information includes: result code, title, artist, YouTube number (or URL), song lenth, and start time. This provides the information to present the song in your own player.
summary
Use This Side of Sanitys music data base to power your music player.
Use any programming language (or even ordinary web browsers) to go to http://www.thissideofsanity.com/musicbox/songinformation.php?song=63 will get you an ASCII text representation of the information for a specific song. Change the song number to indicate the song you want to present in your music player.
The song information includes: result code, YouTube number (or URL), title, artist, song lenth, and start time. This provides the information to present the song in your own player.
Portions (fields) of song information are delimited by new line.
The result code of Y indicates a YouTube number. The result code of M indicates a MP3 URL.
If you give an invalid song number or otherwise make a mistake in calling this web page, you will get an error code of E. All other fields may have unpredictable or empty results or may not exist. You are not expected to attempt any processing after encountering the error code.
You may be tempted to use this number as a loop counter for single accesses to song information, making a series of different calls to this web page to collect all of the song information one song at a time. Doing so will result in a Denial of Sevice Attack on the server, which will prevent your player from working properly. Use the alternate supplied web page for gathering groups of song information in a single pass and then loop internally in your own software.
contact
If you find this interesting and want to contact me, write to Milo, PO Box 5237, Balboa Island, California, 92662, USA.
Names and logos of various OSs are trademarks of their respective owners.