jammus / lastfm-node

Read and write to Last.fm with node.js
http://return12.tumblr.com/tagged/lastfm-node
MIT License
202 stars 33 forks source link

Replace raw track details with reworked object #3

Open jammus opened 14 years ago

jammus commented 14 years ago

Rework track object to remove things like #text and @attr. Include raw field to store original data incase preferred.

track: { name: "name", artist: { name: "name", mbid: "mbid" }, images: {small: {}, medium: {}, large: {}}, album: { name: "name", mbid: "mbid" }, url: "url", raw: "raw" }

jammus commented 14 years ago

Track info should include duration.