music
OSdata.com: programming text book 

OSdata.com

song information

summary

    Use This Side of Sanity’s 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.

Google

summary

    Use This Side of Sanity’s 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.

see full player in action

contact

    If you find this interesting and want to contact me, write to Milo, PO Box 5237, Balboa Island, California, 92662, USA.


return to table of contents
free downloadable college text book

previous page next page
previous page next page

I do the news as an unpaid volunteer for KOCI 101.5 FM, Newport Beach/Costa Mesa (also available on the web)


Google


Made with Macintosh

    This web site handcrafted on Macintosh computers using Tom Bender’s Tex-Edit Plus and served using FreeBSD .

Viewable With Any Browser


    †UNIX used as a generic term unless specifically used as a trademark (such as in the phrase “UNIX certified”). UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd.

    Names and logos of various OSs are trademarks of their respective owners.

    Copyright © 2011, 2012 Milo

    Created: May 8, 2012 (using code started in September 2011)

    Last Updated: May 8, 2012


return to table of contents
free downloadable college text book

previous page next page
previous page next page