librockin

Description:
 Small python library to aid in pulling music information from different backends, including musicbrainz, last.fm, emusic, amazon...

License:
 librockin is licensed under the LGPLv2 or later.

Ceated by:
 Mark Dillavou <line72@users.sf.net>

Installation Instructions:

 Dependencies:

  python-2.5
  python-musicbrainz2 (0.4.1-1)

 Unix (Linux/MacOSX/BSD) Instructions:
 
 $ python setup.py build
 $ sudo python setup.py install

Example:

dillavou@memwd2:dev$ python
Python 2.5.1 (r251:54863, Mar  7 2008, 04:10:12)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import librockin
>>> sirenia = librockin.Artist('Sirenia')
>>> sirenia.fetch_albums()
>>> sirenia.fetch_emusic_availability()
>>> print sirenia.available_on_emusic
True
>>> for album in sirenia.albums:
...     print album.name, album.available_on_emusic
...     for track in album.tracks:
...             print '  ', track.name, track.available_on_emusic
... 
At Sixes and Sevens True
   Meridian True
   Sister Nightfall True
   On the Wane True
   In a Manica True
   At Sixes and Sevens True
   Lethargica True
   Manic Aeon True
   A Shadow of Your Own Self True
   In Sumerian Haze True
An Elixir for Existence True
   Lithium and a Lover True
   Voices Within True
   A Mental Symphony True
   Euphoria True
   In My Darkest Hours True
   Save Me From Myself True
   The Fall Within True
   Star-Crossed True
   Seven Sirens and a Silver Tear True
Nine Destinies and a Downfall True
   The Last Call True
   My Mind's Eye True
   One by One True
   Sundown True
   Absent Without Leave True
   The Other Side True
   Seven Keys and Nine Doors True
   Downfall True
   Glades of Summer True
   My Mind's Eye (radio edit) True
Sirenian Shores False
   Sirenian Shores False
   Save Me From Myself (remix) False
   Meridian (acoustic) False
   First We Take Manhattan False
   Obire mortem False
>>> sirenia.fetch_tags(False)
>>> sirenia.tags
('Gothic Metal', 'symphonic metal')
>>> sirenia.fetch_similar(False)
>>> [x['artist'] for x in sirenia.similar_artists]
['Tristania', "Leaves' Eyes", 'Epica', 'Xandria', 'After Forever', 'Trail of Tears', 'Theatre of Tragedy', 'The Sins of Thy Beloved', 'Draconian', 'Delain', 'Elis', 'Edenbridge', 'Lunatica', 'Penumbra', 'Visions of Atlantis', 'Nemesea', 'Lacuna Coil', 'Therion', 'Midnattsol', 'Beseech', 'Flowing Tears', 'Mortal Love', 'Within Temptation', 'Angtoria', 'Imperia', 'Darkwell', 'Liv Kristine', 'Silentium', 'Forever Slave', 'Nightwish', 'Macbeth', 'Lullacry']
