Download from:
/info/sqlite_magnatune.db
or
/info/sqlite_magnatune.db.gz
You should be able to open the database file up directly from inside SQLite. Feel free to have your own software program(s) automatically download from this URL, it is stable. Please download the gzipped version of the file if you have gzipping capability on your platform.
Explanation:
- Artists have albums
- Albums have genres, collections and songs
A URL to play a song is created with this pseudo code:
url = "/all/".urlenc($mp3)
Where "urlenc" is a function that replaces " " with "%20" to make a valid URL.
----------
An artist's page is located at:
url = "/artists/".$page
----------
An album's page is located at:
url = "/artists/albums/".urlenc($sku)
Where "urlenc" is a function that replaces " " with "%20" to make a valid URL.
----------
Cover art is available at this url:
url = "/music/".urlenc($artist)."/".urlenc(album)."/cover_100.jpg"
Where "urlenc" is a function that replaces " " with "%20" to make a valid URL.
Cover art is available in a variety of sizes, and is always square:
cover_50.jpg
cover_75.jpg
cover_100.jpg
cover_160.jpg
cover_200.jpg
cover_300.jpg
cover_600.jpg
cover_1400.jpg
artists(artist) = Zilla artists(city) = (this is empty if artist is from the USA) artists(country) = USA artists(description) = live, improvised electronica artists(homepage) = zilla artists(state) = CO (this is empty if artist is from outside the USA) ====================== albums(albumname) = Egg (Note: album names are unique at Magnatune) albums(artist) = Zilla albums(launchdate) = 1159513200 albums(sku) = zilla-egg albums(upc) = 876809005078 ====================== collections(albumname) = Egg collections(collection) = Experimental Electronic ====================== genres(albumname) = Egg genres(genre) = Electronica ====================== songs(albumname) = Egg songs(desc) = Soupy Sails songs(duration) = 357 songs(mp3) = 13-Soupy Sails-Zilla.mp3 ======================
Building something new? The Magnatune API gives the same catalog as JSON, always up to date.