= iTunesAmazon


== DESCRIPTION:

This is a handy little program that provides super useful stats about your
iTunes library, including information about your music from Amazon. The code
was written for a Ruby class at UW extension.

== FEATURES/PROBLEMS:

Provides an API to show you the following stats about an iTunes library:
Total playtime
Artist count
Album count
Track count
Genre count
Most played album
Most played artist
Most played genre
Random song
Top rated Amazon album
Total Amazon cost
Top Amazon sales rank

Many of these functions can be extended in interesting ways, for example you
could use the random song generator to create playlists.

== SYNOPSIS:

parser = ITunesParser.new("iTunes Music Library.xml")
top_track = parser.top_played_songs(1)[0]

== REQUIREMENTS:

You will need to install ruby-aaws
Also, you will need an Amazon Web Services ID. You can obtain one at: http://www.amazon.com/gp/aws/registration/registration-form.html

== INSTALL:

sudo gem install

== LICENSE:

(The MIT License)

Copyright (c) 2008 FIX

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.