From dd759e1f49bd7ab2b5362dbc04b4663266b98825 Mon Sep 17 00:00:00 2001 From: Abhinav Sarkar Date: Thu, 5 Mar 2009 11:08:53 +0000 Subject: [PATCH] added tests for the user module --- lastfm/api.py | 9 +- lastfm/user.py | 26 +- setup.py | 2 + test/__init__.py | 3 +- .../data/1fdf2875fe8e1246cffb1aa690172dae.xml | 789 ++++++ .../data/3ab295f9c1eaeb357968e5c8ddfc2d5e.xml | 61 + .../data/578650a16366fed22569ce9cfb89703b.xml | 982 ++++++++ .../data/5ab37c3a4673054d68f1329124f750c5.xml | 124 + .../data/61d1c2e7532f47e0859f2c3c3a760a9d.xml | 705 ++++++ .../data/6260b22cc4a11eb50b30292567eb504b.xml | 920 +++++++ .../data/74f00545c85769dd6b1ef35f166ae8ec.xml | 2160 +++++++++++++++++ .../data/8120fe1bb58d1a6e44c521ac226b6d23.xml | 554 +++++ .../data/8968540a7ee48922c91979c892790658.xml | 737 ++++++ .../data/9824eddd21c95cc9bc45e7efd5ee0b4d.xml | 206 ++ .../data/985ca5ed61109ad431bda7e8f7c483a5.xml | 484 ++++ .../data/b0955e0d47c3274efb444d402b8fb811.xml | 32 + .../data/b7985f3d8993bbb38fcb05cf45d22ae8.xml | 505 ++++ .../data/b7eb411f8caceb98b6695b7c0a3c8657.xml | 340 +++ .../data/bda0b0c2af1590bad5df6bea454c4047.xml | 592 +++++ .../data/bde2a3ea7528ec206fc54ed0a31cf73d.xml | 754 ++++++ .../data/c123ffa1925407d7684467951a626995.xml | 40 + .../data/c8565ba7ae12b9eff69761f30a2e10b1.xml | 56 + .../data/ca0c12245c975f372a0406a4c237caeb.xml | 364 +++ .../data/da6cba51f87bada4aedfd119922445dd.xml | 45 + .../data/f85bddbcd1f06e452b45f6d864dd2892.xml | 678 ++++++ test/test_user.py | 270 +++ 26 files changed, 11429 insertions(+), 9 deletions(-) create mode 100644 test/data/1fdf2875fe8e1246cffb1aa690172dae.xml create mode 100644 test/data/3ab295f9c1eaeb357968e5c8ddfc2d5e.xml create mode 100644 test/data/578650a16366fed22569ce9cfb89703b.xml create mode 100644 test/data/5ab37c3a4673054d68f1329124f750c5.xml create mode 100644 test/data/61d1c2e7532f47e0859f2c3c3a760a9d.xml create mode 100644 test/data/6260b22cc4a11eb50b30292567eb504b.xml create mode 100644 test/data/74f00545c85769dd6b1ef35f166ae8ec.xml create mode 100644 test/data/8120fe1bb58d1a6e44c521ac226b6d23.xml create mode 100644 test/data/8968540a7ee48922c91979c892790658.xml create mode 100644 test/data/9824eddd21c95cc9bc45e7efd5ee0b4d.xml create mode 100644 test/data/985ca5ed61109ad431bda7e8f7c483a5.xml create mode 100644 test/data/b0955e0d47c3274efb444d402b8fb811.xml create mode 100644 test/data/b7985f3d8993bbb38fcb05cf45d22ae8.xml create mode 100644 test/data/b7eb411f8caceb98b6695b7c0a3c8657.xml create mode 100644 test/data/bda0b0c2af1590bad5df6bea454c4047.xml create mode 100644 test/data/bde2a3ea7528ec206fc54ed0a31cf73d.xml create mode 100644 test/data/c123ffa1925407d7684467951a626995.xml create mode 100644 test/data/c8565ba7ae12b9eff69761f30a2e10b1.xml create mode 100644 test/data/ca0c12245c975f372a0406a4c237caeb.xml create mode 100644 test/data/da6cba51f87bada4aedfd119922445dd.xml create mode 100644 test/data/f85bddbcd1f06e452b45f6d864dd2892.xml create mode 100644 test/test_user.py diff --git a/lastfm/api.py b/lastfm/api.py index 2852780..ff491f8 100644 --- a/lastfm/api.py +++ b/lastfm/api.py @@ -423,10 +423,10 @@ class Api(object): @rtype: L{User} @raise InvalidParametersError: Exception is raised if an invalid user name is supplied. + + @see: L{User.get_info} """ - user = User(self, name = name) - user.friends - return user + return User.get_info(self, name = name) def get_authenticated_user(self): """ @@ -439,7 +439,8 @@ class Api(object): """ if self.session_key is not None: return User.get_authenticated_user(self) - return None + else: + raise AuthenticationFailedError("session key must be present to call this method") def get_venue(self, venue): """ diff --git a/lastfm/user.py b/lastfm/user.py index 0ac7fec..9c9254b 100644 --- a/lastfm/user.py +++ b/lastfm/user.py @@ -92,7 +92,11 @@ class User(LastfmBase, Cacheable, Shoutable): @property def autheticated(self): """is the user autheticated""" - return self._api.get_authenticated_user() == self + try: + auth_user = self._api.get_authenticated_user() + return auth_user == self + except AuthenticationFailedError: + return False @LastfmBase.cached_property def events(self): @@ -175,6 +179,7 @@ class User(LastfmBase, Cacheable, Shoutable): self._api, subject = self, name = u.findtext('name'), + real_name = u.findtext('realname'), image = dict([(i.get('size'), i.text) for i in u.findall('image')]), url = u.findtext('url'), ) @@ -197,6 +202,7 @@ class User(LastfmBase, Cacheable, Shoutable): self._api, subject = self, name = u.findtext('name'), + real_name = u.findtext('realname'), image = {'medium': u.findtext('image')}, url = u.findtext('url'), stats = Stats( @@ -609,15 +615,27 @@ class User(LastfmBase, Cacheable, Shoutable): return gen() def compare(self, other, limit = None): + if isinstance(other, User): + other = other.name return Tasteometer.compare(self._api, 'user', 'user', - self.name, other.name, + self.name, other, limit) @property def library(self): return self._library - + @staticmethod + def get_info(api, name): + user = User(api, name = name) + friends = user.friends + if len(friends) == 0: + return user + else: + f = friends[0] + user = [a for a in f.friends if a.name == user.name][0] + return user + @staticmethod def get_authenticated_user(api): data = api._fetch_data({'method': 'user.getInfo'}, sign = True, session = True).find('user') @@ -957,7 +975,7 @@ import time from lastfm.api import Api from lastfm.artist import Artist from lastfm.album import Album -from lastfm.error import LastfmError, InvalidParametersError +from lastfm.error import LastfmError, InvalidParametersError, AuthenticationFailedError from lastfm.event import Event from lastfm.geo import Country from lastfm.stats import Stats diff --git a/setup.py b/setup.py index a63a874..bc758c9 100644 --- a/setup.py +++ b/setup.py @@ -16,6 +16,7 @@ located at http://ws.audioscrobbler.com/2.0/ .""", maintainer_email="abhinav.sarkar@gmail.com", url="http://python-lastfm.googlecode.com/svn/trunk/dist/", packages=['lastfm'], + package_data = {'doc':['*.txt', '*.htm', '*.css', '*.js', '*.png']}, license="GNU Lesser General Public License", keywords="audioscrobbler webservice api last.fm", ) @@ -23,6 +24,7 @@ located at http://ws.audioscrobbler.com/2.0/ .""", SETUPTOOLS_METADATA = dict( install_requires = ['setuptools'], include_package_data = True, + tests_require = ['wsgi_intercept'], classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', diff --git a/test/__init__.py b/test/__init__.py index e252232..c050de5 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -5,4 +5,5 @@ import test_artist import test_geo import test_group import test_playlist -import test_track \ No newline at end of file +import test_track +import test_user \ No newline at end of file diff --git a/test/data/1fdf2875fe8e1246cffb1aa690172dae.xml b/test/data/1fdf2875fe8e1246cffb1aa690172dae.xml new file mode 100644 index 0000000..38bbfd0 --- /dev/null +++ b/test/data/1fdf2875fe8e1246cffb1aa690172dae.xml @@ -0,0 +1,789 @@ + + + + + Learning to Live + 51 + + + http://www.last.fm/music/Dream+Theater/_/Learning+to+Live + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Three Minute Warning + 46 + + + http://www.last.fm/music/Liquid+Tension+Experiment/_/Three+Minute+Warning + 1 + + Liquid Tension Experiment + bc641be9-ca36-4c61-9394-5230433f6646 + http://www.last.fm/music/Liquid+Tension+Experiment + + http://userserve-ak.last.fm/serve/34s/15779373.jpg + http://userserve-ak.last.fm/serve/64s/15779373.jpg + http://userserve-ak.last.fm/serve/126/15779373.jpg + + + Pull Me Under + 45 + + + http://www.last.fm/music/Dream+Theater/_/Pull+Me+Under + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Take the Time + 45 + + + http://www.last.fm/music/Dream+Theater/_/Take+the+Time + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Under a Glass Moon + 43 + + + http://www.last.fm/music/Dream+Theater/_/Under+a+Glass+Moon + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Another Day + 43 + + + http://www.last.fm/music/Dream+Theater/_/Another+Day + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + The Pusher + 42 + 1 + + http://www.last.fm/music/Steppenwolf/_/The+Pusher + 1 + + Steppenwolf + 12ff8858-bfcb-4812-a8dd-7e9debf0cbee + http://www.last.fm/music/Steppenwolf + + http://userserve-ak.last.fm/serve/34s/8673259.jpg + http://userserve-ak.last.fm/serve/64s/8673259.jpg + http://userserve-ak.last.fm/serve/126/8673259.jpg + + + Sultans of Swing + 38 + + + http://www.last.fm/music/Dire+Straits/_/Sultans+of+Swing + 1 + + Dire Straits + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + + http://userserve-ak.last.fm/serve/34s/13188073.jpg + http://userserve-ak.last.fm/serve/64s/13188073.jpg + http://userserve-ak.last.fm/serve/126/13188073.jpg + + + Wait for Sleep + 37 + + + http://www.last.fm/music/Dream+Theater/_/Wait+for+Sleep + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Caught in a Web + 33 + + + http://www.last.fm/music/Dream+Theater/_/Caught+in+a+Web + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B000002JKA.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.LZZZZZZZ.jpg + + + All Right Now + 30 + + + http://www.last.fm/music/Free/_/All+Right+Now + 1 + + Free + 6cb5d1ca-03ce-4656-92f5-bf35f53d1582 + http://www.last.fm/music/Free + + http://userserve-ak.last.fm/serve/34s/8605655.jpg + http://userserve-ak.last.fm/serve/64s/8605655.jpg + http://userserve-ak.last.fm/serve/126/8605655.jpg + + + Surfing With the Alien + 30 + + + http://www.last.fm/music/Joe+Satriani/_/Surfing+With+the+Alien + 1 + + Joe Satriani + 29762c82-bb92-4acd-b1fb-09cc4da250d2 + http://www.last.fm/music/Joe+Satriani + + http://userserve-ak.last.fm/serve/34s/18263325.jpg + http://userserve-ak.last.fm/serve/64s/18263325.jpg + http://userserve-ak.last.fm/serve/126/18263325.jpg + + + Cowboys + 29 + + + http://www.last.fm/music/Portishead/_/Cowboys + 1 + + Portishead + 8f6bd1e4-fbe1-4f50-aa9b-94c450ec0f11 + http://www.last.fm/music/Portishead + + http://userserve-ak.last.fm/serve/34s/8569347.jpg + http://userserve-ak.last.fm/serve/64s/8569347.jpg + http://userserve-ak.last.fm/serve/126/8569347.jpg + + + Trial of Tears + 29 + + + http://www.last.fm/music/Dream+Theater/_/Trial+of+Tears + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/13628909.jpg + http://userserve-ak.last.fm/serve/64s/13628909.jpg + http://userserve-ak.last.fm/serve/126/13628909.jpg + + + All Along the Watchtower + 28 + + + http://www.last.fm/music/Jimi+Hendrix/_/All+Along+the+Watchtower + 1 + + Jimi Hendrix + 06fb1c8b-566e-4cb2-985b-b467c90781d4 + http://www.last.fm/music/Jimi+Hendrix + + http://userserve-ak.last.fm/serve/34s/12619911.jpg + http://userserve-ak.last.fm/serve/64s/12619911.jpg + http://userserve-ak.last.fm/serve/126/12619911.jpg + + + Surrounded + 28 + + + http://www.last.fm/music/Dream+Theater/_/Surrounded + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Closer + 28 + + + http://www.last.fm/music/Nine+Inch+Nails/_/Closer + 1 + + Nine Inch Nails + b7ffd2af-418f-4be2-bdd1-22f8b48613da + http://www.last.fm/music/Nine+Inch+Nails + + http://userserve-ak.last.fm/serve/34s/8652447.jpg + http://userserve-ak.last.fm/serve/64s/8652447.jpg + http://userserve-ak.last.fm/serve/126/8652447.jpg + + + The Glass Prison + 28 + + + http://www.last.fm/music/Dream+Theater/_/The+Glass+Prison + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + Superstition + 28 + + + http://www.last.fm/music/Stevie+Wonder/_/Superstition + 1 + + Stevie Wonder + 1ee18fb3-18a6-4c7f-8ba0-bc41cdd0462e + http://www.last.fm/music/Stevie+Wonder + + http://userserve-ak.last.fm/serve/34s/8590525.jpg + http://userserve-ak.last.fm/serve/64s/8590525.jpg + http://userserve-ak.last.fm/serve/126/8590525.jpg + + + Hollow Years + 28 + + + http://www.last.fm/music/Dream+Theater/_/Hollow+Years + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/13628909.jpg + http://userserve-ak.last.fm/serve/64s/13628909.jpg + http://userserve-ak.last.fm/serve/126/13628909.jpg + + + Know Your Enemy + 27 + + + http://www.last.fm/music/Rage+Against+the+Machine/_/Know+Your+Enemy + 1 + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Take the Power Back + 27 + + + http://www.last.fm/music/Rage+Against+the+Machine/_/Take+the+Power+Back + 1 + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Lines in the Sand + 27 + + + http://www.last.fm/music/Dream+Theater/_/Lines+in+the+Sand + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + + + Metropolis - Part I (The Miracle and the Sleeper) + 26 + + + http://www.last.fm/music/Dream+Theater/_/Metropolis+-+Part+I+%28The+Miracle+and+the+Sleeper%29 + 0 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + + + I Put a Spell on You + 26 + + + http://www.last.fm/music/Nina+Simone/_/I+Put+a+Spell+on+You + 1 + + Nina Simone + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + + http://userserve-ak.last.fm/serve/34s/18081431.jpg + http://userserve-ak.last.fm/serve/64s/18081431.jpg + http://userserve-ak.last.fm/serve/126/18081431.jpg + + + Photograph + 26 + + + http://www.last.fm/music/Def+Leppard/_/Photograph + 0 + + Def Leppard + 7249b899-8db8-43e7-9e6e-22f1e736024e + http://www.last.fm/music/Def+Leppard + + http://images.amazon.com/images/P/B000001F2V.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000001F2V.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000001F2V.01.MZZZZZZZ.jpg + + + Love Me or Leave Me + 26 + + + http://www.last.fm/music/Nina+Simone/_/Love+Me+or+Leave+Me + 1 + + Nina Simone + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + + http://images.amazon.com/images/P/B000055Y5G.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B000055Y5G.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B000055Y5G.01._SCMZZZZZZZ_.jpg + + + Settle for Nothing + 26 + + + http://www.last.fm/music/Rage+Against+the+Machine/_/Settle+for+Nothing + 1 + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Just Let Me Breathe + 26 + + + http://www.last.fm/music/Dream+Theater/_/Just+Let+Me+Breathe + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005QJDG.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00005QJDG.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00005QJDG.01._SCMZZZZZZZ_.jpg + + + Lifting Shadows Off a Dream + 25 + + + http://www.last.fm/music/Dream+Theater/_/Lifting+Shadows+Off+a+Dream + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B000002JKA.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.LZZZZZZZ.jpg + + + Fire and Rain + 25 + + + http://www.last.fm/music/James+Taylor/_/Fire+and+Rain + 1 + + James Taylor + 107d0c22-d051-4d98-8206-4e14de02132a + http://www.last.fm/music/James+Taylor + + http://userserve-ak.last.fm/serve/34s/12619275.jpg + http://userserve-ak.last.fm/serve/64s/12619275.jpg + http://userserve-ak.last.fm/serve/126/12619275.jpg + + + The Great Debate + 25 + + + http://www.last.fm/music/Dream+Theater/_/The+Great+Debate + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + Peruvian Skies + 25 + + + http://www.last.fm/music/Dream+Theater/_/Peruvian+Skies + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/13628909.jpg + http://userserve-ak.last.fm/serve/64s/13628909.jpg + http://userserve-ak.last.fm/serve/126/13628909.jpg + + + Misunderstood + 24 + + + http://www.last.fm/music/Dream+Theater/_/Misunderstood + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + Quicksand Jesus + 24 + + + http://www.last.fm/music/Skid+Row/_/Quicksand+Jesus + 1 + + Skid Row + 6da0515e-a27d-449d-84cc-00713c38a140 + http://www.last.fm/music/Skid+Row + + http://images.amazon.com/images/P/B000002IQW.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002IQW.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002IQW.01.LZZZZZZZ.jpg + + + El Paso + 24 + + + http://www.last.fm/music/Marty+Robbins/_/El+Paso + 1 + + Marty Robbins + 2c2add7c-9a99-4812-a20e-870d331f01fd + http://www.last.fm/music/Marty+Robbins + + http://images.amazon.com/images/P/B0000025W4.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0000025W4.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0000025W4.01.MZZZZZZZ.jpg + + + Welcome to the Jungle + 24 + + + http://www.last.fm/music/Guns+N%27+Roses/_/Welcome+to+the+Jungle + 1 + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + + http://userserve-ak.last.fm/serve/34s/8616041.jpg + http://userserve-ak.last.fm/serve/64s/8616041.jpg + http://userserve-ak.last.fm/serve/126/8616041.jpg + + + Lie + 23 + + + http://www.last.fm/music/Dream+Theater/_/Lie + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B000002JKA.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.LZZZZZZZ.jpg + + + Get the Fuck Out + 23 + + + http://www.last.fm/music/Skid+Row/_/Get+the+Fuck+Out + 1 + + Skid Row + 6da0515e-a27d-449d-84cc-00713c38a140 + http://www.last.fm/music/Skid+Row + + http://userserve-ak.last.fm/serve/34s/13845469.jpg + http://userserve-ak.last.fm/serve/64s/13845469.jpg + http://userserve-ak.last.fm/serve/126/13845469.jpg + + + Porno Star + 23 + + + http://www.last.fm/music/Buckcherry/_/Porno+Star + 0 + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + + + Township Rebellion + 23 + + + http://www.last.fm/music/Rage+Against+the+Machine/_/Township+Rebellion + 1 + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Peter Gunn Theme + 23 + + + http://www.last.fm/music/The+Blues+Brothers/_/Peter+Gunn+Theme + 1 + + The Blues Brothers + 7252abc2-dfc8-4aa6-889f-2d168b265403 + http://www.last.fm/music/The+Blues+Brothers + + http://userserve-ak.last.fm/serve/34s/8591289.jpg + http://userserve-ak.last.fm/serve/64s/8591289.jpg + http://userserve-ak.last.fm/serve/126/8591289.jpg + + + Steamroller + 23 + + + http://www.last.fm/music/James+Taylor/_/Steamroller + 1 + + James Taylor + 107d0c22-d051-4d98-8206-4e14de02132a + http://www.last.fm/music/James+Taylor + + http://images.amazon.com/images/P/B0009YXDD8.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0009YXDD8.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0009YXDD8.01.MZZZZZZZ.jpg + + + Blind Faith + 23 + + + http://www.last.fm/music/Dream+Theater/_/Blind+Faith + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + Wasn't Born To Follow + 23 + + + http://www.last.fm/music/The+Byrds/_/Wasn%27t+Born+To+Follow + 1 + + The Byrds + 2819834e-4e08-47b0-a2c4-b7672318e8f0 + http://www.last.fm/music/The+Byrds + + http://images.amazon.com/images/P/B00000APS6.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B00000APS6.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000APS6.01.LZZZZZZZ.jpg + + + Whiskey in the Morning + 23 + + + http://www.last.fm/music/Buckcherry/_/Whiskey+in+the+Morning + 0 + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + + + Frontside + 22 + + + http://www.last.fm/music/Buckcherry/_/Frontside + 0 + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + + + Crossroads + 22 + + + http://www.last.fm/music/Cream/_/Crossroads + 0 + + Cream + 04cd0cfd-bfd1-4c36-bc38-95c35e2c045f + http://www.last.fm/music/Cream + + + + Disappear + 22 + + + http://www.last.fm/music/Dream+Theater/_/Disappear + 0 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + Nightrain + 22 + + + http://www.last.fm/music/Guns+N%27+Roses/_/Nightrain + 1 + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + + http://userserve-ak.last.fm/serve/34s/8616041.jpg + http://userserve-ak.last.fm/serve/64s/8616041.jpg + http://userserve-ak.last.fm/serve/126/8616041.jpg + + diff --git a/test/data/3ab295f9c1eaeb357968e5c8ddfc2d5e.xml b/test/data/3ab295f9c1eaeb357968e5c8ddfc2d5e.xml new file mode 100644 index 0000000..1f52135 --- /dev/null +++ b/test/data/3ab295f9c1eaeb357968e5c8ddfc2d5e.xml @@ -0,0 +1,61 @@ + + + + + 0.81405720173183 + + + Coldplay + http://www.last.fm/music/Coldplay + http://userserve-ak.last.fm/serve/126/5735261.jpg + http://userserve-ak.last.fm/serve/64/5735261.jpg + http://userserve-ak.last.fm/serve/34/5735261.jpg + + + Red Hot Chili Peppers + http://www.last.fm/music/Red+Hot+Chili+Peppers + http://userserve-ak.last.fm/serve/126/403312.jpg + http://userserve-ak.last.fm/serve/64/403312.jpg + http://userserve-ak.last.fm/serve/34/403312.jpg + + + The Killers + http://www.last.fm/music/The+Killers + http://userserve-ak.last.fm/serve/126/12895249.jpg + http://userserve-ak.last.fm/serve/64/12895249.jpg + http://userserve-ak.last.fm/serve/34/12895249.jpg + + + The Beatles + http://www.last.fm/music/The+Beatles + http://userserve-ak.last.fm/serve/126/100199.jpg + http://userserve-ak.last.fm/serve/64/100199.jpg + http://userserve-ak.last.fm/serve/34/100199.jpg + + + U2 + http://www.last.fm/music/U2 + http://userserve-ak.last.fm/serve/126/416726.jpg + http://userserve-ak.last.fm/serve/64/416726.jpg + http://userserve-ak.last.fm/serve/34/416726.jpg + + + + + + RJ + http://www.last.fm/user/RJ + http://userserve-ak.last.fm/serve/126/8270359.jpg + http://userserve-ak.last.fm/serve/64/8270359.jpg + http://userserve-ak.last.fm/serve/34/8270359.jpg + + + abhin4v + http://www.last.fm/user/abhin4v + http://userserve-ak.last.fm/serve/126/1572487.jpg + http://userserve-ak.last.fm/serve/64/1572487.jpg + http://userserve-ak.last.fm/serve/34/1572487.jpg + + + + diff --git a/test/data/578650a16366fed22569ce9cfb89703b.xml b/test/data/578650a16366fed22569ce9cfb89703b.xml new file mode 100644 index 0000000..46eb2e0 --- /dev/null +++ b/test/data/578650a16366fed22569ce9cfb89703b.xml @@ -0,0 +1,982 @@ + + + + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + 11 + http://www.last.fm/music/Dream+Theater + + + R.E.M. + ea4dfa26-f633-4da6-a52a-f49ea4897b58 + 8 + http://www.last.fm/music/R.E.M. + + + Metallica + 65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab + 8 + http://www.last.fm/music/Metallica + + + The Smashing Pumpkins + ba0d6274-db14-4ef5-b28d-657ebde1a396 + 7 + http://www.last.fm/music/The+Smashing+Pumpkins + + + Counting Crows + a0327dc2-dc76-44d5-aec6-47cd2dff1469 + 6 + http://www.last.fm/music/Counting+Crows + + + Ludwig van Beethoven + 1f9df192-a621-4f54-8850-2c5373b7eac9 + 6 + http://www.last.fm/music/Ludwig+van+Beethoven + + + Johann Sebastian Bach + 24f1766e-9635-4d58-a4d4-9413f9f98a4c + 6 + http://www.last.fm/music/Johann+Sebastian+Bach + + + Mr. Big + bd1180c4-4252-461f-94dc-543906c02522 + 5 + http://www.last.fm/music/Mr.+Big + + + Muse + 9c9f1380-2516-4fc9-a3e6-f9f61941d090 + 5 + http://www.last.fm/music/Muse + + + Bruce Springsteen + 70248960-cb53-4ea4-943a-edb18f7d336f + 5 + http://www.last.fm/music/Bruce+Springsteen + + + Joe Satriani + 29762c82-bb92-4acd-b1fb-09cc4da250d2 + 5 + http://www.last.fm/music/Joe+Satriani + + + Pat Metheny + 7daac7f9-8fcc-485f-a14f-f8091d98cf25 + 5 + http://www.last.fm/music/Pat+Metheny + + + Eva Cassidy + 6f2dfabb-f0bb-4801-a392-592489a148e7 + 5 + http://www.last.fm/music/Eva+Cassidy + + + PJ Harvey + e795e03d-b5d5-4a5f-834d-162cfb308a2c + 5 + http://www.last.fm/music/PJ+Harvey + + + King's X + c8f5272e-8a94-4807-9099-70181e92fc46 + 4 + http://www.last.fm/music/King%27s+X + + + Collective Soul + aa266ac7-d919-4132-982e-76cbd95591a7 + 4 + http://www.last.fm/music/Collective+Soul + + + Led Zeppelin + 678d88b2-87b0-403b-b63d-5da7465aecc3 + 4 + http://www.last.fm/music/Led+Zeppelin + + + Red Hot Chili Peppers + 8bfac288-ccc5-448d-9573-c33ea2aa5c30 + 4 + http://www.last.fm/music/Red+Hot+Chili+Peppers + + + Miles Davis + 561d854a-6a28-4aa7-8c99-323e6ce46c2a + 4 + http://www.last.fm/music/Miles+Davis + + + Free + 6cb5d1ca-03ce-4656-92f5-bf35f53d1582 + 3 + http://www.last.fm/music/Free + + + John Mayer + 144ef525-85e9-40c3-8335-02c32d0861f3 + 3 + http://www.last.fm/music/John+Mayer + + + Prince + 070d193a-845c-479f-980e-bef15710653e + 3 + http://www.last.fm/music/Prince + + + Tom Waits + c3aeb863-7b26-4388-94e8-5a240f2be21b + 3 + http://www.last.fm/music/Tom+Waits + + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + 3 + http://www.last.fm/music/Guns+N%27+Roses + + + The Jimi Hendrix Experience + 33b3c323-77c2-417c-a5b4-af7e6a111cc9 + 3 + http://www.last.fm/music/The+Jimi+Hendrix+Experience + + + Jeff Buckley + e6e879c0-3d56-4f12-b3c5-3ce459661a8e + 3 + http://www.last.fm/music/Jeff+Buckley + + + Jimi Hendrix + 06fb1c8b-566e-4cb2-985b-b467c90781d4 + 3 + http://www.last.fm/music/Jimi+Hendrix + + + Dave Weckl + 32dca198-b5fc-4081-9dd3-1309a935014b + 3 + http://www.last.fm/music/Dave+Weckl + + + Frank Sinatra + 197450cd-0124-4164-b723-3c22dd16494d + 3 + http://www.last.fm/music/Frank+Sinatra + + + Queen + 0383dadf-2a4e-4d10-a46a-e9e041da8eb3 + 3 + http://www.last.fm/music/Queen + + + Beatallica + 8602561b-caa1-4ef7-9501-a4159b3a41c3 + 3 + http://www.last.fm/music/Beatallica + + + Charles Mingus + f3b8e107-abe8-4743-b6a3-4a4ee995e71f + 3 + http://www.last.fm/music/Charles+Mingus + + + Enya + 4967c0a1-b9f3-465e-8440-4598fd9fc33c + 2 + http://www.last.fm/music/Enya + + + Fatboy Slim + 34c63966-445c-4613-afe1-4f0e1e53ae9a + 2 + http://www.last.fm/music/Fatboy+Slim + + + Dizzy Gillespie + e9ba8ccb-505f-4e5c-b909-65998d0d35b5 + 2 + http://www.last.fm/music/Dizzy+Gillespie + + + Eels + 14387b0f-765c-4852-852f-135335790466 + 2 + http://www.last.fm/music/Eels + + + Sheryl Crow + 80ccfede-c258-4575-a7ad-c982e9932e0f + 2 + http://www.last.fm/music/Sheryl+Crow + + + Nine Inch Nails + b7ffd2af-418f-4be2-bdd1-22f8b48613da + 2 + http://www.last.fm/music/Nine+Inch+Nails + + + John Patitucci + b7999b55-a0b0-4ea5-bcba-e5cc86e2f134 + 2 + http://www.last.fm/music/John+Patitucci + + + Def Leppard + 7249b899-8db8-43e7-9e6e-22f1e736024e + 2 + http://www.last.fm/music/Def+Leppard + + + Frédéric Chopin + 09ff1fe8-d61c-4b98-bb82-18487c74d7b7 + 2 + http://www.last.fm/music/Fr%C3%A9d%C3%A9ric+Chopin + + + Foo Fighters + 67f66c07-6e61-4026-ade5-7e782fad3a5d + 2 + http://www.last.fm/music/Foo+Fighters + + + Pearl Jam + 83b9cbe7-9857-49e2-ab8e-b57b01038103 + 2 + http://www.last.fm/music/Pearl+Jam + + + Dan Reed Network + 2fe24c3c-5768-484d-a64b-04983e99325a + 2 + http://www.last.fm/music/Dan+Reed+Network + + + Jamiroquai + f4857fb9-e255-4dc6-bd01-e4ca7cc68544 + 2 + http://www.last.fm/music/Jamiroquai + + + Marcus Miller + 8fbabd07-4b2b-4f4c-add5-680429a8c44a + 2 + http://www.last.fm/music/Marcus+Miller + + + Herbie Hancock + 27613b78-1b9d-4ec3-9db5-fa0743465fdd + 2 + http://www.last.fm/music/Herbie+Hancock + + + Ronny Jordan + 50b3ef68-29c1-42ec-92d5-90e0f40fdf7f + 2 + http://www.last.fm/music/Ronny+Jordan + + + Marvin Gaye + afdb7919-059d-43c1-b668-ba1d265e7e42 + 2 + http://www.last.fm/music/Marvin+Gaye + + + Deep Purple + 79491354-3d83-40e3-9d8e-7592d58d790a + 2 + http://www.last.fm/music/Deep+Purple + + + Billie Holiday + d59c4cda-11d9-48db-8bfe-b557ee602aed + 2 + http://www.last.fm/music/Billie+Holiday + + + David Lee Roth + 802d37d5-0aaa-492e-b366-99f75e5a196f + 2 + http://www.last.fm/music/David+Lee+Roth + + + Stevie Wonder + 1ee18fb3-18a6-4c7f-8ba0-bc41cdd0462e + 2 + http://www.last.fm/music/Stevie+Wonder + + + Hothouse Flowers + 9ddb555e-4cf2-4d76-a9d5-7627988cf6ab + 2 + http://www.last.fm/music/Hothouse+Flowers + + + Silverchair + b0799818-22cb-4564-8e68-3c410d0722ee + 2 + http://www.last.fm/music/Silverchair + + + Tower of Power + 6c4d81f8-8a34-4cda-9a4b-538c539b50f4 + 2 + http://www.last.fm/music/Tower+of+Power + + + George Michael + ccb8f30e-4d71-40c4-8b1d-846dafe73e2c + 2 + http://www.last.fm/music/George+Michael + + + Moby + 8970d868-0723-483b-a75b-51088913d3d4 + 2 + http://www.last.fm/music/Moby + + + John Lee Hooker & Miles Davis + bb621b76-27b2-444f-9d26-7900c1bab75a + 2 + http://www.last.fm/music/John%2BLee%2BHooker%2B%2526%2BMiles%2BDavis + + + Madonna + 79239441-bfd5-4981-a70c-55c3f15c1287 + 2 + http://www.last.fm/music/Madonna + + + Beth Orton + 214d84a5-e9e5-4432-af95-8c84da7ba4c0 + 2 + http://www.last.fm/music/Beth+Orton + + + Diana Krall + 67d2cb7a-9ddb-4a7f-82bf-5a2d1a038e98 + 2 + http://www.last.fm/music/Diana+Krall + + + Goo Goo Dolls + e2c00c56-8365-4160-9f40-a64682917633 + 2 + http://www.last.fm/music/Goo+Goo+Dolls + + + Crash Test Dummies + afb8f901-d846-4c70-a898-59bc183d1da7 + 2 + http://www.last.fm/music/Crash+Test+Dummies + + + Pink Floyd + 83d91898-7763-47d7-b03b-b92132375c47 + 1 + http://www.last.fm/music/Pink+Floyd + + + David Hudson and Friends + 80e577ba-841f-43ba-9f32-72e7c1692336 + 1 + http://www.last.fm/music/David+Hudson+and+Friends + + + Genesis + 8e3fcd7d-bda1-4ca0-b987-b8528d2ee74e + 1 + http://www.last.fm/music/Genesis + + + Depeche Mode + 8538e728-ca0b-4321-b7e5-cff6565dd4c0 + 1 + http://www.last.fm/music/Depeche+Mode + + + Larry Carlton + f1f81989-dfa9-4bd3-805e-dcf3900c43e3 + 1 + http://www.last.fm/music/Larry+Carlton + + + The Killers + 95e1ead9-4d31-4808-a7ac-32c3614c116b + 1 + http://www.last.fm/music/The+Killers + + + Bryan Adams + 4dbf5678-7a31-406a-abbe-232f8ac2cd63 + 1 + http://www.last.fm/music/Bryan+Adams + + + The Pogues + d41a6875-b626-4c0f-89a1-aecb643d29ff + 1 + http://www.last.fm/music/The+Pogues + + + The Who + 9fdaa16b-a6c4-4831-b87c-bc9ca8ce7eaa + 1 + http://www.last.fm/music/The+Who + + + The Cranberries + c98d40fd-f6cf-4b26-883e-eaa515ee2851 + 1 + http://www.last.fm/music/The+Cranberries + + + System of a Down + cc0b7089-c08d-4c10-b6b0-873582c17fd6 + 1 + http://www.last.fm/music/System+of+a+Down + + + Frankie Goes to Hollywood + c09c8263-40ef-4352-8031-e438b1ce68fc + 1 + http://www.last.fm/music/Frankie+Goes+to+Hollywood + + + The Stone Roses + b5fa29f1-6c22-4321-a488-b5f363b06b06 + 1 + http://www.last.fm/music/The+Stone+Roses + + + Sum 41 + f2eef649-a6d5-4114-afba-e50ab26254d2 + 1 + http://www.last.fm/music/Sum+41 + + + AFI + 1c3919b2-43ca-4a4a-935d-9d50135ec0ef + 1 + http://www.last.fm/music/AFI + + + The Doors + 9efff43b-3b29-4082-824e-bc82f646f93d + 1 + http://www.last.fm/music/The+Doors + + + U2 + a3cb23fc-acd3-4ce0-8f36-1e5aa6a18432 + 1 + http://www.last.fm/music/U2 + + + Nirvana + 5b11f4ce-a62d-471e-81fc-a69a8278c7da + 1 + http://www.last.fm/music/Nirvana + + + Chuck Berry + 592a3b6d-c42b-4567-99c9-ecf63bd66499 + 1 + http://www.last.fm/music/Chuck+Berry + + + Kenny Burrell + a85b66d2-34df-4d5a-8c0d-d585b8a14ce1 + 1 + http://www.last.fm/music/Kenny+Burrell + + + Alice Cooper + 4d7928cd-7ed2-4282-8c29-c0c9f966f1bd + 1 + http://www.last.fm/music/Alice+Cooper + + + Michael Jackson + f27ec8db-af05-4f36-916e-3d57f91ecf5e + 1 + http://www.last.fm/music/Michael+Jackson + + + Michael Andrews + ee6e8790-7123-40ab-b7e9-03c4fe6aa08f + 1 + http://www.last.fm/music/Michael+Andrews + + + Radiohead + a74b1b7f-71a5-4011-9441-d0b5e4122711 + 1 + http://www.last.fm/music/Radiohead + + + Drowning Pool + 87a73cf0-ebdf-483d-8b5a-3db1e5e72122 + 1 + http://www.last.fm/music/Drowning+Pool + + + Iron Maiden + ca891d65-d9b0-4258-89f7-e6ba29d83767 + 1 + http://www.last.fm/music/Iron+Maiden + + + Stanley Jordan + 6ba7dd48-a5fe-46a3-947a-057919dbe989 + 1 + http://www.last.fm/music/Stanley+Jordan + + + Suzie Higgie + 2ebcc4b4-f2dc-44d1-be50-c370d56c5b8f + 1 + http://www.last.fm/music/Suzie+Higgie + + + Finger Eleven + 0b76f632-25fa-4681-9862-86499c28afd3 + 1 + http://www.last.fm/music/Finger+Eleven + + + Evanescence + f4a31f0a-51dd-4fa7-986d-3095c40c5ed9 + 1 + http://www.last.fm/music/Evanescence + + + Eric Clapton + 618b6900-0618-4f1e-b835-bccb17f84294 + 1 + http://www.last.fm/music/Eric+Clapton + + + Soundgarden + 153c9281-268f-4cf3-8938-f5a4593e5df4 + 1 + http://www.last.fm/music/Soundgarden + + + Simon & Garfunkel + 5d02f264-e225-41ff-83f7-d9b1f0b1874a + 1 + http://www.last.fm/music/Simon%2B%2526%2BGarfunkel + + + Gotan Project + 66cc244d-6f96-4668-a6e9-0f9cd5acc940 + 1 + http://www.last.fm/music/Gotan+Project + + + Mr. Bungle + 277e21a9-2d64-452d-96c4-2d23a7af5891 + 1 + http://www.last.fm/music/Mr.+Bungle + + + Ronnie Scott's Quintet + + 1 + http://www.last.fm/music/Ronnie+Scott%27s+Quintet + + + Girls Against Boys + 837cd182-8da4-4c1c-924c-03daf72f0237 + 1 + http://www.last.fm/music/Girls+Against+Boys + + + Jane's Addiction + e3434cc7-d348-491a-9dc8-325af3d9086d + 1 + http://www.last.fm/music/Jane%27s+Addiction + + + Cutting Crew + 2aa79fa9-7ac0-443b-b250-18d67227a1cb + 1 + http://www.last.fm/music/Cutting+Crew + + + Stanley Clarke + 5ab6ca23-9e17-43f2-ad92-869d28bdbf11 + 1 + http://www.last.fm/music/Stanley+Clarke + + + Jools Holland + 29a6f210-8c16-404a-9c0f-c26e26ecb29c + 1 + http://www.last.fm/music/Jools+Holland + + + Supreme Beings of Leisure + 1b483425-4f02-4599-a31c-9b5c132e0a7a + 1 + http://www.last.fm/music/Supreme+Beings+of+Leisure + + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + 1 + http://www.last.fm/music/Buckcherry + + + Transatlantic + a57fb9e3-ac21-4c53-87f1-e3b25cb6944a + 1 + http://www.last.fm/music/Transatlantic + + + Massive Attack + 10adbe5e-a2c0-4bf3-8249-2b4cbf6e6ca8 + 1 + http://www.last.fm/music/Massive+Attack + + + Mescalito + 439a0e5b-7934-4ddd-8223-794f0acdadec + 1 + http://www.last.fm/music/Mescalito + + + Antonio Vivaldi + ad79836d-9849-44df-8789-180bbc823f3c + 1 + http://www.last.fm/music/Antonio+Vivaldi + + + Weather Report + 0f9997bd-e079-429e-8ccd-9378c9b0c746 + 1 + http://www.last.fm/music/Weather+Report + + + Ike Quebec + d2301fc2-4416-477d-a4ca-5c5d98d0a998 + 1 + http://www.last.fm/music/Ike+Quebec + + + Pat Metheny, Dave Holland, Roy Haynes + + 1 + http://www.last.fm/music/Pat+Metheny%2C+Dave+Holland%2C+Roy+Haynes + + + Madness + 5f58803e-8c4c-478e-8b51-477f38483ede + 1 + http://www.last.fm/music/Madness + + + The Wallflowers + d9c90718-d54d-4ccf-a92e-37a5415ce299 + 1 + http://www.last.fm/music/The+Wallflowers + + + Norah Jones + 985c709c-7771-4de3-9024-7bda29ebe3f9 + 1 + http://www.last.fm/music/Norah+Jones + + + Derek Sherinian + a5171273-7c17-4628-8bd2-c372e5cd9586 + 1 + http://www.last.fm/music/Derek+Sherinian + + + Kid Rock + ad0ecd8b-805e-406e-82cb-5b00c3a3a29e + 1 + http://www.last.fm/music/Kid+Rock + + + Jaco Pastorius + 46a6fac0-2e14-4214-b08e-3bdb1cffa5aa + 1 + http://www.last.fm/music/Jaco+Pastorius + + + The Classic Chill Out Album + + 1 + http://www.last.fm/music/The+Classic+Chill+Out+Album + + + Luciano Ligabue + d5b0dc28-2f22-4f7d-adfb-ebbc30fa6d48 + 1 + http://www.last.fm/music/Luciano+Ligabue + + + Aretha Franklin + 2f9ecbed-27be-40e6-abca-6de49d50299e + 1 + http://www.last.fm/music/Aretha+Franklin + + + David Axelrod + d5c756c1-4872-457b-8f00-d620547cbb85 + 1 + http://www.last.fm/music/David+Axelrod + + + The Rolling Stones + b071f9fa-14b0-4217-8e97-eb41da73f598 + 1 + http://www.last.fm/music/The+Rolling+Stones + + + Vangelis + 57fca0e2-f9ad-4ae6-af9d-6a6f50cbcd5f + 1 + http://www.last.fm/music/Vangelis + + + Rammstein + b2d122f9-eadb-4930-a196-8f221eeb0c66 + 1 + http://www.last.fm/music/Rammstein + + + The Delfonics + cfe0dee4-4409-46e3-bbf2-edac88971132 + 1 + http://www.last.fm/music/The+Delfonics + + + [unknown] + 125ec42a-7229-4250-afc5-e057484327fe + 1 + http://www.last.fm/music/%5Bunknown%5D + + + INXS + 481bf5f9-2e7c-4c44-b08a-05b32bc7c00d + 1 + http://www.last.fm/music/INXS + + + Morcheeba + 067102ea-9519-4622-9077-57ca4164cfbb + 1 + http://www.last.fm/music/Morcheeba + + + James Brown + 20ff3303-4fe2-4a47-a1b6-291e26aa3438 + 1 + http://www.last.fm/music/James+Brown + + + Sarah Vaughan + 351d8bdf-33a1-45e2-8c04-c85fad20da55 + 1 + http://www.last.fm/music/Sarah+Vaughan + + + Tracy Chapman + 1129817c-488a-4096-80c1-77fc1b107c93 + 1 + http://www.last.fm/music/Tracy+Chapman + + + Kings of Leon + 6ffb8ea9-2370-44d8-b678-e9237bbd347b + 1 + http://www.last.fm/music/Kings+of+Leon + + + Erik Satie + e1d521ea-5b97-4981-987c-ba988b2a87d7 + 1 + http://www.last.fm/music/Erik+Satie + + + Slamin' Gladys + + 1 + http://www.last.fm/music/Slamin%27+Gladys + + + Saxon + bbd80354-597e-4d53-94e4-92b3a7cb8f2c + 1 + http://www.last.fm/music/Saxon + + + Summer + c500eb5e-6899-41d3-9555-093ed3b19a17 + 1 + http://www.last.fm/music/Summer + + + Nickelback + bc710bcf-8815-42cf-bad2-3f1d12246aeb + 1 + http://www.last.fm/music/Nickelback + + + Deacon Blue + 1d46cb3a-8071-45ba-855e-74e3cff20974 + 1 + http://www.last.fm/music/Deacon+Blue + + + Joni Mitchell + a6de8ef9-b1a1-4756-97aa-481bbb8a4069 + 1 + http://www.last.fm/music/Joni+Mitchell + + + 3 Doors Down + 2386cd66-e923-4e8e-bf14-2eebe2e9b973 + 1 + http://www.last.fm/music/3+Doors+Down + + + Shakatak + f6372053-44f7-4353-9c76-979116a9822d + 1 + http://www.last.fm/music/Shakatak + + + Alice in Chains + 4bd95eea-b9f6-4d70-a36c-cfea77431553 + 1 + http://www.last.fm/music/Alice+in+Chains + + + Firebird + 3dfc0a11-0122-4bc4-8474-b67c88c5a4ea + 1 + http://www.last.fm/music/Firebird + + + Linkin Park + f59c5520-5f46-4d2c-b2c4-822eabf53419 + 1 + http://www.last.fm/music/Linkin+Park + + + Travis + 22a40b75-affc-4e69-8884-266d087e4751 + 1 + http://www.last.fm/music/Travis + + + The Beatles + b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d + 1 + http://www.last.fm/music/The+Beatles + + + The Police + 9e0e2b01-41db-4008-bd8b-988977d6019a + 1 + http://www.last.fm/music/The+Police + + + Dido + d1353a0c-26fb-4318-a116-defde9c7c9ad + 1 + http://www.last.fm/music/Dido + + + The James Taylor Quartet + 95495d6a-c1f2-4a62-b0e3-b9c5f2e9dea6 + 1 + http://www.last.fm/music/The+James+Taylor+Quartet + + + Courtney Pine + 2f254220-3fcc-4606-9b01-9d67413922ae + 1 + http://www.last.fm/music/Courtney+Pine + + + Stone Temple Pilots + 8c32bb01-58a3-453b-8050-8c0620edb0e5 + 1 + http://www.last.fm/music/Stone+Temple+Pilots + + + Lenny Kravitz + 0ef3f425-9bd2-4216-9dd2-219d2fe90f1f + 1 + http://www.last.fm/music/Lenny+Kravitz + + + Bob Dylan + 72c536dc-7137-4477-a521-567eeb840fa8 + 1 + http://www.last.fm/music/Bob+Dylan + + + Placebo + 847e8284-8582-4b0e-9c26-b042a4f49e57 + 1 + http://www.last.fm/music/Placebo + + + Fun Lovin' Criminals + 1b15e90d-910c-4be4-99cb-463772a6430f + 1 + http://www.last.fm/music/Fun+Lovin%27+Criminals + + + Rae & Christian + 3f41479a-8486-4c70-a338-be75e10b6efc + 1 + http://www.last.fm/music/Rae%2B%2526%2BChristian + + + The Royal Philharmonic Orchestra + 299597ae-3a20-4bf1-973e-03704af69f6b + 1 + http://www.last.fm/music/The+Royal+Philharmonic+Orchestra + + + 2Pac + 382f1005-e9ab-4684-afd4-0bdae4ee37f2 + 1 + http://www.last.fm/music/2Pac + + + Level 42 + d69ee229-2f36-494c-b104-9ae0d8be506b + 1 + http://www.last.fm/music/Level+42 + + + Main + c4be2ec7-f45d-4deb-a444-c659bebbeeb4 + 1 + http://www.last.fm/music/Main + + diff --git a/test/data/5ab37c3a4673054d68f1329124f750c5.xml b/test/data/5ab37c3a4673054d68f1329124f750c5.xml new file mode 100644 index 0000000..a17831f --- /dev/null +++ b/test/data/5ab37c3a4673054d68f1329124f750c5.xml @@ -0,0 +1,124 @@ + + + + + Cutting Crew + Sahara + 1 + + Broadcast + http://www.last.fm/music/Cutting+Crew/_/Sahara + http://userserve-ak.last.fm/serve/34s/11475989.jpg + http://userserve-ak.last.fm/serve/64s/11475989.jpg + http://userserve-ak.last.fm/serve/126/11475989.jpg + 4 Mar 2009, 19:05 + + + Cutting Crew + Don't Look Back + 1 + + Broadcast + http://www.last.fm/music/Cutting+Crew/_/Don%27t+Look+Back + http://userserve-ak.last.fm/serve/34s/11475989.jpg + http://userserve-ak.last.fm/serve/64s/11475989.jpg + http://userserve-ak.last.fm/serve/126/11475989.jpg + 4 Mar 2009, 19:00 + + + Cutting Crew + (I Just) Died in Your Arms + 1 + + Broadcast + http://www.last.fm/music/Cutting+Crew/_/%28I+Just%29+Died+in+Your+Arms + http://userserve-ak.last.fm/serve/34s/11475989.jpg + http://userserve-ak.last.fm/serve/64s/11475989.jpg + http://userserve-ak.last.fm/serve/126/11475989.jpg + 4 Mar 2009, 18:55 + + + Cutting Crew + Fear of Falling + 1 + + Broadcast + http://www.last.fm/music/Cutting+Crew/_/Fear+of+Falling + http://userserve-ak.last.fm/serve/34s/11475989.jpg + http://userserve-ak.last.fm/serve/64s/11475989.jpg + http://userserve-ak.last.fm/serve/126/11475989.jpg + 4 Mar 2009, 15:59 + + + Cutting Crew + Life in a Dangerous Time + 1 + + Broadcast + http://www.last.fm/music/Cutting+Crew/_/Life+in+a+Dangerous+Time + http://userserve-ak.last.fm/serve/34s/11475989.jpg + http://userserve-ak.last.fm/serve/64s/11475989.jpg + http://userserve-ak.last.fm/serve/126/11475989.jpg + 4 Mar 2009, 15:55 + + + Cutting Crew + I've Been in Love Before + 1 + + Broadcast + http://www.last.fm/music/Cutting+Crew/_/I%27ve+Been+in+Love+Before + http://userserve-ak.last.fm/serve/34s/11475989.jpg + http://userserve-ak.last.fm/serve/64s/11475989.jpg + http://userserve-ak.last.fm/serve/126/11475989.jpg + 4 Mar 2009, 14:26 + + + Cutting Crew + One for the Mockingbird + 1 + + Broadcast + http://www.last.fm/music/Cutting+Crew/_/One+for+the+Mockingbird + http://userserve-ak.last.fm/serve/34s/11475989.jpg + http://userserve-ak.last.fm/serve/64s/11475989.jpg + http://userserve-ak.last.fm/serve/126/11475989.jpg + 4 Mar 2009, 14:21 + + + Cutting Crew + Any Colour + 1 + + Broadcast + http://www.last.fm/music/Cutting+Crew/_/Any+Colour + http://userserve-ak.last.fm/serve/34s/11475989.jpg + http://userserve-ak.last.fm/serve/64s/11475989.jpg + http://userserve-ak.last.fm/serve/126/11475989.jpg + 4 Mar 2009, 14:17 + + + Cutting Crew + Brag + 0 + + The Scattering + http://www.last.fm/music/Cutting+Crew/_/Brag + http://userserve-ak.last.fm/serve/34s/3990288.jpg + http://userserve-ak.last.fm/serve/64s/3990288.jpg + http://userserve-ak.last.fm/serve/126/3990288.jpg + 4 Mar 2009, 14:11 + + + Cutting Crew + Binkies Return + 0 + + The Scattering + http://www.last.fm/music/Cutting+Crew/_/Binkies+Return + http://userserve-ak.last.fm/serve/34s/3990288.jpg + http://userserve-ak.last.fm/serve/64s/3990288.jpg + http://userserve-ak.last.fm/serve/126/3990288.jpg + 4 Mar 2009, 14:09 + + diff --git a/test/data/61d1c2e7532f47e0859f2c3c3a760a9d.xml b/test/data/61d1c2e7532f47e0859f2c3c3a760a9d.xml new file mode 100644 index 0000000..fae3bc1 --- /dev/null +++ b/test/data/61d1c2e7532f47e0859f2c3c3a760a9d.xml @@ -0,0 +1,705 @@ + + + + + + Slave To The Grid + 227 + + http://www.last.fm/music/Skid+Row/Slave+To+The+Grid + + Skid Row + 6da0515e-a27d-449d-84cc-00713c38a140 + http://www.last.fm/music/Skid+Row + + http://userserve-ak.last.fm/serve/34s/12621887.jpg + http://userserve-ak.last.fm/serve/64s/12621887.jpg + http://userserve-ak.last.fm/serve/126/12621887.jpg + + + Images and Words + 213 + f20971f2-c8ad-4d26-91ab-730f6dedafb2 + http://www.last.fm/music/Dream+Theater/Images+and+Words + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Once in a Livetime + 202 + + http://www.last.fm/music/Dream+Theater/Once+in+a+Livetime + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + + + Nina Simone's Finest Hour + 165 + 80400af0-ee7b-4035-8c25-72289160ac21 + http://www.last.fm/music/Nina+Simone/Nina+Simone%27s+Finest+Hour + + Nina Simone + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + + http://userserve-ak.last.fm/serve/34s/8762911.jpg + http://userserve-ak.last.fm/serve/64s/8762911.jpg + http://userserve-ak.last.fm/serve/126/8762911.jpg + + + Sex and Religion + 158 + + http://www.last.fm/music/Steve+Vai/Sex+and+Religion + + Steve Vai + 5e7ccd92-6277-451a-aab9-1efd587c50f3 + http://www.last.fm/music/Steve+Vai + + http://userserve-ak.last.fm/serve/34s/12620315.jpg + http://userserve-ak.last.fm/serve/64s/12620315.jpg + http://userserve-ak.last.fm/serve/126/12620315.jpg + + + title + 156 + + http://www.last.fm/music/Slamin%27+Gladys/title + + Slamin' Gladys + + http://www.last.fm/music/Slamin%27+Gladys + + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + + + Time Bomb + 151 + 01e475d1-fefa-4e83-a389-4af98e29d311 + http://www.last.fm/music/Buckcherry/Time+Bomb + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + http://userserve-ak.last.fm/serve/34s/8664833.jpg + http://userserve-ak.last.fm/serve/64s/8664833.jpg + http://userserve-ak.last.fm/serve/126/8664833.jpg + + + Day for Night + 149 + d2bd6f36-d795-4601-96e0-f44fc400a321 + http://www.last.fm/music/Spock%27s+Beard/Day+for+Night + + Spock's Beard + 9e57e406-4fb1-40d0-bcd2-2aa1d6390c1d + http://www.last.fm/music/Spock%27s+Beard + + http://images.amazon.com/images/P/B00000I8CC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000I8CC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000I8CC.01.MZZZZZZZ.jpg + + + Liquid Tension Experiment + 149 + c3c0e462-1606-40dc-9667-1b26b9fb44c5 + http://www.last.fm/music/Liquid+Tension+Experiment/Liquid+Tension+Experiment + + Liquid Tension Experiment + bc641be9-ca36-4c61-9394-5230433f6646 + http://www.last.fm/music/Liquid+Tension+Experiment + + http://userserve-ak.last.fm/serve/34s/15779373.jpg + http://userserve-ak.last.fm/serve/64s/15779373.jpg + http://userserve-ak.last.fm/serve/126/15779373.jpg + + + Rage Against the Machine + 135 + e956c901-acb7-48d6-9dc6-389a5f91f372 + http://www.last.fm/music/Rage+Against+the+Machine/Rage+Against+the+Machine + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Dire Straits + 126 + aa658dc0-cdce-4723-a7d6-c049aaae7a0b + http://www.last.fm/music/Dire+Straits/Dire+Straits + + Dire Straits + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + + http://userserve-ak.last.fm/serve/34s/13188073.jpg + http://userserve-ak.last.fm/serve/64s/13188073.jpg + http://userserve-ak.last.fm/serve/126/13188073.jpg + + + The History of Rock + 125 + b32c1b95-8a13-4aa9-a5c5-858f408fb586 + http://www.last.fm/music/Kid+Rock/The+History+of+Rock + + Kid Rock + ad0ecd8b-805e-406e-82cb-5b00c3a3a29e + http://www.last.fm/music/Kid+Rock + + http://images.amazon.com/images/P/B00004TCPN.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B00004TCPN.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00004TCPN.01.LZZZZZZZ.jpg + + + A Night at the Hip Hopera + 124 + 4a1ef9e3-09d9-41e6-8ff3-e8bf26860ae8 + http://www.last.fm/music/The+Kleptones/A+Night+at+the+Hip+Hopera + + The Kleptones + f73b2b70-33d5-4118-923b-05ba8ad7e702 + http://www.last.fm/music/The+Kleptones + + http://userserve-ak.last.fm/serve/34s/11986865.jpg + http://userserve-ak.last.fm/serve/64s/11986865.jpg + http://userserve-ak.last.fm/serve/126/11986865.jpg + + + Awake + 124 + 7de6eb90-a8b2-4c00-80f7-c95e45929b27 + http://www.last.fm/music/Dream+Theater/Awake + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B000002JKA.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.LZZZZZZZ.jpg + + + Doggystyle + 124 + 092bebff-dcf6-4fc4-8c34-837651703155 + http://www.last.fm/music/Snoop+Dogg/Doggystyle + + Snoop Dogg + f90e8b26-9e52-4669-a5c9-e28529c47894 + http://www.last.fm/music/Snoop+Dogg + + http://images.amazon.com/images/P/B00005AQF7.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005AQF7.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005AQF7.01.MZZZZZZZ.jpg + + + And All That Could Have Been + 124 + 85d24075-75db-4ef2-9311-10d10a737429 + http://www.last.fm/music/Nine+Inch+Nails/And+All+That+Could+Have+Been + + Nine Inch Nails + b7ffd2af-418f-4be2-bdd1-22f8b48613da + http://www.last.fm/music/Nine+Inch+Nails + + http://images.amazon.com/images/P/B00005RZV4.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B00005RZV4.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005RZV4.01.LZZZZZZZ.jpg + + + Evergreen + 122 + 95f5a532-42b8-4413-b5c3-a20d6b37b3ff + http://www.last.fm/music/Echo%2B%2526%2Bthe%2BBunnymen/Evergreen + + Echo & the Bunnymen + ccd4879c-5e88-4385-b131-bf65296bf245 + http://www.last.fm/music/Echo%2B%2526%2Bthe%2BBunnymen + + http://userserve-ak.last.fm/serve/34s/8596309.jpg + http://userserve-ak.last.fm/serve/64s/8596309.jpg + http://userserve-ak.last.fm/serve/126/8596309.jpg + + + Falling Into Infinity + 121 + 56805d04-50f5-49c9-ac0b-41a653d945c1 + http://www.last.fm/music/Dream+Theater/Falling+Into+Infinity + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/8599015.jpg + http://userserve-ak.last.fm/serve/64s/8599015.jpg + http://userserve-ak.last.fm/serve/126/8599015.jpg + + + Blood Sugar Sex Magik + 117 + 8b69a5f2-d3de-4df0-ae61-54b2227862c8 + http://www.last.fm/music/Red+Hot+Chili+Peppers/Blood+Sugar+Sex+Magik + + Red Hot Chili Peppers + 8bfac288-ccc5-448d-9573-c33ea2aa5c30 + http://www.last.fm/music/Red+Hot+Chili+Peppers + + http://userserve-ak.last.fm/serve/34s/8590485.jpg + http://userserve-ak.last.fm/serve/64s/8590485.jpg + http://userserve-ak.last.fm/serve/126/8590485.jpg + + + The Very Best of Level 42 + 116 + 4498095f-3750-4d31-938e-486fe163de0a + http://www.last.fm/music/Level+42/The+Very+Best+of+Level+42 + + Level 42 + d69ee229-2f36-494c-b104-9ae0d8be506b + http://www.last.fm/music/Level+42 + + http://userserve-ak.last.fm/serve/34s/8720513.jpg + http://userserve-ak.last.fm/serve/64s/8720513.jpg + http://userserve-ak.last.fm/serve/126/8720513.jpg + + + Lit Up + 115 + + http://www.last.fm/music/Buckcherry/Lit+Up + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + http://images.amazon.com/images/P/B00001ZTYQ.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00001ZTYQ.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00001ZTYQ.01._SCMZZZZZZZ_.jpg + + + I'd Like a Virgin + 111 + ed2498fe-7fe2-4c24-99f4-05dd2bbea157 + http://www.last.fm/music/Richard+Cheese/I%27d+Like+a+Virgin + + Richard Cheese + 9bf79f68-c064-44a1-8c2c-5764f1d7c016 + http://www.last.fm/music/Richard+Cheese + + http://userserve-ak.last.fm/serve/34s/12636483.jpg + http://userserve-ak.last.fm/serve/64s/12636483.jpg + http://userserve-ak.last.fm/serve/126/12636483.jpg + + + The Heat + 111 + fa59d754-22f8-400a-befe-b4ccb51f72c2 + http://www.last.fm/music/Dan+Reed+Network/The+Heat + + Dan Reed Network + 2fe24c3c-5768-484d-a64b-04983e99325a + http://www.last.fm/music/Dan+Reed+Network + + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + + + Deluxe + 110 + 96bce911-aae9-495b-8126-8f62029a65ec + http://www.last.fm/music/Firebird/Deluxe + + Firebird + 3dfc0a11-0122-4bc4-8474-b67c88c5a4ea + http://www.last.fm/music/Firebird + + http://images.amazon.com/images/P/B00005MMNG.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005MMNG.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005MMNG.01.MZZZZZZZ.jpg + + + Firebird + 107 + + http://www.last.fm/music/Firebird/Firebird + + Firebird + 3dfc0a11-0122-4bc4-8474-b67c88c5a4ea + http://www.last.fm/music/Firebird + + http://userserve-ak.last.fm/serve/34s/15749639.jpg + http://userserve-ak.last.fm/serve/64s/15749639.jpg + http://userserve-ak.last.fm/serve/126/15749639.jpg + + + The Atomic Bitchwax + 103 + ca5fae8d-f6de-4cca-ac62-321f9879ea85 + http://www.last.fm/music/The+Atomic+Bitchwax/The+Atomic+Bitchwax + + The Atomic Bitchwax + 377ca1eb-83c2-40da-81fd-eb81e922a585 + http://www.last.fm/music/The+Atomic+Bitchwax + + http://userserve-ak.last.fm/serve/34s/14461111.jpg + http://userserve-ak.last.fm/serve/64s/14461111.jpg + http://userserve-ak.last.fm/serve/126/14461111.jpg + + + The Better Life + 99 + a7fb6852-dedc-4da4-91ba-59a2753efb9f + http://www.last.fm/music/3+Doors+Down/The+Better+Life + + 3 Doors Down + 2386cd66-e923-4e8e-bf14-2eebe2e9b973 + http://www.last.fm/music/3+Doors+Down + + http://userserve-ak.last.fm/serve/34s/8631753.jpg + http://userserve-ak.last.fm/serve/64s/8631753.jpg + http://userserve-ak.last.fm/serve/126/8631753.jpg + + + Communiqué + 99 + 71d8361b-f8d7-43bc-86d9-cc13294ae35f + http://www.last.fm/music/Dire+Straits/Communiqu%C3%A9 + + Dire Straits + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + + http://images.amazon.com/images/P/B00004Y6NT.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00004Y6NT.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00004Y6NT.01.MZZZZZZZ.jpg + + + Train of Thought + 99 + 5a4e6e59-de93-4fda-ac36-99b2efe8ff7e + http://www.last.fm/music/Dream+Theater/Train+of+Thought + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/8634935.jpg + http://userserve-ak.last.fm/serve/64s/8634935.jpg + http://userserve-ak.last.fm/serve/126/8634935.jpg + + + No. 3 + 98 + + http://www.last.fm/music/Firebird/No.+3 + + Firebird + 3dfc0a11-0122-4bc4-8474-b67c88c5a4ea + http://www.last.fm/music/Firebird + + http://images.amazon.com/images/P/B00009AHPO.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00009AHPO.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00009AHPO.01._SCMZZZZZZZ_.jpg + + + Stoosh + 98 + 846a7626-b1a6-4c54-bba4-a5d1de5945e5 + http://www.last.fm/music/Skunk+Anansie/Stoosh + + Skunk Anansie + e212efdf-98b2-4dce-92ed-62cfc1e29854 + http://www.last.fm/music/Skunk+Anansie + + http://userserve-ak.last.fm/serve/34s/23020361.jpg + http://userserve-ak.last.fm/serve/64s/23020361.jpg + http://userserve-ak.last.fm/serve/126/23020361.jpg + + + Dogman + 96 + fb33464f-b1df-4d60-a806-0f9683d375a1 + http://www.last.fm/music/King%27s+X/Dogman + + King's X + c8f5272e-8a94-4807-9099-70181e92fc46 + http://www.last.fm/music/King%27s+X + + http://images.amazon.com/images/P/B000002IXM.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002IXM.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002IXM.01.MZZZZZZZ.jpg + + + Riding with the King + 94 + 49e00206-2955-48a8-a9ba-a58a2fda916e + http://www.last.fm/music/B.B.%2BKing%2B%2526%2BEric%2BClapton/Riding+with+the+King + + B.B. King & Eric Clapton + c45474e1-8c83-41eb-b200-962c863c8a2b + http://www.last.fm/music/B.B.%2BKing%2B%2526%2BEric%2BClapton + + http://userserve-ak.last.fm/serve/34s/12622397.jpg + http://userserve-ak.last.fm/serve/64s/12622397.jpg + http://userserve-ak.last.fm/serve/126/12622397.jpg + + + Slam + 92 + 38145a63-a43e-4ec2-bb52-a12df7df1570 + http://www.last.fm/music/Dan+Reed+Network/Slam + + Dan Reed Network + 2fe24c3c-5768-484d-a64b-04983e99325a + http://www.last.fm/music/Dan+Reed+Network + + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + + + Runnin' Wild + 91 + + http://www.last.fm/music/Airbourne/Runnin%27+Wild + + Airbourne + + http://www.last.fm/music/Airbourne + + http://userserve-ak.last.fm/serve/34s/24801615.jpg + http://userserve-ak.last.fm/serve/64s/24801615.jpg + http://userserve-ak.last.fm/serve/126/24801615.jpg + + + Six Degrees Of Inner Turbulance + 91 + + http://www.last.fm/music/Dream+Theater/Six+Degrees+Of+Inner+Turbulance + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images-eu.amazon.com/images/P/B00005UEAR.02.THUMBZZZ.jpg + http://images-eu.amazon.com/images/P/B00005UEAR.02.MZZZZZZZ.jpg + http://images-eu.amazon.com/images/P/B00005UEAR.02.LZZZZZZZ.jpg + + + On Every Street + 90 + aceb4f36-3e64-42eb-ac1f-55715aad40b7 + http://www.last.fm/music/Dire+Straits/On+Every+Street + + Dire Straits + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + + http://userserve-ak.last.fm/serve/34s/8677231.jpg + http://userserve-ak.last.fm/serve/64s/8677231.jpg + http://userserve-ak.last.fm/serve/126/8677231.jpg + + + Love Me or Leave Me + 89 + cf3017c7-995a-474d-b542-c1f78a080f35 + http://www.last.fm/music/Nina+Simone/Love+Me+or+Leave+Me + + Nina Simone + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + + http://images.amazon.com/images/P/B000025AMX.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000025AMX.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000025AMX.01.LZZZZZZZ.jpg + + + Greatest Hits + 88 + 0499f493-4598-4c6d-bffa-5fc3400ca070 + http://www.last.fm/music/Bob+Seger/Greatest+Hits + + Bob Seger + 4382b934-64c3-47ac-98db-65f26d845c48 + http://www.last.fm/music/Bob+Seger + + http://userserve-ak.last.fm/serve/34s/12624475.jpg + http://userserve-ak.last.fm/serve/64s/12624475.jpg + http://userserve-ak.last.fm/serve/126/12624475.jpg + + + Use Your Illusion II + 87 + 0483e371-51fc-49cb-9711-69c324589cd6 + http://www.last.fm/music/Guns+N%27+Roses/Use+Your+Illusion+II + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + + http://userserve-ak.last.fm/serve/34s/15231979.jpg + http://userserve-ak.last.fm/serve/64s/15231979.jpg + http://userserve-ak.last.fm/serve/126/15231979.jpg + + + Urban Hymns + 87 + 839a1568-b862-43a7-81e6-a4040496f369 + http://www.last.fm/music/The+Verve/Urban+Hymns + + The Verve + d4d17620-fd97-4574-92a8-a2cb7e72ce42 + http://www.last.fm/music/The+Verve + + http://userserve-ak.last.fm/serve/34s/14233169.jpg + http://userserve-ak.last.fm/serve/64s/14233169.jpg + http://userserve-ak.last.fm/serve/126/14233169.jpg + + + It's Not Too Late + 87 + 94572ecd-1ae3-44bb-b47b-5b7f933c416b + http://www.last.fm/music/Neal+Morse/It%27s+Not+Too+Late + + Neal Morse + c0926f5d-098c-4f29-a463-5489b43a273a + http://www.last.fm/music/Neal+Morse + + http://images.amazon.com/images/P/B000067UNC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000067UNC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000067UNC.01.MZZZZZZZ.jpg + + + Just Push Play + 86 + 2fdce4fb-1194-4eba-ba07-9b2fa53bac7c + http://www.last.fm/music/Aerosmith/Just+Push+Play + + Aerosmith + 3d2b98e5-556f-4451-a3ff-c50ea18d57cb + http://www.last.fm/music/Aerosmith + + http://userserve-ak.last.fm/serve/34s/21685277.jpg + http://userserve-ak.last.fm/serve/64s/21685277.jpg + http://userserve-ak.last.fm/serve/126/21685277.jpg + + + Nine Lives + 85 + 12adc6cb-bb7a-426c-97f7-9a7d1cc50e07 + http://www.last.fm/music/Aerosmith/Nine+Lives + + Aerosmith + 3d2b98e5-556f-4451-a3ff-c50ea18d57cb + http://www.last.fm/music/Aerosmith + + http://userserve-ak.last.fm/serve/34s/16815417.jpg + http://userserve-ak.last.fm/serve/64s/16815417.jpg + http://userserve-ak.last.fm/serve/126/16815417.jpg + + + Ruby Soul + 82 + + http://www.last.fm/music/Tok+Tok+Tok/Ruby+Soul + + Tok Tok Tok + 97d9060d-2cd5-4acd-b44f-c39ea2da4753 + http://www.last.fm/music/Tok+Tok+Tok + + http://images.amazon.com/images/P/B00006OA35.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B00006OA35.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00006OA35.01.LZZZZZZZ.jpg + + + Renegades + 82 + 8b98b2d4-91af-4a58-af54-0bd872570c5e + http://www.last.fm/music/Rage+Against+the+Machine/Renegades + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/15765837.jpg + http://userserve-ak.last.fm/serve/64s/15765837.jpg + http://userserve-ak.last.fm/serve/126/15765837.jpg + + + Supreme Beings of Leisure + 81 + 62a1e7a5-d6a9-4a52-8f59-3d927a3c7f1d + http://www.last.fm/music/Supreme+Beings+of+Leisure/Supreme+Beings+of+Leisure + + Supreme Beings of Leisure + 1b483425-4f02-4599-a31c-9b5c132e0a7a + http://www.last.fm/music/Supreme+Beings+of+Leisure + + http://userserve-ak.last.fm/serve/34s/18064597.jpg + http://userserve-ak.last.fm/serve/64s/18064597.jpg + http://userserve-ak.last.fm/serve/126/18064597.jpg + + + Greatest Hits + 81 + c5e29035-a258-44e3-b9de-4df9548c7866 + http://www.last.fm/music/James+Taylor/Greatest+Hits + + James Taylor + 107d0c22-d051-4d98-8206-4e14de02132a + http://www.last.fm/music/James+Taylor + + http://userserve-ak.last.fm/serve/34s/12619275.jpg + http://userserve-ak.last.fm/serve/64s/12619275.jpg + http://userserve-ak.last.fm/serve/126/12619275.jpg + + + Trio Days + 80 + + http://www.last.fm/music/Nat+King+Cole/Trio+Days + + Nat King Cole + fbe054ec-a143-4101-9e9e-64abc5ff5ac9 + http://www.last.fm/music/Nat+King+Cole + + http://userserve-ak.last.fm/serve/34s/12619257.jpg + http://userserve-ak.last.fm/serve/64s/12619257.jpg + http://userserve-ak.last.fm/serve/126/12619257.jpg + + + Appetite for Destruction + 80 + 2174675c-2159-4405-a3af-3a4860106b58 + http://www.last.fm/music/Guns+N%27+Roses/Appetite+for+Destruction + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + + http://userserve-ak.last.fm/serve/34s/8616041.jpg + http://userserve-ak.last.fm/serve/64s/8616041.jpg + http://userserve-ak.last.fm/serve/126/8616041.jpg + + diff --git a/test/data/6260b22cc4a11eb50b30292567eb504b.xml b/test/data/6260b22cc4a11eb50b30292567eb504b.xml new file mode 100644 index 0000000..3cc86cc --- /dev/null +++ b/test/data/6260b22cc4a11eb50b30292567eb504b.xml @@ -0,0 +1,920 @@ + + + + + 755511 + Fairport Convention + + + Fairport Convention + Fairport Convention + + + Union Chapel + + London + United Kingdom + Compton Terrace + N1 2UN + + 51.543724 + -0.102365 + + + http://www.last.fm/venue/8778259 + + Sat, 07 Feb 2009 20:00:00 + + http://userserve-ak.last.fm/serve/34/13164427.jpg + http://userserve-ak.last.fm/serve/64/13164427.jpg + http://userserve-ak.last.fm/serve/126/13164427.jpg + 14 + 0 + lastfm:event=755511 + http://www.last.fm/event/755511 + + + 879065 + Mad Dog McRea Gig + + + Mad Dog McRea + Mad Dog McRea + + + Annabels + + Plymouth + United Kingdom + + + + 50.36861 + -4.13504 + + + http://www.last.fm/venue/8992290 + + Sat, 27 Dec 2008 21:00:00 + Mad Dog McRea play at Annabels, nr Barbican in Plymouth]]> + http://userserve-ak.last.fm/serve/34/81311.jpg + http://userserve-ak.last.fm/serve/64/81311.jpg + http://userserve-ak.last.fm/serve/126/81311.jpg + 1 + 0 + lastfm:event=879065 + http://www.last.fm/event/879065 + + + 842991 + Smash, Bang, X-Mas Party! + + + RTX + Sian Alice Group + The Invisible + Love's Tru Flavour + Last.fm DJ Team + Tack! Tack! Tack! DJs + High Heels Lowlives + RTX + + + Bloomsbury Bowling Lanes + + London + United Kingdom + Bedford Way + WC1H 9EU + + 51.5 + -0.1166667 + + + http://www.last.fm/venue/8780845 + + Wed, 10 Dec 2008 20:00:00 + <style type="text/css">
+div.fiflufi div.leftColWrapper
+{
+
+ position:relative;
+ padding:165px 15px 15px;
+
+}
+
+.festivalink
+{
+ margin-top: 10px;
+ margin-left: 0px;
+ color: #333333;
+ font-size:12px;
+ max-width: 490px;
+}
+
+div.fiflufi div.leftColWrapper .clickthrutop
+{
+ position:absolute;
+ width:100%;
+ top:0; left:0;
+ height:200px;
+
+}
+
+div.fiflufi div.leftColWrapper .clickthrutop a
+{
+ text-indent: -9999px;
+ margin: 15px 15px 0 15px;
+ display:block;
+ height: 130px;
+ background: transparent url(http://cdn.last.fm/customisation/2008_xmassmashbang/event_header.jpg) no-repeat scroll left top;
+}
+
+</style>
+
+
+<div class="clickthrutop"><a href="http://www.last.fm/presents"; >las.tfm presents</a></div>]]>
+ http://userserve-ak.last.fm/serve/34/363010.jpg + http://userserve-ak.last.fm/serve/64/363010.jpg + http://userserve-ak.last.fm/serve/126/363010.jpg + 108 + 0 + lastfm:event=842991 + http://www.last.fm/event/842991 +
+ + 457062 + Glastonbury Festival of Contemporary Performing Arts + + + Massive Attack + Amy Winehouse + The Verve + Goldfrapp + James Blunt + Fatboy Slim + Kings of Leon + Panic! At the Disco + Tenacious D + Groove Armada + KT Tunstall + Editors + Jay-Z + MGMT + The Fratellis + Hot Chip + Manu Chao + Stars + Leonard Cohen + Ben Folds + Kate Nash + The Ting Tings + The Futureheads + UNKLE + Duffy + The Raconteurs + Sinéad O'Connor + The Zutons + Elbow + The Subways + The National + Ciara + Band of Horses + Cut Copy + Dirty Pretty Things + My Morning Jacket + Vampire Weekend + Kosheen + Crowded House + Squarepusher + Pendulum + Simian Mobile Disco + The Kills + CSS + Crystal Castles + The Feeling + The Cribs + Amy Macdonald + The Gossip + Neil Diamond + The Pigeon Detectives + Cansei de Ser Sexy + Mark Ronson + Foals + The Presets + Panic at the Disco + The Wombats + Joan Baez + Jimmy Cliff + Black Kids + Chris Rea + Battles + Caribou + Santogold + The Hold Steady + Laura Marling + Estelle + Dizzee Rascal + Róisín Murphy + Booka Shade + Audio Bullys + Mystery Jets + Los Campesinos! + Does It Offend You, Yeah? + Alphabeat + Spiritualized + British Sea Power + The Hoosiers + Fun Lovin' Criminals + Newton Faulkner + The Music + The Rocket Summer + Be Your Own Pet + Lykke Li + The Proclaimers + The Teenagers + Martina Topley-Bird + Biffy Clyro + Jamie Lidell + Midnight Juggernauts + Buddy Guy + The Enemy + Freestylers + Blood Red Shoes + Scouting for Girls + Way Out West + Jamie T + Will Young + The Script + Vetiver + Banco de Gaia + Roni Size + Sam Sparro + The Holloways + The Whip + The Black Ghosts + Ladyhawke + St. Vincent + The Brian Jonestown Massacre + Hercules and Love Affair + Glasvegas + Solomon Burke + The Courteeners + Friendly Fires + Tunng + Ron Sexsmith + The Paddingtons + Sons and Daughters + The Bluetones + Get Cape. Wear Cape. Fly + Joan Armatrading + Black Mountain + Yeasayer + Eddy Grant + Nizlopi + Edwyn Collins + Noah and the Whale + Ozomatli + The Rascals + X-Press 2 + Alabama 3 + Reverend and The Makers + The Duke Spirit + A Guy Called Gerald + Shakin' Stevens + Lightspeed Champion + Infadels + Holy Fuck + Balkan Beat Box + Operator Please + Rex the Dog + Utah Saints + Make Model + Candi Staton + The Black Dog + Black Lips + Stephen Fretwell + The Slackers + Levellers + Kraak & Smaak + Patrick Watson + Cicada + DJ Format + Metronomy + Emmy the Great + Teddy Thompson + Zion Train + Dengue Fever + Florence and The Machine + Gilbert O'Sullivan + The Handsome Family + Seasick Steve + Frank Turner + Hayseed Dixie + Dreadzone + Hilltop Hoods + Stanton Warriors + Royworld + The Car Is on Fire + Neon Neon + Yoav + System 7 + Shitmat + Tom Baxter + autoKratz + Kid Sister + Seth Lakeman + Soulsavers + Tift Merritt + Soul of Man + Derrick May + Captain + Cadence Weapon + White Denim + The Pietasters + Jack Peñate + Punks Jump Up + Lemon + Erol Alkan + Pivot + Pete Doherty + Appleblim + Jason Forrest + Atomic Hooligan + James Zabiela + N-Dubz + Lee Coombs + Cagedbaby + Rusko + Dr Rubberfunk + Sky Larkin + Benga & Skream + Six by Seven + Slyde + Hazel O'Connor + Kid Harpoon + DJ Die + Bass Clef + Eric Bibb + Caspa + Cerys Matthews + The King Blues + Eugene McGuinness + Blak Twang + Million Dan + Rodney P + Example + Caspa & Rusko + Team Waterpolo + Magnetic Man + Natty + Dynamite MC + Joe Lean and the Jing Jang Jong + The Wurzels + Modern Skirts + Nick Warren + Subfocus + 28 Costumes + Alex Metric + Young Knives + DJ Clipz + These United States + The Count & Sinden + Portico Quartet + Kathy Diamond + Elle S'appelle + The Voodoo Trombone Quartet + Deekline & Wizard + Vandaveer + Mirror System + Rachel Unthank & The Winterset + Ethiopiques + John Tams + Crystal Distortion + Toby Tobias + Samsara + Räfven + Neil Cowley Trio + Babel + Bison + BabyHead + Voodoo Trombone Quartet + Amsterdam + Officer Kicks + Beber & Tamra + Attila the Stockbroker + Magic Wands + Toddla T + Ebony Bones + DJ Dee Kline + Annie Mac + Magistrates + JAPANESE POPSTARS + Dub Colossus + Dawn Kinnard + Queens of Noize + Size 9 + Luke Wright + The Blessing + Eliza Doolittle + Annie Nightingale + Rod Thomas + Dr. Alex Patterson + Sian Evans & Simon Kingman + Revere + Red Letter Day + Stackridge + Sheelanagig + Beggars + 360 + Robert Logan + Phantom Limb + Orphan Boy + Seize The Day + 12 Stone Toddler + Mumford And Sons + The Travelling Band + The Unstoppable Team + Black Cherry + Swimming + The Franks + SMASH N GRAB + Pronghorn + Shantel & Bucovina Club Orkestar + Kool Keith & Kutmasta Kurt + Dead Silence + Mama Shamone + Sicknote + The Mirettes + The Seal Cub Clubbing Club + Mully + Massukos + Mankala + 3 Daft Monkeys + Dr Meaker + The Imagined Village + Dynamo's Rhythm Aces + Blazin' Fiddles + The Daisy Riots + Pete Gooding + BeardyMan + i!AMYOU + Melancholy Moose Society + Alex Paterson + The Golden Silvers + Siyaya + Bad Science + Diane Charlemagne + Los Albertos + Almasala + Beat Torrent + Audioporn + The Lightyears + Dogtanion + Katharine Blake + Grinny Grandad + The Urban Voodoo Machine + The Moody Boyz + Mungos Hi Fi + Bone-Box + MC Xander + The Mentalists + Nomad Jones + Yes Sir Boss + MC Wrec + Wichita + Digidub + the she creatures + Married to the Sea + Ilya K + Dirty Weekend + Dan Donnelly + digs + James Zabelia + Three Daft Monkeys + Evi Vine + soul immigrants + Whoosh + Andrew Motion + Alan Tyler & The Lost Sons of Littlefield + holestar + Myth of Unity + Paprika Balkanicus + Trevor Fung + Johnny Action Finger + roland the bastard + Russ Jones + The Krak + Eddy Temple Morris + Yes Sir Boss!!! + Glitzy Bag Hags + The Undercover Hippy + Nuala & The Alchemy Quartet + Nicky Holloway + Hollis Greene + DJ Tayo + The Black Bloc + Derek May + Hattie Hatstar + Plaster Of Paris + Fundamental Skillz + Bass Cleff + Healer Selecta + Sex Slaves From Hell + Shlomo and the Vocal Orchestra + Young Runaways + The Boat Band + Dub Pistols Soundsystem + Horse Meat Disco + Cock 'n' Bull Kid + 4Fifteen + FOS Brothers + 20/20 Soundsystem + Port Erin + Sense of Sound Choir + Brothers Bab + Alec Townsend + Andy Hickie + Demon Cabbage + East Of Ealing + Dubblehead + Dj Ipek + Miss Behave + Biggles Wartime Band + The Rusticles + Sean Rowley + Juldeh Camara + Red Route + Don Bradmans + Keth + Cuttashine + carrivick sisters + Hobo Jones and the Junkyard Dogs + We Don't Play + Davide Rossi + joe ling and the jing jang jong + Simon Atkinson and the Ben Marcato Trio + Massive Attack + + + Worthy Farm + + Shepton Mallet + United Kingdom + Pilton + BA4 4BY + + 51.159843 + -2.585621 + + + http://www.last.fm/venue/8783201 + + Fri, 27 Jun 2008 22:51:01 + Sun, 29 Jun 2008 22:51:01 + Glastonbury Festival of Contemporary Performing Arts
+
+The next Glastonbury Festival will be held on the weekend of 27th, 28th and 29th June 2008
+
+You can camp from Wednesday 25th June 2008
+
+Glastonbury 2008 Tickets
+
+2008 will see the return of Glastonbury’s award winning registration process and photo tickets. Full details regarding ticket purchase and how to register will be published here, on the official website by the middle of January, so watch this space for details.
+
+Performing at Glastonbury 2008
+
+Agents for artists signed with major labels can contact the Festival in the usual manner. Only digital submissions are accepted for Pyramid, Other and John Peel stages. Please do not send in CDs.
+
+For Acoustic Stage please send CDs to Glastonbury Acoustic Stage, Asgard, 125 Parkway, Regents Park, London, NW1 7PS and for Dance Village - CDs to Glastonbury Dance Village, P O Box 1132, Bristol, BS99 2JZ or EPKs to the usual address.
+
+For other peformers, the Festival is again running the Glastonbury New Talent Competition. Over 50 performers or groups that entered the competition last year played at Glastonbury 2007, with the winner, Liz Green, having a spot on the Pyramid Stage.
+
+Glastonbury Festival Line-Up 2008 can be found here.]]>
+ http://userserve-ak.last.fm/serve/34/5599198.jpg + http://userserve-ak.last.fm/serve/64/5599198.jpg + http://userserve-ak.last.fm/serve/126/5599198.jpg + 848 + 21 + lastfm:event=457062 + http://www.last.fm/event/457062 +
+ + 394026 + Matthew Ogle + + + Matthew Ogle + Matthew Ogle + + + Wenlock Arms + + London + United Kingdom + 26 Wenlock Road + N1 7TA + + 51.4916446565303 + -0.17852783203125 + + + http://www.last.fm/venue/8820178 + + Fri, 26 Oct 2007 19:00:00 + + http://userserve-ak.last.fm/serve/34/394648.jpg + http://userserve-ak.last.fm/serve/64/394648.jpg + http://userserve-ak.last.fm/serve/126/394648.jpg + 21 + 0 + lastfm:event=394026 + http://www.last.fm/event/394026 + + + 318269 + Hot Chip DJs + + + Hot Chip DJs + Everyone to the Anderson + Lost Penguin + Agaskodo Teliverek + Turbowolf + Mica Levi + The Last.fm User Generated DJ Team + Hot Chip DJs + + + The Spitz + + London + United Kingdom + 109 Commercial Street, Old Spitalfields Market + E1 6BG + + 51.519176 + -0.075927 + + + http://www.last.fm/venue/8778213 + + Tue, 11 Sep 2007 18:00:00 + Thanks for coming out!
+
+ Back in the early zeroes, two of the three founders of Last.fm used to put on events at The Spitz, an East London venue thatÕs been showcasing new bands almost as long as Spitalfields has had a market (which is 369 years, fact fans). Then they got distracted by all this web start-up malarkey.
+
+But on the 11th September 2007 they returned Ð with the rest of us, plus five amazing bands, our finest Last.fm deck-wreckers, and special guest DJs Hot Chip.
+
+Altogether, we rocked the place and in the process raised £1,600 on the door alone (not to mention the bar which was practically drunk dry!). Anyway enough typing check out the footage below for yourselves...]]>
+ + + + 299 + 0 + lastfm:event=318269 + http://www.last.fm/event/318269 +
+ + 172767 + The Police + + + The Police + Maxïmo Park + Fiction Plane + The Police + + + Twickenham Stadium + + London + United Kingdom + + + + 51.447881 + -0.355958 + + + http://www.last.fm/venue/8787312 + + Sun, 09 Sep 2007 16:30:00 + + http://userserve-ak.last.fm/serve/34/21470781.jpg + http://userserve-ak.last.fm/serve/64/21470781.jpg + http://userserve-ak.last.fm/serve/126/21470781.jpg + 72 + 0 + lastfm:event=172767 + http://www.last.fm/event/172767 + + + 223495 + Roof Party/BBQ 2007.1 + + + Erik Jälevik + The Singing Microwave + Mokele + Matthew Ogle + Norman Casagrande + Erik Jälevik + + + Last.fm Office + + London + United Kingdom + 1-11 Baches Street + N1 6DL + + 51.527555 + -0.085916 + + + http://www.last.fm/venue/8778225 + + Fri, 27 Apr 2007 20:00:00 + Impromptu roof bbq party.. Steve announced it a couple of hours before, and everyone sprang into action. There was team sausages, team beer, team electric...]]> + http://userserve-ak.last.fm/serve/34/294903.jpg + http://userserve-ak.last.fm/serve/64/294903.jpg + http://userserve-ak.last.fm/serve/126/294903.jpg + 14 + 0 + lastfm:event=223495 + http://www.last.fm/event/223495 + + + 139097 + Matthew Ogle + + + Matthew Ogle + David Hasselhoff + Mokele + Norman Casagrande + Matthew Ogle + + + The Prince Arthur + + London + United Kingdom + 49, Brunswick Place + N1 4DL + + 51.5436532272676 + -0.0802746133284284 + + + http://www.last.fm/venue/8798239 + + Fri, 09 Feb 2007 19:00:00 + Matthew The Ogle has been pushing up the beta very hard and will be ready for party-ing.]]> + http://userserve-ak.last.fm/serve/34/394648.jpg + http://userserve-ak.last.fm/serve/64/394648.jpg + http://userserve-ak.last.fm/serve/126/394648.jpg + 17 + 2 + lastfm:event=139097 + http://www.last.fm/event/139097 + + + 127518 + Mokele + + + Mokele + Matthew Ogle + Norman Casagrande + 'å & ö' / Muz "Muzwald" Titten + Mokele + + + The Prince Arthur + + London + United Kingdom + 49, Brunswick Place + N1 4DL + + 51.5436532272676 + -0.0802746133284284 + + + http://www.last.fm/venue/8798239 + + Thu, 01 Feb 2007 19:00:00 + This is a birthday bash with a special surprise!
+
+N-Dog has been hard at work, spitting out some fresh licks from his upcoming vinyl.
+
+The Ogle is returning, in true style. He left you savouring for more after his Silent Night rendition, and boy, he ain't going to disappoint.
+
+The Hoff, as always, in there on hand should it get wet and wild!]]>
+ http://userserve-ak.last.fm/serve/34/3639628.jpg + http://userserve-ak.last.fm/serve/64/3639628.jpg + http://userserve-ak.last.fm/serve/126/3639628.jpg + 21 + 0 + lastfm:event=127518 + http://www.last.fm/event/127518 +
+ + 81969 + Donald Byrd + + + Donald Byrd + Donald Byrd + + + Jazz Cafe + + London + United Kingdom + 5 Parkway, Camden + NW1 7PG + + 51.513528 + -0.131467 + + + http://www.last.fm/venue/8778292 + + Sun, 07 Jan 2007 19:00:00 + CANCELLED :( (see ticket link)]]> + http://userserve-ak.last.fm/serve/34/347133.jpg + http://userserve-ak.last.fm/serve/64/347133.jpg + http://userserve-ak.last.fm/serve/126/347133.jpg + 2 + 0 + lastfm:event=81969 + http://www.last.fm/event/81969 + + + 17877 + Jurassic 5 + + + Jurassic 5 + Jurassic 5 + + + Carling Academy Brixton + + London + United Kingdom + 211 Stockwell Road + SW9 9SL + + 51.465373 + -0.115206 + + + http://www.last.fm/venue/8777911 + + Sat, 30 Sep 2006 19:30:00 + J5 are awesome live, go see!]]> + http://userserve-ak.last.fm/serve/34/269347.jpg + http://userserve-ak.last.fm/serve/64/269347.jpg + http://userserve-ak.last.fm/serve/126/269347.jpg + 4 + 0 + lastfm:event=17877 + http://www.last.fm/event/17877 + + + 6810 + Zero 7 + + + Zero 7 + Zero 7 + + + Rock City + + Nottingham + United Kingdom + 8 Talbot Street + NG1 5GG + + 52.9561548201744 + -1.15430083692082 + + + http://www.last.fm/venue/8777130 + + Thu, 25 May 2006 19:30:00 + + http://userserve-ak.last.fm/serve/34/246136.jpg + http://userserve-ak.last.fm/serve/64/246136.jpg + http://userserve-ak.last.fm/serve/126/246136.jpg + 3 + 0 + lastfm:event=6810 + http://www.last.fm/event/6810 + +
diff --git a/test/data/74f00545c85769dd6b1ef35f166ae8ec.xml b/test/data/74f00545c85769dd6b1ef35f166ae8ec.xml new file mode 100644 index 0000000..3ca248a --- /dev/null +++ b/test/data/74f00545c85769dd6b1ef35f166ae8ec.xml @@ -0,0 +1,2160 @@ + + + + + PJ Harvey + This Is Love + + 2 + www.last.fm/music/PJ+Harvey/_/This+Is+Love + + + Muse + Track 06 + + 1 + www.last.fm/music/Muse/_/Track+06 + + + The Smashing Pumpkins + Snail + + 1 + www.last.fm/music/The+Smashing+Pumpkins/_/Snail + + + Metallica + The Struggle Within + + 1 + www.last.fm/music/Metallica/_/The+Struggle+Within + + + Deep Purple + Burn + + 1 + www.last.fm/music/Deep+Purple/_/Burn + + + Deacon Blue + Loaded + + 1 + www.last.fm/music/Deacon+Blue/_/Loaded + + + Frank Sinatra + Anything Goes + + 1 + www.last.fm/music/Frank+Sinatra/_/Anything+Goes + + + Stanley Jordan + Flying Home + + 1 + www.last.fm/music/Stanley+Jordan/_/Flying+Home + + + John Lee Hooker & Miles Davis + Blackmail + + 1 + www.last.fm/music/John%2BLee%2BHooker%2B%2526%2BMiles%2BDavis/_/Blackmail + + + David Lee Roth + Ladie's Nite In Buffalo- + + 1 + www.last.fm/music/David+Lee+Roth/_/Ladie%27s+Nite+In+Buffalo- + + + Miles Davis + Love For Sale + + 1 + www.last.fm/music/Miles+Davis/_/Love+For+Sale + + + Depeche Mode + Uselink + + 1 + www.last.fm/music/Depeche+Mode/_/Uselink + + + Enya + Aldebaran + + 1 + www.last.fm/music/Enya/_/Aldebaran + + + Finger Eleven + First Time + + 1 + www.last.fm/music/Finger+Eleven/_/First+Time + + + Dream Theater + Thank You's + + 1 + www.last.fm/music/Dream+Theater/_/Thank+You%27s + + + King's X + Don't Care + + 1 + www.last.fm/music/King%27s+X/_/Don%27t+Care + + + Ike Quebec + Ill Wind + + 1 + www.last.fm/music/Ike+Quebec/_/Ill+Wind + + + Herbie Hancock + Jane's Theme + + 1 + www.last.fm/music/Herbie+Hancock/_/Jane%27s+Theme + + + Prince + I Would Die 4 U + + 1 + www.last.fm/music/Prince/_/I+Would+Die+4+U + + + Aretha Franklin + What a Fool Believes + + 1 + www.last.fm/music/Aretha+Franklin/_/What+a+Fool+Believes + + + Madonna + Runaway Lover + + 1 + www.last.fm/music/Madonna/_/Runaway+Lover + + + R.E.M. + Exhuming McCarthy + + 1 + www.last.fm/music/R.E.M./_/Exhuming+McCarthy + + + Ludwig van Beethoven + Emperor Concerto 2nd Movement + + 1 + www.last.fm/music/Ludwig+van+Beethoven/_/Emperor+Concerto+2nd+Movement + + + Eric Clapton + Before You Accuse Me + + 1 + www.last.fm/music/Eric+Clapton/_/Before+You+Accuse+Me + + + Slamin' Gladys + Bad Attitude + + 1 + www.last.fm/music/Slamin%27+Gladys/_/Bad+Attitude + + + Dream Theater + Scene Two - I. Overture 1928 + + 1 + www.last.fm/music/Dream+Theater/_/Scene+Two+-+I.+Overture+1928 + + + Main + Thirst + + 1 + www.last.fm/music/Main/_/Thirst + + + The Smashing Pumpkins + I Am One + + 1 + www.last.fm/music/The+Smashing+Pumpkins/_/I+Am+One + + + Kings of Leon + Molly's Chambers + + 1 + www.last.fm/music/Kings+of+Leon/_/Molly%27s+Chambers + + + The Wallflowers + One Headlight. + + 1 + www.last.fm/music/The+Wallflowers/_/One+Headlight. + + + Michael Jackson + Thriller + + 1 + www.last.fm/music/Michael+Jackson/_/Thriller + + + Buckcherry + Underneath + + 1 + www.last.fm/music/Buckcherry/_/Underneath + + + Metallica + Whiskey in the Jar + + 1 + www.last.fm/music/Metallica/_/Whiskey+in+the+Jar + + + Frankie Goes to Hollywood + Born to Run + + 1 + www.last.fm/music/Frankie+Goes+to+Hollywood/_/Born+to+Run + + + Diana Krall + Let's Fall in Love + + 1 + www.last.fm/music/Diana+Krall/_/Let%27s+Fall+in+Love + + + Eva Cassidy + I Could Have Told you so + + 1 + www.last.fm/music/Eva+Cassidy/_/I+Could+Have+Told+you+so + + + Weather Report + Birdland + + 1 + www.last.fm/music/Weather+Report/_/Birdland + + + Diana Krall + Body and Soul + + 1 + www.last.fm/music/Diana+Krall/_/Body+and+Soul + + + Joe Satriani + House Full of Bullets + + 1 + www.last.fm/music/Joe+Satriani/_/House+Full+of+Bullets + + + David Hudson and Friends + The Great Divide + + 1 + www.last.fm/music/David+Hudson+and+Friends/_/The+Great+Divide + + + Bruce Springsteen + Born in the U.S.A. + + 1 + www.last.fm/music/Bruce+Springsteen/_/Born+in+the+U.S.A. + + + Guns N' Roses + It's So Easy + + 1 + www.last.fm/music/Guns+N%27+Roses/_/It%27s+So+Easy + + + R.E.M. + Near Wild Heaven + + 1 + www.last.fm/music/R.E.M./_/Near+Wild+Heaven + + + Metallica + ...and Justice for All + + 1 + www.last.fm/music/Metallica/_/...and+Justice+for+All + + + King's X + Flies and Blue Skies + + 1 + www.last.fm/music/King%27s+X/_/Flies+and+Blue+Skies + + + Moby + In My Heart + + 1 + www.last.fm/music/Moby/_/In+My+Heart + + + The Delfonics + Didn't I Blow Your Mind This.. + + 1 + www.last.fm/music/The+Delfonics/_/Didn%27t+I+Blow+Your+Mind+This.. + + + Shakatak + Silver Falls + + 1 + www.last.fm/music/Shakatak/_/Silver+Falls + + + R.E.M. + All The Right Friends + + 1 + www.last.fm/music/R.E.M./_/All+The+Right+Friends + + + Eva Cassidy + Songbird + + 1 + www.last.fm/music/Eva+Cassidy/_/Songbird + + + Silverchair + Untitled + + 1 + www.last.fm/music/Silverchair/_/Untitled + + + The Police + So Lonely + + 1 + www.last.fm/music/The+Police/_/So+Lonely + + + John Patitucci + Venetian Moonlight + + 1 + www.last.fm/music/John+Patitucci/_/Venetian+Moonlight + + + Muse + Track 04 + + 1 + www.last.fm/music/Muse/_/Track+04 + + + Fatboy Slim + Psychopath + + 1 + www.last.fm/music/Fatboy+Slim/_/Psychopath + + + Courtney Pine + Interlude - Karma (with respect to Pharaoh Sanders) + + 1 + www.last.fm/music/Courtney+Pine/_/Interlude+-+Karma+%28with+respect+to+Pharaoh+Sanders%29 + + + Bruce Springsteen + Downbound Train + + 1 + www.last.fm/music/Bruce+Springsteen/_/Downbound+Train + + + Dan Reed Network + Wake Up + + 1 + www.last.fm/music/Dan+Reed+Network/_/Wake+Up + + + The Smashing Pumpkins + Daphne Descends + + 1 + www.last.fm/music/The+Smashing+Pumpkins/_/Daphne+Descends + + + David Axelrod + Fantasy For Ralph + + 1 + www.last.fm/music/David+Axelrod/_/Fantasy+For+Ralph + + + The Jimi Hendrix Experience + Little Wing + + 1 + www.last.fm/music/The+Jimi+Hendrix+Experience/_/Little+Wing + + + Eels + Cancer for the Cure + + 1 + www.last.fm/music/Eels/_/Cancer+for+the+Cure + + + Cutting Crew + Don't Look Back + + 1 + www.last.fm/music/Cutting+Crew/_/Don%27t+Look+Back + + + Saxon + Crusader + + 1 + www.last.fm/music/Saxon/_/Crusader + + + Lenny Kravitz + Sugar + + 1 + www.last.fm/music/Lenny+Kravitz/_/Sugar + + + Nirvana + Rape Me + + 1 + www.last.fm/music/Nirvana/_/Rape+Me + + + Johann Sebastian Bach + Herzlich tut mich verlangen + + 1 + www.last.fm/music/Johann+Sebastian+Bach/_/Herzlich+tut+mich+verlangen + + + The Beatles + I Want to Hold Your Hand + + 1 + www.last.fm/music/The+Beatles/_/I+Want+to+Hold+Your+Hand + + + Luciano Ligabue + Il campo delle lucciole + + 1 + www.last.fm/music/Luciano+Ligabue/_/Il+campo+delle+lucciole + + + Placebo + The Bitter End + + 1 + www.last.fm/music/Placebo/_/The+Bitter+End + + + Sarah Vaughan + Lover Man + + 1 + www.last.fm/music/Sarah+Vaughan/_/Lover+Man + + + Tower of Power + Come Back, Baby + + 1 + www.last.fm/music/Tower+of+Power/_/Come+Back%2C+Baby + + + John Mayer + Covered In Rain + + 1 + www.last.fm/music/John+Mayer/_/Covered+In+Rain + + + Dan Reed Network + Let It Go + + 1 + www.last.fm/music/Dan+Reed+Network/_/Let+It+Go + + + Dave Weckl + 05 - Dave Weckl - Group Therapy + + 1 + www.last.fm/music/Dave+Weckl/_/05+-+Dave+Weckl+-+Group+Therapy + + + The Smashing Pumpkins + Crestfallen + + 1 + www.last.fm/music/The+Smashing+Pumpkins/_/Crestfallen + + + Pat Metheny + Solo From More Travels + + 1 + www.last.fm/music/Pat+Metheny/_/Solo+From+More+Travels + + + Johann Sebastian Bach + 'Jig' Fugue in G + + 1 + www.last.fm/music/Johann+Sebastian+Bach/_/%27Jig%27+Fugue+in+G + + + Crash Test Dummies + God Shuffled His Feet + + 1 + www.last.fm/music/Crash+Test+Dummies/_/God+Shuffled+His+Feet + + + Dream Theater + Misunderstood + + 1 + www.last.fm/music/Dream+Theater/_/Misunderstood + + + Muse + Dead Star + + 1 + www.last.fm/music/Muse/_/Dead+Star + + + Jimi Hendrix + Dolly Dagger + + 1 + www.last.fm/music/Jimi+Hendrix/_/Dolly+Dagger + + + Level 42 + Children Say + + 1 + www.last.fm/music/Level+42/_/Children+Say + + + Marcus Miller + Power + + 1 + www.last.fm/music/Marcus+Miller/_/Power + + + Muse + Agitated + + 1 + www.last.fm/music/Muse/_/Agitated + + + Ronny Jordan + A Brighter Day Remix + + 1 + www.last.fm/music/Ronny+Jordan/_/A+Brighter+Day+Remix + + + Rammstein + Mutter + + 1 + www.last.fm/music/Rammstein/_/Mutter + + + Derek Sherinian + Rhapsody Intro + + 1 + www.last.fm/music/Derek+Sherinian/_/Rhapsody+Intro + + + Stanley Clarke + Louie Louie + + 1 + www.last.fm/music/Stanley+Clarke/_/Louie+Louie + + + Kid Rock + I Wanna Go Back + + 1 + www.last.fm/music/Kid+Rock/_/I+Wanna+Go+Back + + + George Michael + Track 13 + + 1 + www.last.fm/music/George+Michael/_/Track+13 + + + Deep Purple + Wait a While + + 1 + www.last.fm/music/Deep+Purple/_/Wait+a+While + + + Simon & Garfunkel + The Boxer + + 1 + www.last.fm/music/Simon%2B%2526%2BGarfunkel/_/The+Boxer + + + Dave Weckl + Tower '99 + + 1 + www.last.fm/music/Dave+Weckl/_/Tower+%2799 + + + Enya + Return To Innocence + + 1 + www.last.fm/music/Enya/_/Return+To+Innocence + + + Collective Soul + After All + + 1 + www.last.fm/music/Collective+Soul/_/After+All + + + Metallica + Bad Seed + + 1 + www.last.fm/music/Metallica/_/Bad+Seed + + + PJ Harvey + Good Fortune + + 1 + www.last.fm/music/PJ+Harvey/_/Good+Fortune + + + King's X + Shoes + + 1 + www.last.fm/music/King%27s+X/_/Shoes + + + Collective Soul + Needs + + 1 + www.last.fm/music/Collective+Soul/_/Needs + + + R.E.M. + Disturbance at the Heron House + + 1 + www.last.fm/music/R.E.M./_/Disturbance+at+the+Heron+House + + + The Smashing Pumpkins + For Martha + + 1 + www.last.fm/music/The+Smashing+Pumpkins/_/For+Martha + + + Dream Theater + Hollow Years + + 1 + www.last.fm/music/Dream+Theater/_/Hollow+Years + + + Marcus Miller + 05 - Burning Down The House + + 1 + www.last.fm/music/Marcus+Miller/_/05+-+Burning+Down+The+House + + + Jimi Hendrix + Burning of the Midnight Lamp + + 1 + www.last.fm/music/Jimi+Hendrix/_/Burning+of+the+Midnight+Lamp + + + Tracy Chapman + Another Sun + + 1 + www.last.fm/music/Tracy+Chapman/_/Another+Sun + + + PJ Harvey + We Float + + 1 + www.last.fm/music/PJ+Harvey/_/We+Float + + + Erik Satie + Caresse + + 1 + www.last.fm/music/Erik+Satie/_/Caresse + + + Dream Theater + Vacant + + 1 + www.last.fm/music/Dream+Theater/_/Vacant + + + Joe Satriani + Friends + + 1 + www.last.fm/music/Joe+Satriani/_/Friends + + + Suzie Higgie + Thin Eyebrows + + 1 + www.last.fm/music/Suzie+Higgie/_/Thin+Eyebrows + + + Collective Soul + Compliment + + 1 + www.last.fm/music/Collective+Soul/_/Compliment + + + Red Hot Chili Peppers + The Power of Equality + + 1 + www.last.fm/music/Red+Hot+Chili+Peppers/_/The+Power+of+Equality + + + Red Hot Chili Peppers + My Lovely Man + + 1 + www.last.fm/music/Red+Hot+Chili+Peppers/_/My+Lovely+Man + + + Mr. Big + Mama D. + + 1 + www.last.fm/music/Mr.+Big/_/Mama+D. + + + Beth Orton + Stars All Seem to Weep + + 1 + www.last.fm/music/Beth+Orton/_/Stars+All+Seem+to+Weep + + + The Jimi Hendrix Experience + Love or Confusion + + 1 + www.last.fm/music/The+Jimi+Hendrix+Experience/_/Love+or+Confusion + + + John Lee Hooker & Miles Davis + Coming to town + + 1 + www.last.fm/music/John%2BLee%2BHooker%2B%2526%2BMiles%2BDavis/_/Coming+to+town + + + Guns N' Roses + Breakdown + + 1 + www.last.fm/music/Guns+N%27+Roses/_/Breakdown + + + Def Leppard + Day After Day + + 1 + www.last.fm/music/Def+Leppard/_/Day+After+Day + + + Counting Crows + Sullivan Street + + 1 + www.last.fm/music/Counting+Crows/_/Sullivan+Street + + + Pat Metheny + Pat Metheny Group - Live In Vi + + 1 + www.last.fm/music/Pat+Metheny/_/Pat+Metheny+Group+-+Live+In+Vi + + + Rae & Christian + It Ain't Nothing Like + + 1 + www.last.fm/music/Rae%2B%2526%2BChristian/_/It+Ain%27t+Nothing+Like + + + Nine Inch Nails + The Downward Spiral (The Bottom) + + 1 + www.last.fm/music/Nine+Inch+Nails/_/The+Downward+Spiral+%28The+Bottom%29 + + + Pearl Jam + Dissident + + 1 + www.last.fm/music/Pearl+Jam/_/Dissident + + + Johann Sebastian Bach + Sonata no. 1 in G major - Adagio + + 1 + www.last.fm/music/Johann+Sebastian+Bach/_/Sonata+no.+1+in+G+major+-+Adagio + + + Genesis + Abacab + + 1 + www.last.fm/music/Genesis/_/Abacab + + + Counting Crows + Omaha + + 1 + www.last.fm/music/Counting+Crows/_/Omaha + + + Bryan Adams + Summer of '69 + + 1 + www.last.fm/music/Bryan+Adams/_/Summer+of+%2769 + + + Ronnie Scott's Quintet + Little Sunflower + + 1 + www.last.fm/music/Ronnie+Scott%27s+Quintet/_/Little+Sunflower + + + The Who + My Generation + + 1 + www.last.fm/music/The+Who/_/My+Generation + + + Collective Soul + Dandy Life + + 1 + www.last.fm/music/Collective+Soul/_/Dandy+Life + + + The Stone Roses + She Bangs the Drums + + 1 + www.last.fm/music/The+Stone+Roses/_/She+Bangs+the+Drums + + + Jimi Hendrix + The Wind Cries Mary + + 1 + www.last.fm/music/Jimi+Hendrix/_/The+Wind+Cries+Mary + + + AFI + The Leaving Song + + 1 + www.last.fm/music/AFI/_/The+Leaving+Song + + + Miles Davis + Moon Dreams (3) + + 1 + www.last.fm/music/Miles+Davis/_/Moon+Dreams+%283%29 + + + 3 Doors Down + Ticket to Heaven + + 1 + www.last.fm/music/3+Doors+Down/_/Ticket+to+Heaven + + + Eva Cassidy + Gee baby, ain't good to you + + 1 + www.last.fm/music/Eva+Cassidy/_/Gee+baby%2C+ain%27t+good+to+you + + + Alice Cooper + Poison + + 1 + www.last.fm/music/Alice+Cooper/_/Poison + + + Marvin Gaye + Too Busy Thinking About My Baby + + 1 + www.last.fm/music/Marvin+Gaye/_/Too+Busy+Thinking+About+My+Baby + + + Travis + How Many Hearts + + 1 + www.last.fm/music/Travis/_/How+Many+Hearts + + + Johann Sebastian Bach + Orchestral Suite No. 2 in B minor - Badinerie + + 1 + www.last.fm/music/Johann+Sebastian+Bach/_/Orchestral+Suite+No.+2+in+B+minor+-+Badinerie + + + Drowning Pool + Forget + + 1 + www.last.fm/music/Drowning+Pool/_/Forget + + + The Rolling Stones + As Tears Go By + + 1 + www.last.fm/music/The+Rolling+Stones/_/As+Tears+Go+By + + + Led Zeppelin + The Song Remains the Same + + 1 + www.last.fm/music/Led+Zeppelin/_/The+Song+Remains+the+Same + + + Guns N' Roses + Get in the Ring + + 1 + www.last.fm/music/Guns+N%27+Roses/_/Get+in+the+Ring + + + Soundgarden + Black Hole Sun + + 1 + www.last.fm/music/Soundgarden/_/Black+Hole+Sun + + + Larry Carlton + 11 Put It Where You Want It (Extended Version) + + 1 + www.last.fm/music/Larry+Carlton/_/11+Put+It+Where+You+Want+It+%28Extended+Version%29 + + + Led Zeppelin + Celebration Day + + 1 + www.last.fm/music/Led+Zeppelin/_/Celebration+Day + + + Tower of Power + It's Not the Crime + + 1 + www.last.fm/music/Tower+of+Power/_/It%27s+Not+the+Crime + + + Stevie Wonder + Hello Young Lovers + + 1 + www.last.fm/music/Stevie+Wonder/_/Hello+Young+Lovers + + + Jeff Buckley + New Year's Prayer + + 1 + www.last.fm/music/Jeff+Buckley/_/New+Year%27s+Prayer + + + Massive Attack + Small Time Short Away + + 1 + www.last.fm/music/Massive+Attack/_/Small+Time+Short+Away + + + The James Taylor Quartet + The Natural Thing + + 1 + www.last.fm/music/The+James+Taylor+Quartet/_/The+Natural+Thing + + + Mescalito + Voodoo Gold + + 1 + www.last.fm/music/Mescalito/_/Voodoo+Gold + + + Morcheeba + Part Of The Process + + 1 + www.last.fm/music/Morcheeba/_/Part+Of+The+Process + + + Goo Goo Dolls + What a Scene + + 1 + www.last.fm/music/Goo+Goo+Dolls/_/What+a+Scene + + + Johann Sebastian Bach + Brandenburg Concerto No. 2 In F, Allegroassai + + 1 + www.last.fm/music/Johann+Sebastian+Bach/_/Brandenburg+Concerto+No.+2+In+F%2C+Allegroassai + + + Led Zeppelin + Good Times Bad Times + + 1 + www.last.fm/music/Led+Zeppelin/_/Good+Times+Bad+Times + + + Firebird + One Trick Pony + + 1 + www.last.fm/music/Firebird/_/One+Trick+Pony + + + Antonio Vivaldi + Spring - Allegro + + 1 + www.last.fm/music/Antonio+Vivaldi/_/Spring+-+Allegro + + + Dream Theater + John Petrucci Guitar Solo + + 1 + www.last.fm/music/Dream+Theater/_/John+Petrucci+Guitar+Solo + + + Bruce Springsteen + Darlington County + + 1 + www.last.fm/music/Bruce+Springsteen/_/Darlington+County + + + Free + Travelling In Style + + 1 + www.last.fm/music/Free/_/Travelling+In+Style + + + Sheryl Crow + Run, Baby, Run + + 1 + www.last.fm/music/Sheryl+Crow/_/Run%2C+Baby%2C+Run + + + R.E.M. + Ignoreland + + 1 + www.last.fm/music/R.E.M./_/Ignoreland + + + PJ Harvey + Long Snake Moan + + 1 + www.last.fm/music/PJ+Harvey/_/Long+Snake+Moan + + + Ronny Jordan + So What + + 1 + www.last.fm/music/Ronny+Jordan/_/So+What + + + R.E.M. + Radio Free Europe + + 1 + www.last.fm/music/R.E.M./_/Radio+Free+Europe + + + Eva Cassidy + Drown in My Own Tears + + 1 + www.last.fm/music/Eva+Cassidy/_/Drown+in+My+Own+Tears + + + Billie Holiday + Sugar (That Sugar Baby O'Mine (M. Pinkard/S. Mitchell/F. Alexander) 1939 + + 1 + www.last.fm/music/Billie+Holiday/_/Sugar%2B%2528That%2BSugar%2BBaby%2BO%2527Mine%2B%2528M.%2BPinkard%252FS.%2BMitchell%252FF.%2BAlexander%2529%2B1939 + + + Chuck Berry + Johnny B Goode + + 1 + www.last.fm/music/Chuck+Berry/_/Johnny+B+Goode + + + Metallica + Too Late Too Late + + 1 + www.last.fm/music/Metallica/_/Too+Late+Too+Late + + + Sheryl Crow + Can't Cry Anymore + + 1 + www.last.fm/music/Sheryl+Crow/_/Can%27t+Cry+Anymore + + + Joe Satriani + Z.Z.'s Song + + 1 + www.last.fm/music/Joe+Satriani/_/Z.Z.%27s+Song + + + Tom Waits + Pasties and a G-String + + 1 + www.last.fm/music/Tom+Waits/_/Pasties+and+a+G-String + + + Eva Cassidy + The Water Is Wide + + 1 + www.last.fm/music/Eva+Cassidy/_/The+Water+Is+Wide + + + Queen + Love of My Life + + 1 + www.last.fm/music/Queen/_/Love+of+My+Life + + + Norah Jones + Cold Cold Heart + + 1 + www.last.fm/music/Norah+Jones/_/Cold+Cold+Heart + + + King's X + Sunshine Rain + + 1 + www.last.fm/music/King%27s+X/_/Sunshine+Rain + + + Jeff Buckley + Je N' en Connais Pas la Fin + + 1 + www.last.fm/music/Jeff+Buckley/_/Je+N%27+en+Connais+Pas+la+Fin + + + Led Zeppelin + Communication Breakdown + + 1 + www.last.fm/music/Led+Zeppelin/_/Communication+Breakdown + + + Metallica + Enter Sandman + + 1 + www.last.fm/music/Metallica/_/Enter+Sandman + + + Mr. Big + Arrow + + 1 + www.last.fm/music/Mr.+Big/_/Arrow + + + Ludwig van Beethoven + Sonata for Violin and Piano no + + 1 + www.last.fm/music/Ludwig+van+Beethoven/_/Sonata+for+Violin+and+Piano+no + + + Hothouse Flowers + Forever More + + 1 + www.last.fm/music/Hothouse+Flowers/_/Forever+More + + + Fatboy Slim + Discositdown + + 1 + www.last.fm/music/Fatboy+Slim/_/Discositdown + + + Fun Lovin' Criminals + Swashbucklin' In Brooklyn + + 1 + www.last.fm/music/Fun+Lovin%27+Criminals/_/Swashbucklin%27+In+Brooklyn + + + Free + All Right Now + + 1 + www.last.fm/music/Free/_/All+Right+Now + + + Ludwig van Beethoven + Sym. No. 1 in C Major - Adagio + + 1 + www.last.fm/music/Ludwig+van+Beethoven/_/Sym.+No.+1+in+C+Major+-+Adagio + + + Jaco Pastorius + Donna Lee + + 1 + www.last.fm/music/Jaco+Pastorius/_/Donna+Lee + + + Girls Against Boys + Cruise Your New Baby Fly Self + + 1 + www.last.fm/music/Girls+Against+Boys/_/Cruise+Your+New+Baby+Fly+Self + + + Metallica + Master of Puppets + + 1 + www.last.fm/music/Metallica/_/Master+of+Puppets + + + Jamiroquai + Revolution 1993 + + 1 + www.last.fm/music/Jamiroquai/_/Revolution+1993 + + + Dream Theater + A Change Of Seasons IV: The Darkest Of Winters + + 1 + www.last.fm/music/Dream+Theater/_/A+Change+Of+Seasons+IV%3A+The+Darkest+Of+Winters + + + Tom Waits + Invitation to the Blues + + 1 + www.last.fm/music/Tom+Waits/_/Invitation+to+the+Blues + + + Counting Crows + Recovering the Satellites + + 1 + www.last.fm/music/Counting+Crows/_/Recovering+the+Satellites + + + Summer + Berceuse + + 1 + www.last.fm/music/Summer/_/Berceuse + + + Bruce Springsteen + Worlds Apart + + 1 + www.last.fm/music/Bruce+Springsteen/_/Worlds+Apart + + + Counting Crows + Angels of the Silences [Live] + + 1 + www.last.fm/music/Counting+Crows/_/Angels+of+the+Silences+%5BLive%5D + + + Madonna + I'll Remember (Theme From The + + 1 + www.last.fm/music/Madonna/_/I%27ll+Remember+%28Theme+From+The + + + Pat Metheny + Cinema Paradiso (main theme) + + 1 + www.last.fm/music/Pat+Metheny/_/Cinema+Paradiso+%28main+theme%29 + + + Dream Theater + To Live Forever '91 + + 1 + www.last.fm/music/Dream+Theater/_/To+Live+Forever+%2791 + + + Gotan Project + Round About Midnight (Thelonius Monk) + + 1 + www.last.fm/music/Gotan+Project/_/Round+About+Midnight+%28Thelonius+Monk%29 + + + George Michael + Track 12 + + 1 + www.last.fm/music/George+Michael/_/Track+12 + + + Mr. Big + Suffocation + + 1 + www.last.fm/music/Mr.+Big/_/Suffocation + + + Mr. Big + To Be With You + + 1 + www.last.fm/music/Mr.+Big/_/To+Be+With+You + + + R.E.M. + The Sidewinder Sleeps Tonight + + 1 + www.last.fm/music/R.E.M./_/The+Sidewinder+Sleeps+Tonight + + + [unknown] + Strawberry Letter 23 + + 1 + www.last.fm/music/%5Bunknown%5D/_/Strawberry+Letter+23 + + + Johann Sebastian Bach + Orchestral Suite No. 2 in B mi + + 1 + www.last.fm/music/Johann+Sebastian+Bach/_/Orchestral+Suite+No.+2+in+B+mi + + + Miles Davis + Theme From Jack Johnson + + 1 + www.last.fm/music/Miles+Davis/_/Theme+From+Jack+Johnson + + + Ludwig van Beethoven + Fantasia for Piano, Chorus & O + + 1 + www.last.fm/music/Ludwig+van+Beethoven/_/Fantasia%2Bfor%2BPiano%252C%2BChorus%2B%2526%2BO + + + Jeff Buckley + Dream Brother + + 1 + www.last.fm/music/Jeff+Buckley/_/Dream+Brother + + + Kenny Burrell + Day Dream + + 1 + www.last.fm/music/Kenny+Burrell/_/Day+Dream + + + Counting Crows + Catapult + + 1 + www.last.fm/music/Counting+Crows/_/Catapult + + + Pat Metheny + Second Thought + + 1 + www.last.fm/music/Pat+Metheny/_/Second+Thought + + + James Brown + Prisoner of Love + + 1 + www.last.fm/music/James+Brown/_/Prisoner+of+Love + + + John Mayer + My Stupid Mouth + + 1 + www.last.fm/music/John+Mayer/_/My+Stupid+Mouth + + + David Lee Roth + Yankee Rose + + 1 + www.last.fm/music/David+Lee+Roth/_/Yankee+Rose + + + Queen + A Kind Of Magic [Live at Wembley] + + 1 + www.last.fm/music/Queen/_/A+Kind+Of+Magic+%5BLive+at+Wembley%5D + + + Herbie Hancock + Rock Your Soul + + 1 + www.last.fm/music/Herbie+Hancock/_/Rock+Your+Soul + + + Michael Andrews + Did You Know Him? + + 1 + www.last.fm/music/Michael+Andrews/_/Did+You+Know+Him%3F + + + Charles Mingus + Blue Cee + + 1 + www.last.fm/music/Charles+Mingus/_/Blue+Cee + + + Pat Metheny, Dave Holland, Roy Haynes + Change of Heart + + 1 + www.last.fm/music/Pat+Metheny%2C+Dave+Holland%2C+Roy+Haynes/_/Change+of+Heart + + + Foo Fighters + Generator + + 1 + www.last.fm/music/Foo+Fighters/_/Generator + + + Free + Wishing Well + + 1 + www.last.fm/music/Free/_/Wishing+Well + + + Dream Theater + Lines in the Sand + + 1 + www.last.fm/music/Dream+Theater/_/Lines+in+the+Sand + + + Foo Fighters + Next Year + + 1 + www.last.fm/music/Foo+Fighters/_/Next+Year + + + Nickelback + Because of You + + 1 + www.last.fm/music/Nickelback/_/Because+of+You + + + Goo Goo Dolls + Love Dolls + + 1 + www.last.fm/music/Goo+Goo+Dolls/_/Love+Dolls + + + Dizzy Gillespie + Manteca + + 1 + www.last.fm/music/Dizzy+Gillespie/_/Manteca + + + Billie Holiday + (This Is) My Last Affair (H. Johnson) 1937 + + 1 + www.last.fm/music/Billie+Holiday/_/%28This+Is%29+My+Last+Affair+%28H.+Johnson%29+1937 + + + Joni Mitchell + Nothing Can Be Done + + 1 + www.last.fm/music/Joni+Mitchell/_/Nothing+Can+Be+Done + + + Nine Inch Nails + Something I Can Never Have + + 1 + www.last.fm/music/Nine+Inch+Nails/_/Something+I+Can+Never+Have + + + Dido + Mary's in India + + 1 + www.last.fm/music/Dido/_/Mary%27s+in+India + + + Joe Satriani + Midnight + + 1 + www.last.fm/music/Joe+Satriani/_/Midnight + + + Frédéric Chopin + Piano Sonata No. 2 in B Flat Minor, Op. 35 Marche fun bre + + 1 + www.last.fm/music/Fr%C3%A9d%C3%A9ric+Chopin/_/Piano+Sonata+No.+2+in+B+Flat+Minor%2C+Op.+35+Marche+fun+bre + + + Prince + Take Me With You + + 1 + www.last.fm/music/Prince/_/Take+Me+With+You + + + Bob Dylan + Take a Load Off Fanny + + 1 + www.last.fm/music/Bob+Dylan/_/Take+a+Load+Off+Fanny + + + The Classic Chill Out Album + Robin Youngsmith - Adagio + + 1 + www.last.fm/music/The+Classic+Chill+Out+Album/_/Robin+Youngsmith+-+Adagio + + + Ludwig van Beethoven + Symphony No. 4 in B Flat Major, Op. 60 - 3. Allegro Vivace + + 1 + www.last.fm/music/Ludwig+van+Beethoven/_/Symphony+No.+4+in+B+Flat+Major%2C+Op.+60+-+3.+Allegro+Vivace + + + Bruce Springsteen + I'm on Fire + + 1 + www.last.fm/music/Bruce+Springsteen/_/I%27m+on+Fire + + + Mr. Big + Where Do I Fit In? + + 1 + www.last.fm/music/Mr.+Big/_/Where+Do+I+Fit+In%3F + + + Joe Satriani + Crystal Planet + + 1 + www.last.fm/music/Joe+Satriani/_/Crystal+Planet + + + Frank Sinatra + Old Devil Moon + + 1 + www.last.fm/music/Frank+Sinatra/_/Old+Devil+Moon + + + Dizzy Gillespie + Owl + + 1 + www.last.fm/music/Dizzy+Gillespie/_/Owl + + + Beatallica + Everybody's Got a Ticket to Ride Except for Me and My Lightning + + 1 + www.last.fm/music/Beatallica/_/Everybody%27s+Got+a+Ticket+to+Ride+Except+for+Me+and+My+Lightning + + + Beatallica + ...And Justice for All My Loving + + 1 + www.last.fm/music/Beatallica/_/...And+Justice+for+All+My+Loving + + + Jamiroquai + Spend a Lifetime + + 1 + www.last.fm/music/Jamiroquai/_/Spend+a+Lifetime + + + Beth Orton + How Far + + 1 + www.last.fm/music/Beth+Orton/_/How+Far + + + Frédéric Chopin + Bolero, Op. 19 + + 1 + www.last.fm/music/Fr%C3%A9d%C3%A9ric+Chopin/_/Bolero%2C+Op.+19 + + + Charles Mingus + Devil Woman + + 1 + www.last.fm/music/Charles+Mingus/_/Devil+Woman + + + Mr. Bungle + Merry Go Bye Bye + + 1 + www.last.fm/music/Mr.+Bungle/_/Merry+Go+Bye+Bye + + + 2Pac + Young Niggaz + + 1 + www.last.fm/music/2Pac/_/Young+Niggaz + + + Moby + I'm Not Worried At All + + 1 + www.last.fm/music/Moby/_/I%27m+Not+Worried+At+All + + + Prince + Silly Game + + 1 + www.last.fm/music/Prince/_/Silly+Game + + + Eels + Restraining Order Blues + + 1 + www.last.fm/music/Eels/_/Restraining+Order+Blues + + + Pink Floyd + Coming Back to Life + + 1 + www.last.fm/music/Pink+Floyd/_/Coming+Back+to+Life + + + The Smashing Pumpkins + Appels + Oranjes + + 1 + www.last.fm/music/The+Smashing+Pumpkins/_/Appels%2B%252B%2BOranjes + + + Muse + Sunburn + + 1 + www.last.fm/music/Muse/_/Sunburn + + + The Smashing Pumpkins + A Girl Named Sandoz + + 1 + www.last.fm/music/The+Smashing+Pumpkins/_/A+Girl+Named+Sandoz + + + Vangelis + Abraham's Theme + + 1 + www.last.fm/music/Vangelis/_/Abraham%27s+Theme + + + Dream Theater + Scene Eight - The Spirit Carries On + + 1 + www.last.fm/music/Dream+Theater/_/Scene+Eight+-+The+Spirit+Carries+On + + + The Killers + Everything Will Be Alright + + 1 + www.last.fm/music/The+Killers/_/Everything+Will+Be+Alright + + + Miles Davis + Directions + + 1 + www.last.fm/music/Miles+Davis/_/Directions + + + INXS + Original Sin + + 1 + www.last.fm/music/INXS/_/Original+Sin + + + John Mayer + This Will All Make Perfect + + 1 + www.last.fm/music/John+Mayer/_/This+Will+All+Make+Perfect + + + The Pogues + A Pair of Brown Eyes + + 1 + www.last.fm/music/The+Pogues/_/A+Pair+of+Brown+Eyes + + + Jane's Addiction + Obvious + + 1 + www.last.fm/music/Jane%27s+Addiction/_/Obvious + + + The Cranberries + Zombie + + 1 + www.last.fm/music/The+Cranberries/_/Zombie + + + Metallica + Turn the Page + + 1 + www.last.fm/music/Metallica/_/Turn+the+Page + + + System of a Down + Toxicity + + 1 + www.last.fm/music/System+of+a+Down/_/Toxicity + + + Crash Test Dummies + Overachievers + + 1 + www.last.fm/music/Crash+Test+Dummies/_/Overachievers + + + Sum 41 + Summer + + 1 + www.last.fm/music/Sum+41/_/Summer + + + Madness + Grey Day + + 1 + www.last.fm/music/Madness/_/Grey+Day + + + Queen + Save Me + + 1 + www.last.fm/music/Queen/_/Save+Me + + + Hothouse Flowers + Lonely Lane + + 1 + www.last.fm/music/Hothouse+Flowers/_/Lonely+Lane + + + The Doors + Light My Fire + + 1 + www.last.fm/music/The+Doors/_/Light+My+Fire + + + Frank Sinatra + All My Tomorrows + + 1 + www.last.fm/music/Frank+Sinatra/_/All+My+Tomorrows + + + U2 + Wild Honey + + 1 + www.last.fm/music/U2/_/Wild+Honey + + + John Patitucci + Kingston Blues + + 1 + www.last.fm/music/John+Patitucci/_/Kingston+Blues + + + Dream Theater + Stream of Consciousness + + 1 + www.last.fm/music/Dream+Theater/_/Stream+of+Consciousness + + + Marvin Gaye + You're a Wonderful One + + 1 + www.last.fm/music/Marvin+Gaye/_/You%27re+a+Wonderful+One + + + Alice in Chains + Them Bones + + 1 + www.last.fm/music/Alice+in+Chains/_/Them+Bones + + + Def Leppard + Paper Sun + + 1 + www.last.fm/music/Def+Leppard/_/Paper+Sun + + + Linkin Park + With You + + 1 + www.last.fm/music/Linkin+Park/_/With+You + + + Ludwig van Beethoven + Nº 12 in A Flat Major, Op.26- + + 1 + www.last.fm/music/Ludwig+van+Beethoven/_/N%C2%BA+12+in+A+Flat+Major%2C+Op.26- + + + Pearl Jam + Alive + + 1 + www.last.fm/music/Pearl+Jam/_/Alive + + + Jools Holland + What Would I Do Without You + + 1 + www.last.fm/music/Jools+Holland/_/What+Would+I+Do+Without+You + + + Radiohead + Where I End and You Begin + + 1 + www.last.fm/music/Radiohead/_/Where+I+End+and+You+Begin + + + Dave Weckl + Dis' Place This + + 1 + www.last.fm/music/Dave+Weckl/_/Dis%27+Place+This + + + Red Hot Chili Peppers + Midnight + + 1 + www.last.fm/music/Red+Hot+Chili+Peppers/_/Midnight + + + Supreme Beings of Leisure + You're Always the Sun + + 1 + www.last.fm/music/Supreme+Beings+of+Leisure/_/You%27re+Always+the+Sun + + + Iron Maiden + Fear of the Dark + + 1 + www.last.fm/music/Iron+Maiden/_/Fear+of+the+Dark + + + R.E.M. + Man on the Moon + + 1 + www.last.fm/music/R.E.M./_/Man+on+the+Moon + + + Stone Temple Pilots + Creep + + 1 + www.last.fm/music/Stone+Temple+Pilots/_/Creep + + + Transatlantic + Roine's Demo Bits + + 1 + www.last.fm/music/Transatlantic/_/Roine%27s+Demo+Bits + + + Evanescence + Bring Me to Life + + 1 + www.last.fm/music/Evanescence/_/Bring+Me+to+Life + + + Stevie Wonder + You and Me + + 1 + www.last.fm/music/Stevie+Wonder/_/You+and+Me + + + The Jimi Hendrix Experience + Hey Joe + + 1 + www.last.fm/music/The+Jimi+Hendrix+Experience/_/Hey+Joe + + + Charles Mingus + New York Sketchbook + + 1 + www.last.fm/music/Charles+Mingus/_/New+York+Sketchbook + + + Counting Crows + Children in Bloom + + 1 + www.last.fm/music/Counting+Crows/_/Children+in+Bloom + + + The Royal Philharmonic Orchestra + Everybody Hurts + + 1 + www.last.fm/music/The+Royal+Philharmonic+Orchestra/_/Everybody+Hurts + + + Pat Metheny + Ballad Z + + 1 + www.last.fm/music/Pat+Metheny/_/Ballad+Z + + + Silverchair + Pure Massacre + + 1 + www.last.fm/music/Silverchair/_/Pure+Massacre + + + Tom Waits + Johnsburg, Illinois + + 1 + www.last.fm/music/Tom+Waits/_/Johnsburg%2C+Illinois + + + Red Hot Chili Peppers + They're Red Hot + + 1 + www.last.fm/music/Red+Hot+Chili+Peppers/_/They%27re+Red+Hot + + + Beatallica + Sgt. Hetfield's Motorbreath Pub Band + + 1 + www.last.fm/music/Beatallica/_/Sgt.+Hetfield%27s+Motorbreath+Pub+Band + + diff --git a/test/data/8120fe1bb58d1a6e44c521ac226b6d23.xml b/test/data/8120fe1bb58d1a6e44c521ac226b6d23.xml new file mode 100644 index 0000000..b2982a0 --- /dev/null +++ b/test/data/8120fe1bb58d1a6e44c521ac226b6d23.xml @@ -0,0 +1,554 @@ + + + + + Dream Theater + 1642 + + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + 1 + http://userserve-ak.last.fm/serve/34/373098.jpg + http://userserve-ak.last.fm/serve/64/373098.jpg + http://userserve-ak.last.fm/serve/126/373098.jpg + + + Dire Straits + 770 + + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + 1 + http://userserve-ak.last.fm/serve/34/3801700.jpg + http://userserve-ak.last.fm/serve/64/3801700.jpg + http://userserve-ak.last.fm/serve/126/3801700.jpg + + + Miles Davis + 757 + 1 + 561d854a-6a28-4aa7-8c99-323e6ce46c2a + http://www.last.fm/music/Miles+Davis + 1 + http://userserve-ak.last.fm/serve/34/4971157.jpg + http://userserve-ak.last.fm/serve/64/4971157.jpg + http://userserve-ak.last.fm/serve/126/183755.jpg + + + Metallica + 654 + 2 + 65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab + http://www.last.fm/music/Metallica + 1 + http://userserve-ak.last.fm/serve/34/7560709.jpg + http://userserve-ak.last.fm/serve/64/7560709.jpg + http://userserve-ak.last.fm/serve/126/7560709.jpg + + + Guns N' Roses + 634 + 1 + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + 1 + http://userserve-ak.last.fm/serve/34/3223900.jpg + http://userserve-ak.last.fm/serve/64/3223900.jpg + http://userserve-ak.last.fm/serve/126/3223900.jpg + + + Aerosmith + 622 + + 3d2b98e5-556f-4451-a3ff-c50ea18d57cb + http://www.last.fm/music/Aerosmith + 1 + http://userserve-ak.last.fm/serve/34/300793.jpg + http://userserve-ak.last.fm/serve/64/300793.jpg + http://userserve-ak.last.fm/serve/126/300793.jpg + + + Joe Satriani + 570 + + 29762c82-bb92-4acd-b1fb-09cc4da250d2 + http://www.last.fm/music/Joe+Satriani + 1 + http://userserve-ak.last.fm/serve/34/70714.gif + http://userserve-ak.last.fm/serve/64/70714.gif + http://userserve-ak.last.fm/serve/126/70714.gif + + + Rage Against the Machine + 541 + 2 + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + 1 + http://userserve-ak.last.fm/serve/34/282898.jpg + http://userserve-ak.last.fm/serve/64/380903.jpg + http://userserve-ak.last.fm/serve/126/282898.jpg + + + Led Zeppelin + 481 + + 678d88b2-87b0-403b-b63d-5da7465aecc3 + http://www.last.fm/music/Led+Zeppelin + 1 + http://userserve-ak.last.fm/serve/34/193960.jpg + http://userserve-ak.last.fm/serve/64/193960.jpg + http://userserve-ak.last.fm/serve/126/193960.jpg + + + Buckcherry + 478 + 3 + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + 1 + http://userserve-ak.last.fm/serve/34/364623.jpg + http://userserve-ak.last.fm/serve/64/364623.jpg + http://userserve-ak.last.fm/serve/126/364623.jpg + + + Mr. Big + 448 + + bd1180c4-4252-461f-94dc-543906c02522 + http://www.last.fm/music/Mr.+Big + 1 + http://userserve-ak.last.fm/serve/34/320486.jpg + http://userserve-ak.last.fm/serve/64/320486.jpg + http://userserve-ak.last.fm/serve/126/320486.jpg + + + Jimi Hendrix + 438 + 1 + 06fb1c8b-566e-4cb2-985b-b467c90781d4 + http://www.last.fm/music/Jimi+Hendrix + 1 + http://userserve-ak.last.fm/serve/34/388933.jpg + http://userserve-ak.last.fm/serve/64/388933.jpg + http://userserve-ak.last.fm/serve/126/388933.jpg + + + Nine Inch Nails + 418 + + b7ffd2af-418f-4be2-bdd1-22f8b48613da + http://www.last.fm/music/Nine+Inch+Nails + 1 + http://userserve-ak.last.fm/serve/34/10629345.jpg + http://userserve-ak.last.fm/serve/64/10629345.jpg + http://userserve-ak.last.fm/serve/126/10629345.jpg + + + Nina Simone + 404 + + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + 1 + http://userserve-ak.last.fm/serve/34/414771.jpg + http://userserve-ak.last.fm/serve/64/414771.jpg + http://userserve-ak.last.fm/serve/126/414771.jpg + + + Red Hot Chili Peppers + 400 + 2 + 8bfac288-ccc5-448d-9573-c33ea2aa5c30 + http://www.last.fm/music/Red+Hot+Chili+Peppers + 1 + http://userserve-ak.last.fm/serve/34/403312.jpg + http://userserve-ak.last.fm/serve/64/403312.jpg + http://userserve-ak.last.fm/serve/126/403312.jpg + + + Snoop Dogg + 372 + + f90e8b26-9e52-4669-a5c9-e28529c47894 + http://www.last.fm/music/Snoop+Dogg + 1 + http://userserve-ak.last.fm/serve/34/224432.jpg + http://userserve-ak.last.fm/serve/64/224432.jpg + http://userserve-ak.last.fm/serve/126/224432.jpg + + + Counting Crows + 371 + + a0327dc2-dc76-44d5-aec6-47cd2dff1469 + http://www.last.fm/music/Counting+Crows + 1 + http://userserve-ak.last.fm/serve/34/302855.jpg + http://userserve-ak.last.fm/serve/64/302855.jpg + http://userserve-ak.last.fm/serve/126/302855.jpg + + + Def Leppard + 367 + + 7249b899-8db8-43e7-9e6e-22f1e736024e + http://www.last.fm/music/Def+Leppard + 1 + http://userserve-ak.last.fm/serve/34/4800466.jpg + http://userserve-ak.last.fm/serve/64/4800466.jpg + http://userserve-ak.last.fm/serve/126/4800466.jpg + + + Firebird + 349 + + 3dfc0a11-0122-4bc4-8474-b67c88c5a4ea + http://www.last.fm/music/Firebird + 1 + http://userserve-ak.last.fm/serve/34/109444.jpg + http://userserve-ak.last.fm/serve/64/109444.jpg + http://userserve-ak.last.fm/serve/126/109444.jpg + + + Free + 336 + + 6cb5d1ca-03ce-4656-92f5-bf35f53d1582 + http://www.last.fm/music/Free + 1 + http://userserve-ak.last.fm/serve/34/2799321.jpg + http://userserve-ak.last.fm/serve/64/2799321.jpg + http://userserve-ak.last.fm/serve/126/2799321.jpg + + + R.E.M. + 329 + + ea4dfa26-f633-4da6-a52a-f49ea4897b58 + http://www.last.fm/music/R.E.M. + 1 + http://userserve-ak.last.fm/serve/34/296066.jpg + http://userserve-ak.last.fm/serve/64/296066.jpg + http://userserve-ak.last.fm/serve/126/296066.jpg + + + Radiohead + 322 + 1 + a74b1b7f-71a5-4011-9441-d0b5e4122711 + http://www.last.fm/music/Radiohead + 1 + http://userserve-ak.last.fm/serve/34/14055285.jpg + http://userserve-ak.last.fm/serve/64/14055285.jpg + http://userserve-ak.last.fm/serve/126/14055285.jpg + + + Matchbox Twenty + 313 + + 75af9d25-cf32-49c0-9192-60bd8e9784e6 + http://www.last.fm/music/Matchbox+Twenty + 1 + http://userserve-ak.last.fm/serve/34/33022.jpg + http://userserve-ak.last.fm/serve/64/33022.jpg + http://userserve-ak.last.fm/serve/126/33022.jpg + + + Skid Row + 313 + + 6da0515e-a27d-449d-84cc-00713c38a140 + http://www.last.fm/music/Skid+Row + 1 + http://userserve-ak.last.fm/serve/34/2595057.jpg + http://userserve-ak.last.fm/serve/64/2595057.jpg + http://userserve-ak.last.fm/serve/126/2595057.jpg + + + Dan Reed Network + 312 + + 2fe24c3c-5768-484d-a64b-04983e99325a + http://www.last.fm/music/Dan+Reed+Network + 1 + http://userserve-ak.last.fm/serve/34/191748.gif + http://userserve-ak.last.fm/serve/64/191748.gif + http://userserve-ak.last.fm/serve/126/191748.gif + + + The Rolling Stones + 304 + + b071f9fa-14b0-4217-8e97-eb41da73f598 + http://www.last.fm/music/The+Rolling+Stones + 1 + http://userserve-ak.last.fm/serve/34/123525.jpg + http://userserve-ak.last.fm/serve/64/123525.jpg + http://userserve-ak.last.fm/serve/126/123525.jpg + + + Ben Folds Five + 303 + + abe2669a-a612-4bf6-9193-bb4f4b8a9088 + http://www.last.fm/music/Ben+Folds+Five + 1 + http://userserve-ak.last.fm/serve/34/53735.jpg + http://userserve-ak.last.fm/serve/64/53735.jpg + http://userserve-ak.last.fm/serve/126/53735.jpg + + + Spock's Beard + 295 + + 9e57e406-4fb1-40d0-bcd2-2aa1d6390c1d + http://www.last.fm/music/Spock%27s+Beard + 1 + http://userserve-ak.last.fm/serve/34/430197.jpg + http://userserve-ak.last.fm/serve/64/430197.jpg + http://userserve-ak.last.fm/serve/126/430197.jpg + + + Goo Goo Dolls + 282 + + e2c00c56-8365-4160-9f40-a64682917633 + http://www.last.fm/music/Goo+Goo+Dolls + 1 + http://userserve-ak.last.fm/serve/34/126546.jpg + http://userserve-ak.last.fm/serve/64/126546.jpg + http://userserve-ak.last.fm/serve/126/126546.jpg + + + Liquid Tension Experiment + 282 + + bc641be9-ca36-4c61-9394-5230433f6646 + http://www.last.fm/music/Liquid+Tension+Experiment + 1 + http://userserve-ak.last.fm/serve/34/17714685.jpg + http://userserve-ak.last.fm/serve/64/17714685.jpg + http://userserve-ak.last.fm/serve/126/17714685.jpg + + + 3 Doors Down + 271 + + 2386cd66-e923-4e8e-bf14-2eebe2e9b973 + http://www.last.fm/music/3+Doors+Down + 1 + http://userserve-ak.last.fm/serve/34/8575787.jpg + http://userserve-ak.last.fm/serve/64/8575787.jpg + http://userserve-ak.last.fm/serve/126/8575787.jpg + + + Moby + 262 + + 8970d868-0723-483b-a75b-51088913d3d4 + http://www.last.fm/music/Moby + 1 + http://userserve-ak.last.fm/serve/34/130045.jpg + http://userserve-ak.last.fm/serve/64/130045.jpg + http://userserve-ak.last.fm/serve/126/130045.jpg + + + The Kleptones + 245 + + f73b2b70-33d5-4118-923b-05ba8ad7e702 + http://www.last.fm/music/The+Kleptones + 1 + http://userserve-ak.last.fm/serve/34/361272.jpg + http://userserve-ak.last.fm/serve/64/361272.jpg + http://userserve-ak.last.fm/serve/126/361272.jpg + + + Deep Purple + 245 + + 79491354-3d83-40e3-9d8e-7592d58d790a + http://www.last.fm/music/Deep+Purple + 1 + http://userserve-ak.last.fm/serve/34/20352.jpg + http://userserve-ak.last.fm/serve/64/20352.jpg + http://userserve-ak.last.fm/serve/126/20352.jpg + + + King's X + 240 + + c8f5272e-8a94-4807-9099-70181e92fc46 + http://www.last.fm/music/King%27s+X + 1 + http://userserve-ak.last.fm/serve/34/309728.jpg + http://userserve-ak.last.fm/serve/64/309728.jpg + http://userserve-ak.last.fm/serve/126/309728.jpg + + + Stevie Wonder + 238 + + 1ee18fb3-18a6-4c7f-8ba0-bc41cdd0462e + http://www.last.fm/music/Stevie+Wonder + 1 + http://userserve-ak.last.fm/serve/34/125434.png + http://userserve-ak.last.fm/serve/64/125434.png + http://userserve-ak.last.fm/serve/126/125434.png + + + Richard Cheese + 228 + 4 + 9bf79f68-c064-44a1-8c2c-5764f1d7c016 + http://www.last.fm/music/Richard+Cheese + 1 + http://userserve-ak.last.fm/serve/34/469800.jpg + http://userserve-ak.last.fm/serve/64/469800.jpg + http://userserve-ak.last.fm/serve/126/469800.jpg + + + James Taylor + 228 + + 107d0c22-d051-4d98-8206-4e14de02132a + http://www.last.fm/music/James+Taylor + 1 + http://userserve-ak.last.fm/serve/34/218940.jpg + http://userserve-ak.last.fm/serve/64/218940.jpg + http://userserve-ak.last.fm/serve/126/218940.jpg + + + Weather Report + 223 + + 0f9997bd-e079-429e-8ccd-9378c9b0c746 + http://www.last.fm/music/Weather+Report + 1 + http://userserve-ak.last.fm/serve/34/2919856.jpg + http://userserve-ak.last.fm/serve/64/2919856.jpg + http://userserve-ak.last.fm/serve/126/2919856.jpg + + + Fleetwood Mac + 223 + + bd13909f-1c29-4c27-a874-d4aaf27c5b1a + http://www.last.fm/music/Fleetwood+Mac + 1 + http://userserve-ak.last.fm/serve/34/337211.jpg + http://userserve-ak.last.fm/serve/64/337211.jpg + http://userserve-ak.last.fm/serve/126/337211.jpg + + + The Jimi Hendrix Experience + 220 + + 33b3c323-77c2-417c-a5b4-af7e6a111cc9 + http://www.last.fm/music/The+Jimi+Hendrix+Experience + 1 + http://userserve-ak.last.fm/serve/34/18062541.jpg + http://userserve-ak.last.fm/serve/64/18062541.jpg + http://userserve-ak.last.fm/serve/126/18062541.jpg + + + Steve Vai + 214 + + 5e7ccd92-6277-451a-aab9-1efd587c50f3 + http://www.last.fm/music/Steve+Vai + 1 + http://userserve-ak.last.fm/serve/34/187687.gif + http://userserve-ak.last.fm/serve/64/187687.gif + http://userserve-ak.last.fm/serve/126/187687.gif + + + Symphony X + 210 + + b669c53e-5a1f-4adc-80be-755e64e8115e + http://www.last.fm/music/Symphony+X + 1 + http://userserve-ak.last.fm/serve/34/76257.jpg + http://userserve-ak.last.fm/serve/64/76257.jpg + http://userserve-ak.last.fm/serve/126/76257.jpg + + + James Brown + 207 + + 20ff3303-4fe2-4a47-a1b6-291e26aa3438 + http://www.last.fm/music/James+Brown + 1 + http://userserve-ak.last.fm/serve/34/107634.jpg + http://userserve-ak.last.fm/serve/64/107634.jpg + http://userserve-ak.last.fm/serve/126/107634.jpg + + + Jamiroquai + 207 + + f4857fb9-e255-4dc6-bd01-e4ca7cc68544 + http://www.last.fm/music/Jamiroquai + 1 + http://userserve-ak.last.fm/serve/34/198652.jpg + http://userserve-ak.last.fm/serve/64/198652.jpg + http://userserve-ak.last.fm/serve/126/198652.jpg + + + Tom Waits + 205 + + c3aeb863-7b26-4388-94e8-5a240f2be21b + http://www.last.fm/music/Tom+Waits + 1 + http://userserve-ak.last.fm/serve/34/2335574.jpg + http://userserve-ak.last.fm/serve/64/2335574.jpg + http://userserve-ak.last.fm/serve/126/2335574.jpg + + + Slamin' Gladys + 204 + + + http://www.last.fm/music/Slamin%27+Gladys + 1 + + + + + + Santana + 204 + + 9a3bf45c-347d-4630-894d-7cf3e8e0b632 + http://www.last.fm/music/Santana + 1 + http://userserve-ak.last.fm/serve/34/344600.jpg + http://userserve-ak.last.fm/serve/64/344600.jpg + http://userserve-ak.last.fm/serve/126/344600.jpg + + + Fun Lovin' Criminals + 203 + + 1b15e90d-910c-4be4-99cb-463772a6430f + http://www.last.fm/music/Fun+Lovin%27+Criminals + 1 + http://userserve-ak.last.fm/serve/34/139766.jpg + http://userserve-ak.last.fm/serve/64/139766.jpg + http://userserve-ak.last.fm/serve/126/139766.jpg + + + Foo Fighters + 197 + + 67f66c07-6e61-4026-ade5-7e782fad3a5d + http://www.last.fm/music/Foo+Fighters + 1 + http://userserve-ak.last.fm/serve/34/2513072.jpg + http://userserve-ak.last.fm/serve/64/2513072.jpg + http://userserve-ak.last.fm/serve/126/2513072.jpg + + diff --git a/test/data/8968540a7ee48922c91979c892790658.xml b/test/data/8968540a7ee48922c91979c892790658.xml new file mode 100644 index 0000000..8006678 --- /dev/null +++ b/test/data/8968540a7ee48922c91979c892790658.xml @@ -0,0 +1,737 @@ + + + + + + Learning to Live + 51 + + http://www.last.fm/music/Dream+Theater/_/Learning+to+Live + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Three Minute Warning + 46 + + http://www.last.fm/music/Liquid+Tension+Experiment/_/Three+Minute+Warning + 1 + + Liquid Tension Experiment + bc641be9-ca36-4c61-9394-5230433f6646 + http://www.last.fm/music/Liquid+Tension+Experiment + + http://userserve-ak.last.fm/serve/34s/15779373.jpg + http://userserve-ak.last.fm/serve/64s/15779373.jpg + http://userserve-ak.last.fm/serve/126/15779373.jpg + + + Pull Me Under + 45 + + http://www.last.fm/music/Dream+Theater/_/Pull+Me+Under + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Take the Time + 45 + + http://www.last.fm/music/Dream+Theater/_/Take+the+Time + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Under a Glass Moon + 43 + + http://www.last.fm/music/Dream+Theater/_/Under+a+Glass+Moon + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Another Day + 43 + + http://www.last.fm/music/Dream+Theater/_/Another+Day + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + The Pusher + 42 + + http://www.last.fm/music/Steppenwolf/_/The+Pusher + 1 + + Steppenwolf + 12ff8858-bfcb-4812-a8dd-7e9debf0cbee + http://www.last.fm/music/Steppenwolf + + http://userserve-ak.last.fm/serve/34s/8673259.jpg + http://userserve-ak.last.fm/serve/64s/8673259.jpg + http://userserve-ak.last.fm/serve/126/8673259.jpg + + + Sultans of Swing + 38 + + http://www.last.fm/music/Dire+Straits/_/Sultans+of+Swing + 1 + + Dire Straits + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + + http://userserve-ak.last.fm/serve/34s/13188073.jpg + http://userserve-ak.last.fm/serve/64s/13188073.jpg + http://userserve-ak.last.fm/serve/126/13188073.jpg + + + Wait for Sleep + 37 + + http://www.last.fm/music/Dream+Theater/_/Wait+for+Sleep + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Caught in a Web + 33 + + http://www.last.fm/music/Dream+Theater/_/Caught+in+a+Web + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B000002JKA.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.LZZZZZZZ.jpg + + + All Right Now + 30 + + http://www.last.fm/music/Free/_/All+Right+Now + 1 + + Free + 6cb5d1ca-03ce-4656-92f5-bf35f53d1582 + http://www.last.fm/music/Free + + http://userserve-ak.last.fm/serve/34s/8605655.jpg + http://userserve-ak.last.fm/serve/64s/8605655.jpg + http://userserve-ak.last.fm/serve/126/8605655.jpg + + + Surfing With the Alien + 30 + + http://www.last.fm/music/Joe+Satriani/_/Surfing+With+the+Alien + 1 + + Joe Satriani + 29762c82-bb92-4acd-b1fb-09cc4da250d2 + http://www.last.fm/music/Joe+Satriani + + http://userserve-ak.last.fm/serve/34s/18263325.jpg + http://userserve-ak.last.fm/serve/64s/18263325.jpg + http://userserve-ak.last.fm/serve/126/18263325.jpg + + + Cowboys + 29 + + http://www.last.fm/music/Portishead/_/Cowboys + 1 + + Portishead + 8f6bd1e4-fbe1-4f50-aa9b-94c450ec0f11 + http://www.last.fm/music/Portishead + + http://userserve-ak.last.fm/serve/34s/8569347.jpg + http://userserve-ak.last.fm/serve/64s/8569347.jpg + http://userserve-ak.last.fm/serve/126/8569347.jpg + + + Trial of Tears + 29 + + http://www.last.fm/music/Dream+Theater/_/Trial+of+Tears + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/13628909.jpg + http://userserve-ak.last.fm/serve/64s/13628909.jpg + http://userserve-ak.last.fm/serve/126/13628909.jpg + + + Closer + 28 + + http://www.last.fm/music/Nine+Inch+Nails/_/Closer + 1 + + Nine Inch Nails + b7ffd2af-418f-4be2-bdd1-22f8b48613da + http://www.last.fm/music/Nine+Inch+Nails + + http://userserve-ak.last.fm/serve/34s/8652447.jpg + http://userserve-ak.last.fm/serve/64s/8652447.jpg + http://userserve-ak.last.fm/serve/126/8652447.jpg + + + The Glass Prison + 28 + + http://www.last.fm/music/Dream+Theater/_/The+Glass+Prison + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + Superstition + 28 + + http://www.last.fm/music/Stevie+Wonder/_/Superstition + 1 + + Stevie Wonder + 1ee18fb3-18a6-4c7f-8ba0-bc41cdd0462e + http://www.last.fm/music/Stevie+Wonder + + http://userserve-ak.last.fm/serve/34s/8590525.jpg + http://userserve-ak.last.fm/serve/64s/8590525.jpg + http://userserve-ak.last.fm/serve/126/8590525.jpg + + + Hollow Years + 28 + + http://www.last.fm/music/Dream+Theater/_/Hollow+Years + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/13628909.jpg + http://userserve-ak.last.fm/serve/64s/13628909.jpg + http://userserve-ak.last.fm/serve/126/13628909.jpg + + + All Along the Watchtower + 28 + + http://www.last.fm/music/Jimi+Hendrix/_/All+Along+the+Watchtower + 1 + + Jimi Hendrix + 06fb1c8b-566e-4cb2-985b-b467c90781d4 + http://www.last.fm/music/Jimi+Hendrix + + http://userserve-ak.last.fm/serve/34s/12619911.jpg + http://userserve-ak.last.fm/serve/64s/12619911.jpg + http://userserve-ak.last.fm/serve/126/12619911.jpg + + + Surrounded + 28 + + http://www.last.fm/music/Dream+Theater/_/Surrounded + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Lines in the Sand + 27 + + http://www.last.fm/music/Dream+Theater/_/Lines+in+the+Sand + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + + + Know Your Enemy + 27 + + http://www.last.fm/music/Rage+Against+the+Machine/_/Know+Your+Enemy + 1 + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Take the Power Back + 27 + + http://www.last.fm/music/Rage+Against+the+Machine/_/Take+the+Power+Back + 1 + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Settle for Nothing + 26 + + http://www.last.fm/music/Rage+Against+the+Machine/_/Settle+for+Nothing + 1 + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Metropolis - Part I (The Miracle and the Sleeper) + 26 + + http://www.last.fm/music/Dream+Theater/_/Metropolis+-+Part+I+%28The+Miracle+and+the+Sleeper%29 + 0 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + + + Photograph + 26 + + http://www.last.fm/music/Def+Leppard/_/Photograph + 0 + + Def Leppard + 7249b899-8db8-43e7-9e6e-22f1e736024e + http://www.last.fm/music/Def+Leppard + + http://images.amazon.com/images/P/B000001F2V.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000001F2V.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000001F2V.01.MZZZZZZZ.jpg + + + Just Let Me Breathe + 26 + + http://www.last.fm/music/Dream+Theater/_/Just+Let+Me+Breathe + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005QJDG.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00005QJDG.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00005QJDG.01._SCMZZZZZZZ_.jpg + + + I Put a Spell on You + 26 + + http://www.last.fm/music/Nina+Simone/_/I+Put+a+Spell+on+You + 1 + + Nina Simone + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + + http://userserve-ak.last.fm/serve/34s/18081431.jpg + http://userserve-ak.last.fm/serve/64s/18081431.jpg + http://userserve-ak.last.fm/serve/126/18081431.jpg + + + Love Me or Leave Me + 26 + + http://www.last.fm/music/Nina+Simone/_/Love+Me+or+Leave+Me + 1 + + Nina Simone + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + + http://images.amazon.com/images/P/B000055Y5G.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B000055Y5G.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B000055Y5G.01._SCMZZZZZZZ_.jpg + + + Fire and Rain + 25 + + http://www.last.fm/music/James+Taylor/_/Fire+and+Rain + 1 + + James Taylor + 107d0c22-d051-4d98-8206-4e14de02132a + http://www.last.fm/music/James+Taylor + + http://userserve-ak.last.fm/serve/34s/12619275.jpg + http://userserve-ak.last.fm/serve/64s/12619275.jpg + http://userserve-ak.last.fm/serve/126/12619275.jpg + + + The Great Debate + 25 + + http://www.last.fm/music/Dream+Theater/_/The+Great+Debate + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + Lifting Shadows Off a Dream + 25 + + http://www.last.fm/music/Dream+Theater/_/Lifting+Shadows+Off+a+Dream + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B000002JKA.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.LZZZZZZZ.jpg + + + Peruvian Skies + 25 + + http://www.last.fm/music/Dream+Theater/_/Peruvian+Skies + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/13628909.jpg + http://userserve-ak.last.fm/serve/64s/13628909.jpg + http://userserve-ak.last.fm/serve/126/13628909.jpg + + + Welcome to the Jungle + 24 + + http://www.last.fm/music/Guns+N%27+Roses/_/Welcome+to+the+Jungle + 1 + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + + http://userserve-ak.last.fm/serve/34s/8616041.jpg + http://userserve-ak.last.fm/serve/64s/8616041.jpg + http://userserve-ak.last.fm/serve/126/8616041.jpg + + + El Paso + 24 + + http://www.last.fm/music/Marty+Robbins/_/El+Paso + 1 + + Marty Robbins + 2c2add7c-9a99-4812-a20e-870d331f01fd + http://www.last.fm/music/Marty+Robbins + + http://images.amazon.com/images/P/B0000025W4.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0000025W4.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0000025W4.01.MZZZZZZZ.jpg + + + Misunderstood + 24 + + http://www.last.fm/music/Dream+Theater/_/Misunderstood + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + Quicksand Jesus + 23 + + http://www.last.fm/music/Skid+Row/_/Quicksand+Jesus + 1 + + Skid Row + 6da0515e-a27d-449d-84cc-00713c38a140 + http://www.last.fm/music/Skid+Row + + http://images.amazon.com/images/P/B000002IQW.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002IQW.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002IQW.01.LZZZZZZZ.jpg + + + Whiskey in the Morning + 23 + + http://www.last.fm/music/Buckcherry/_/Whiskey+in+the+Morning + 0 + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + + + Township Rebellion + 23 + + http://www.last.fm/music/Rage+Against+the+Machine/_/Township+Rebellion + 1 + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Steamroller + 23 + + http://www.last.fm/music/James+Taylor/_/Steamroller + 1 + + James Taylor + 107d0c22-d051-4d98-8206-4e14de02132a + http://www.last.fm/music/James+Taylor + + http://images.amazon.com/images/P/B0009YXDD8.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0009YXDD8.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0009YXDD8.01.MZZZZZZZ.jpg + + + Peter Gunn Theme + 23 + + http://www.last.fm/music/The+Blues+Brothers/_/Peter+Gunn+Theme + 1 + + The Blues Brothers + 7252abc2-dfc8-4aa6-889f-2d168b265403 + http://www.last.fm/music/The+Blues+Brothers + + http://userserve-ak.last.fm/serve/34s/8591289.jpg + http://userserve-ak.last.fm/serve/64s/8591289.jpg + http://userserve-ak.last.fm/serve/126/8591289.jpg + + + Lie + 23 + + http://www.last.fm/music/Dream+Theater/_/Lie + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B000002JKA.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.LZZZZZZZ.jpg + + + Porno Star + 23 + + http://www.last.fm/music/Buckcherry/_/Porno+Star + 0 + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + + + Blind Faith + 23 + + http://www.last.fm/music/Dream+Theater/_/Blind+Faith + 1 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + It's So Easy + 22 + + http://www.last.fm/music/Guns+N%27+Roses/_/It%27s+So+Easy + 1 + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + + + + Nightrain + 22 + + http://www.last.fm/music/Guns+N%27+Roses/_/Nightrain + 1 + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + + http://userserve-ak.last.fm/serve/34s/8616041.jpg + http://userserve-ak.last.fm/serve/64s/8616041.jpg + http://userserve-ak.last.fm/serve/126/8616041.jpg + + + Slamin' + 22 + + http://www.last.fm/music/Buckcherry/_/Slamin%27 + 1 + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + http://images.amazon.com/images/P/B00005ABN7.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005ABN7.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005ABN7.01.MZZZZZZZ.jpg + + + Frontside + 22 + + http://www.last.fm/music/Buckcherry/_/Frontside + 0 + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + + + Don't Smoke in Bed + 22 + + http://www.last.fm/music/Nina+Simone/_/Don%27t+Smoke+in+Bed + 1 + + Nina Simone + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + + http://userserve-ak.last.fm/serve/34s/10081017.jpg + http://userserve-ak.last.fm/serve/64s/10081017.jpg + http://userserve-ak.last.fm/serve/126/10081017.jpg + + + Crossroads + 22 + + http://www.last.fm/music/Cream/_/Crossroads + 0 + + Cream + 04cd0cfd-bfd1-4c36-bc38-95c35e2c045f + http://www.last.fm/music/Cream + + + diff --git a/test/data/9824eddd21c95cc9bc45e7efd5ee0b4d.xml b/test/data/9824eddd21c95cc9bc45e7efd5ee0b4d.xml new file mode 100644 index 0000000..75ab201 --- /dev/null +++ b/test/data/9824eddd21c95cc9bc45e7efd5ee0b4d.xml @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/data/985ca5ed61109ad431bda7e8f7c483a5.xml b/test/data/985ca5ed61109ad431bda7e8f7c483a5.xml new file mode 100644 index 0000000..cb48e8b --- /dev/null +++ b/test/data/985ca5ed61109ad431bda7e8f7c483a5.xml @@ -0,0 +1,484 @@ + + + + + Lucas-Lentini + http://www.last.fm/user/Lucas-Lentini + http://userserve-ak.last.fm/serve/34/3490602.jpg + http://userserve-ak.last.fm/serve/64/3490602.jpg + http://userserve-ak.last.fm/serve/126/3490602.jpg + 0.00082679983461276 + + + rockerD82 + http://www.last.fm/user/rockerD82 + http://userserve-ak.last.fm/serve/34/4091361.jpg + http://userserve-ak.last.fm/serve/64/4091361.jpg + http://userserve-ak.last.fm/serve/126/4091361.jpg + 0.00081684079486877 + + + count-bassy + http://www.last.fm/user/count-bassy + http://userserve-ak.last.fm/serve/34/662027.gif + http://userserve-ak.last.fm/serve/64/662027.gif + http://userserve-ak.last.fm/serve/126/662027.gif + 0.0024498179554939 + + + greg_a + http://www.last.fm/user/greg_a + http://userserve-ak.last.fm/serve/34/798370.jpg + http://userserve-ak.last.fm/serve/64/798370.jpg + http://userserve-ak.last.fm/serve/126/798370.jpg + 0.0021055492106825 + + + STLJA + http://www.last.fm/user/STLJA + http://userserve-ak.last.fm/serve/34/18380435.jpg + http://userserve-ak.last.fm/serve/64/18380435.jpg + http://userserve-ak.last.fm/serve/126/18380435.jpg + 0.00093835708685219 + + + clauaud + http://www.last.fm/user/clauaud + http://userserve-ak.last.fm/serve/34/22355877.jpg + http://userserve-ak.last.fm/serve/64/22355877.jpg + http://userserve-ak.last.fm/serve/126/22355877.jpg + 0.00083252211334184 + + + Biaxident_ + http://www.last.fm/user/Biaxident_ + http://userserve-ak.last.fm/serve/34/3712862.jpg + http://userserve-ak.last.fm/serve/64/3712862.jpg + http://userserve-ak.last.fm/serve/126/3712862.jpg + 0.00087362749036402 + + + frood73 + http://www.last.fm/user/frood73 + http://userserve-ak.last.fm/serve/34/1279453.jpg + http://userserve-ak.last.fm/serve/64/1279453.jpg + http://userserve-ak.last.fm/serve/126/1279453.jpg + 0.00085416226647794 + + + fillito + http://www.last.fm/user/fillito + http://userserve-ak.last.fm/serve/34/8755757.png + http://userserve-ak.last.fm/serve/64/8755757.png + http://userserve-ak.last.fm/serve/126/8755757.png + 0.00058790174080059 + + + CHBeat + http://www.last.fm/user/CHBeat + http://userserve-ak.last.fm/serve/34/4220283.jpg + http://userserve-ak.last.fm/serve/64/4220283.jpg + http://userserve-ak.last.fm/serve/126/4220283.jpg + 0.00050574075430632 + + + -ada- + http://www.last.fm/user/-ada- + http://userserve-ak.last.fm/serve/34/3817349.jpg + http://userserve-ak.last.fm/serve/64/3817349.jpg + http://userserve-ak.last.fm/serve/126/3817349.jpg + 0.0004797427682206 + + + vtoman + http://www.last.fm/user/vtoman + + + + 0.0004468530532904 + + + DGRules + http://www.last.fm/user/DGRules + http://userserve-ak.last.fm/serve/34/8299023.jpg + http://userserve-ak.last.fm/serve/64/8299023.jpg + http://userserve-ak.last.fm/serve/126/8299023.jpg + 0.00041392719140276 + + + RafaelRoschel + http://www.last.fm/user/RafaelRoschel + http://userserve-ak.last.fm/serve/34/2779669.jpg + http://userserve-ak.last.fm/serve/64/2779669.jpg + http://userserve-ak.last.fm/serve/126/2779669.jpg + 0.00038098997902125 + + + CodePoet5150 + http://www.last.fm/user/CodePoet5150 + http://userserve-ak.last.fm/serve/34/708315.jpg + http://userserve-ak.last.fm/serve/64/708315.jpg + http://userserve-ak.last.fm/serve/126/708315.jpg + 0.00037187727866694 + + + ArekK74 + http://www.last.fm/user/ArekK74 + + + + 0.0003679063229356 + + + gr8gonzo + http://www.last.fm/user/gr8gonzo + http://userserve-ak.last.fm/serve/34/1554364.jpg + http://userserve-ak.last.fm/serve/64/1554364.jpg + http://userserve-ak.last.fm/serve/126/1554364.jpg + 0.00035882837255485 + + + nietzscheman + http://www.last.fm/user/nietzscheman + http://userserve-ak.last.fm/serve/34/7776917.jpg + http://userserve-ak.last.fm/serve/64/7776917.jpg + http://userserve-ak.last.fm/serve/126/7776917.jpg + 0.0003552679263521 + + + nimdas01 + http://www.last.fm/user/nimdas01 + + + + 0.00032501632813364 + + + yamlzaml + http://www.last.fm/user/yamlzaml + + + + 0.00032364649814554 + + + thewakeoftheman + http://www.last.fm/user/thewakeoftheman + + + + 0.00032352862763219 + + + tomalo + http://www.last.fm/user/tomalo + http://userserve-ak.last.fm/serve/34/4512529.jpg + http://userserve-ak.last.fm/serve/64/4512529.jpg + http://userserve-ak.last.fm/serve/126/4512529.jpg + 0.00031631108140573 + + + anemonepink + http://www.last.fm/user/anemonepink + http://userserve-ak.last.fm/serve/34/9154645.jpg + http://userserve-ak.last.fm/serve/64/9154645.jpg + http://userserve-ak.last.fm/serve/126/9154645.jpg + 0.00031550251878798 + + + uforrr + http://www.last.fm/user/uforrr + + + + 0.00028308926266618 + + + CITRIL + http://www.last.fm/user/CITRIL + http://userserve-ak.last.fm/serve/34/5069933.jpg + http://userserve-ak.last.fm/serve/64/5069933.jpg + http://userserve-ak.last.fm/serve/126/5069933.jpg + 0.00028306856984273 + + + kuditherion + http://www.last.fm/user/kuditherion + + + + 0.00026139742112719 + + + mpolla + http://www.last.fm/user/mpolla + http://userserve-ak.last.fm/serve/34/887955.jpg + http://userserve-ak.last.fm/serve/64/887955.jpg + http://userserve-ak.last.fm/serve/126/887955.jpg + 0.00026108475867659 + + + stephanieblum + http://www.last.fm/user/stephanieblum + http://userserve-ak.last.fm/serve/34/24678185.jpg + http://userserve-ak.last.fm/serve/64/24678185.jpg + http://userserve-ak.last.fm/serve/126/24678185.jpg + 0.00026078929658979 + + + rw1983 + http://www.last.fm/user/rw1983 + http://userserve-ak.last.fm/serve/34/5192576.jpg + http://userserve-ak.last.fm/serve/64/5192576.jpg + http://userserve-ak.last.fm/serve/126/5192576.jpg + 0.00025056168669835 + + + BB_Lamour + http://www.last.fm/user/BB_Lamour + http://userserve-ak.last.fm/serve/34/4188345.jpg + http://userserve-ak.last.fm/serve/64/4188345.jpg + http://userserve-ak.last.fm/serve/126/4188345.jpg + 0.0002490115002729 + + + Kameleon81 + http://www.last.fm/user/Kameleon81 + + + + 0.00024840116384439 + + + BlubberBelly + http://www.last.fm/user/BlubberBelly + + + + 0.00023381348000839 + + + MaD_CLuSTeR + http://www.last.fm/user/MaD_CLuSTeR + http://userserve-ak.last.fm/serve/34/988683.jpg + http://userserve-ak.last.fm/serve/64/988683.jpg + http://userserve-ak.last.fm/serve/126/988683.jpg + 0.00023235363187268 + + + Spyro329 + http://www.last.fm/user/Spyro329 + http://userserve-ak.last.fm/serve/34/1748969.jpg + http://userserve-ak.last.fm/serve/64/1748969.jpg + http://userserve-ak.last.fm/serve/126/1748969.jpg + 0.00023005818366073 + + + MatthewKononov + http://www.last.fm/user/MatthewKononov + http://userserve-ak.last.fm/serve/34/2824691.jpg + http://userserve-ak.last.fm/serve/64/2824691.jpg + http://userserve-ak.last.fm/serve/126/2824691.jpg + 0.00021153468696866 + + + FREQUENCEJP + http://www.last.fm/user/FREQUENCEJP + http://userserve-ak.last.fm/serve/34/17898239.jpg + http://userserve-ak.last.fm/serve/64/17898239.jpg + http://userserve-ak.last.fm/serve/126/17898239.jpg + 0.00021089932124596 + + + claesgilbert + http://www.last.fm/user/claesgilbert + + + + 0.00018662810907699 + + + nakedlefty + http://www.last.fm/user/nakedlefty + + + + 0.00018320076924283 + + + Maxe86 + http://www.last.fm/user/Maxe86 + http://userserve-ak.last.fm/serve/34/10406347.jpg + http://userserve-ak.last.fm/serve/64/10406347.jpg + http://userserve-ak.last.fm/serve/126/10406347.jpg + 0.00017870338342618 + + + ViggenZ + http://www.last.fm/user/ViggenZ + http://userserve-ak.last.fm/serve/34/11873867.png + http://userserve-ak.last.fm/serve/64/11873867.png + http://userserve-ak.last.fm/serve/126/11873867.png + 0.00016321717703249 + + + GenBully + http://www.last.fm/user/GenBully + http://userserve-ak.last.fm/serve/34/1152585.jpg + http://userserve-ak.last.fm/serve/64/1152585.jpg + http://userserve-ak.last.fm/serve/126/1152585.jpg + 0.00015994488785509 + + + saxm + http://www.last.fm/user/saxm + + + + 0.00015649547276553 + + + Borbu + http://www.last.fm/user/Borbu + + + + 0.00015243219968397 + + + polmag + http://www.last.fm/user/polmag + + + + 0.00015046366024762 + + + blogliedrico + http://www.last.fm/user/blogliedrico + http://userserve-ak.last.fm/serve/34/1531063.jpg + http://userserve-ak.last.fm/serve/64/1531063.jpg + http://userserve-ak.last.fm/serve/126/1531063.jpg + 0.00014791206922382 + + + Papipede + http://www.last.fm/user/Papipede + http://userserve-ak.last.fm/serve/34/10900953.jpg + http://userserve-ak.last.fm/serve/64/10900953.jpg + http://userserve-ak.last.fm/serve/126/10900953.jpg + 0.00014703735359944 + + + alexkid1986 + http://www.last.fm/user/alexkid1986 + http://userserve-ak.last.fm/serve/34/19642623.jpg + http://userserve-ak.last.fm/serve/64/19642623.jpg + http://userserve-ak.last.fm/serve/126/19642623.jpg + 0.00014607490447816 + + + waciak1974 + http://www.last.fm/user/waciak1974 + http://userserve-ak.last.fm/serve/34/4185638.jpg + http://userserve-ak.last.fm/serve/64/4185638.jpg + http://userserve-ak.last.fm/serve/126/4185638.jpg + 0.0001440364139853 + + + danielgd + http://www.last.fm/user/danielgd + + + + 0.000141596145113 + + + gkirilov + http://www.last.fm/user/gkirilov + http://userserve-ak.last.fm/serve/34/21743749.jpg + http://userserve-ak.last.fm/serve/64/21743749.jpg + http://userserve-ak.last.fm/serve/126/21743749.jpg + 0.00014150721835904 + + + geamarvis + http://www.last.fm/user/geamarvis + http://userserve-ak.last.fm/serve/34/3059378.jpg + http://userserve-ak.last.fm/serve/64/3059378.jpg + http://userserve-ak.last.fm/serve/126/3059378.jpg + 0.00012616273306776 + + + mkowalski + http://www.last.fm/user/mkowalski + + + + 0.00012488648644648 + + + mig2 + http://www.last.fm/user/mig2 + http://userserve-ak.last.fm/serve/34/3897329.png + http://userserve-ak.last.fm/serve/64/3897329.png + http://userserve-ak.last.fm/serve/126/3897329.png + 0.00012446731852833 + + + Prikkie + http://www.last.fm/user/Prikkie + http://userserve-ak.last.fm/serve/34/1072981.jpg + http://userserve-ak.last.fm/serve/64/1072981.jpg + http://userserve-ak.last.fm/serve/126/1072981.jpg + 0.00012381533451844 + + + Gawd1 + http://www.last.fm/user/Gawd1 + http://userserve-ak.last.fm/serve/34/1858543.jpg + http://userserve-ak.last.fm/serve/64/1858543.jpg + http://userserve-ak.last.fm/serve/126/1858543.jpg + 0.00012269693252165 + + + mipel + http://www.last.fm/user/mipel + + + + 0.00012065666669514 + + + markblaze + http://www.last.fm/user/markblaze + http://userserve-ak.last.fm/serve/34/3786253.jpg + http://userserve-ak.last.fm/serve/64/3786253.jpg + http://userserve-ak.last.fm/serve/126/3786253.jpg + 0.00012027878256049 + + + thenchant + http://www.last.fm/user/thenchant + + + + 0.00011938366515096 + + + KoRrNiSh + http://www.last.fm/user/KoRrNiSh + http://userserve-ak.last.fm/serve/34/10977775.jpg + http://userserve-ak.last.fm/serve/64/10977775.jpg + http://userserve-ak.last.fm/serve/126/10977775.jpg + 0.00011808059934992 + + + JMX9030 + http://www.last.fm/user/JMX9030 + + + + 0.00011789623385994 + + diff --git a/test/data/b0955e0d47c3274efb444d402b8fb811.xml b/test/data/b0955e0d47c3274efb444d402b8fb811.xml new file mode 100644 index 0000000..98a299d --- /dev/null +++ b/test/data/b0955e0d47c3274efb444d402b8fb811.xml @@ -0,0 +1,32 @@ + + + + + RJ + Richard Jones + http://userserve-ak.last.fm/serve/34/8270359.jpg + http://userserve-ak.last.fm/serve/64/8270359.jpg + http://userserve-ak.last.fm/serve/126/8270359.jpg + http://www.last.fm/user/RJ + + dirtyblonde + Laura + http://userserve-ak.last.fm/serve/34/1092964.jpg + http://userserve-ak.last.fm/serve/64/1092964.jpg + http://userserve-ak.last.fm/serve/126/1092964.jpg + http://www.last.fm/user/dirtyblonde + + count-bassy + Martin Szomszor + http://userserve-ak.last.fm/serve/34/662027.gif + http://userserve-ak.last.fm/serve/64/662027.gif + http://userserve-ak.last.fm/serve/126/662027.gif + http://www.last.fm/user/count-bassy + + sophiesocks + + http://userserve-ak.last.fm/serve/34/680294.jpg + http://userserve-ak.last.fm/serve/64/680294.jpg + http://userserve-ak.last.fm/serve/126/680294.jpg + http://www.last.fm/user/sophiesocks + diff --git a/test/data/b7985f3d8993bbb38fcb05cf45d22ae8.xml b/test/data/b7985f3d8993bbb38fcb05cf45d22ae8.xml new file mode 100644 index 0000000..f963ee7 --- /dev/null +++ b/test/data/b7985f3d8993bbb38fcb05cf45d22ae8.xml @@ -0,0 +1,505 @@ + + + + + + Dream Theater + 1642 + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + 1 + http://userserve-ak.last.fm/serve/34/373098.jpg + http://userserve-ak.last.fm/serve/64/373098.jpg + http://userserve-ak.last.fm/serve/126/373098.jpg + + + Dire Straits + 770 + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + 1 + http://userserve-ak.last.fm/serve/34/3801700.jpg + http://userserve-ak.last.fm/serve/64/3801700.jpg + http://userserve-ak.last.fm/serve/126/3801700.jpg + + + Miles Davis + 757 + 561d854a-6a28-4aa7-8c99-323e6ce46c2a + http://www.last.fm/music/Miles+Davis + 1 + http://userserve-ak.last.fm/serve/34/4971157.jpg + http://userserve-ak.last.fm/serve/64/4971157.jpg + http://userserve-ak.last.fm/serve/126/183755.jpg + + + Metallica + 654 + 65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab + http://www.last.fm/music/Metallica + 1 + http://userserve-ak.last.fm/serve/34/7560709.jpg + http://userserve-ak.last.fm/serve/64/7560709.jpg + http://userserve-ak.last.fm/serve/126/7560709.jpg + + + Guns N' Roses + 634 + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + 1 + http://userserve-ak.last.fm/serve/34/3223900.jpg + http://userserve-ak.last.fm/serve/64/3223900.jpg + http://userserve-ak.last.fm/serve/126/3223900.jpg + + + Aerosmith + 622 + 3d2b98e5-556f-4451-a3ff-c50ea18d57cb + http://www.last.fm/music/Aerosmith + 1 + http://userserve-ak.last.fm/serve/34/300793.jpg + http://userserve-ak.last.fm/serve/64/300793.jpg + http://userserve-ak.last.fm/serve/126/300793.jpg + + + Joe Satriani + 570 + 29762c82-bb92-4acd-b1fb-09cc4da250d2 + http://www.last.fm/music/Joe+Satriani + 1 + http://userserve-ak.last.fm/serve/34/70714.gif + http://userserve-ak.last.fm/serve/64/70714.gif + http://userserve-ak.last.fm/serve/126/70714.gif + + + Rage Against the Machine + 541 + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + 1 + http://userserve-ak.last.fm/serve/34/282898.jpg + http://userserve-ak.last.fm/serve/64/380903.jpg + http://userserve-ak.last.fm/serve/126/282898.jpg + + + Led Zeppelin + 481 + 678d88b2-87b0-403b-b63d-5da7465aecc3 + http://www.last.fm/music/Led+Zeppelin + 1 + http://userserve-ak.last.fm/serve/34/193960.jpg + http://userserve-ak.last.fm/serve/64/193960.jpg + http://userserve-ak.last.fm/serve/126/193960.jpg + + + Buckcherry + 478 + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + 1 + http://userserve-ak.last.fm/serve/34/364623.jpg + http://userserve-ak.last.fm/serve/64/364623.jpg + http://userserve-ak.last.fm/serve/126/364623.jpg + + + Mr. Big + 448 + bd1180c4-4252-461f-94dc-543906c02522 + http://www.last.fm/music/Mr.+Big + 1 + http://userserve-ak.last.fm/serve/34/320486.jpg + http://userserve-ak.last.fm/serve/64/320486.jpg + http://userserve-ak.last.fm/serve/126/320486.jpg + + + Jimi Hendrix + 438 + 06fb1c8b-566e-4cb2-985b-b467c90781d4 + http://www.last.fm/music/Jimi+Hendrix + 1 + http://userserve-ak.last.fm/serve/34/388933.jpg + http://userserve-ak.last.fm/serve/64/388933.jpg + http://userserve-ak.last.fm/serve/126/388933.jpg + + + Nine Inch Nails + 418 + b7ffd2af-418f-4be2-bdd1-22f8b48613da + http://www.last.fm/music/Nine+Inch+Nails + 1 + http://userserve-ak.last.fm/serve/34/10629345.jpg + http://userserve-ak.last.fm/serve/64/10629345.jpg + http://userserve-ak.last.fm/serve/126/10629345.jpg + + + Nina Simone + 404 + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + 1 + http://userserve-ak.last.fm/serve/34/414771.jpg + http://userserve-ak.last.fm/serve/64/414771.jpg + http://userserve-ak.last.fm/serve/126/414771.jpg + + + Red Hot Chili Peppers + 399 + 8bfac288-ccc5-448d-9573-c33ea2aa5c30 + http://www.last.fm/music/Red+Hot+Chili+Peppers + 1 + http://userserve-ak.last.fm/serve/34/403312.jpg + http://userserve-ak.last.fm/serve/64/403312.jpg + http://userserve-ak.last.fm/serve/126/403312.jpg + + + Snoop Dogg + 372 + f90e8b26-9e52-4669-a5c9-e28529c47894 + http://www.last.fm/music/Snoop+Dogg + 1 + http://userserve-ak.last.fm/serve/34/224432.jpg + http://userserve-ak.last.fm/serve/64/224432.jpg + http://userserve-ak.last.fm/serve/126/224432.jpg + + + Counting Crows + 371 + a0327dc2-dc76-44d5-aec6-47cd2dff1469 + http://www.last.fm/music/Counting+Crows + 1 + http://userserve-ak.last.fm/serve/34/302855.jpg + http://userserve-ak.last.fm/serve/64/302855.jpg + http://userserve-ak.last.fm/serve/126/302855.jpg + + + Def Leppard + 366 + 7249b899-8db8-43e7-9e6e-22f1e736024e + http://www.last.fm/music/Def+Leppard + 1 + http://userserve-ak.last.fm/serve/34/4800466.jpg + http://userserve-ak.last.fm/serve/64/4800466.jpg + http://userserve-ak.last.fm/serve/126/4800466.jpg + + + Firebird + 349 + 3dfc0a11-0122-4bc4-8474-b67c88c5a4ea + http://www.last.fm/music/Firebird + 1 + http://userserve-ak.last.fm/serve/34/109444.jpg + http://userserve-ak.last.fm/serve/64/109444.jpg + http://userserve-ak.last.fm/serve/126/109444.jpg + + + Free + 336 + 6cb5d1ca-03ce-4656-92f5-bf35f53d1582 + http://www.last.fm/music/Free + 1 + http://userserve-ak.last.fm/serve/34/2799321.jpg + http://userserve-ak.last.fm/serve/64/2799321.jpg + http://userserve-ak.last.fm/serve/126/2799321.jpg + + + R.E.M. + 329 + ea4dfa26-f633-4da6-a52a-f49ea4897b58 + http://www.last.fm/music/R.E.M. + 1 + http://userserve-ak.last.fm/serve/34/296066.jpg + http://userserve-ak.last.fm/serve/64/296066.jpg + http://userserve-ak.last.fm/serve/126/296066.jpg + + + Radiohead + 319 + a74b1b7f-71a5-4011-9441-d0b5e4122711 + http://www.last.fm/music/Radiohead + 1 + http://userserve-ak.last.fm/serve/34/14055285.jpg + http://userserve-ak.last.fm/serve/64/14055285.jpg + http://userserve-ak.last.fm/serve/126/14055285.jpg + + + Dan Reed Network + 312 + 2fe24c3c-5768-484d-a64b-04983e99325a + http://www.last.fm/music/Dan+Reed+Network + 1 + http://userserve-ak.last.fm/serve/34/191748.gif + http://userserve-ak.last.fm/serve/64/191748.gif + http://userserve-ak.last.fm/serve/126/191748.gif + + + Ben Folds Five + 303 + abe2669a-a612-4bf6-9193-bb4f4b8a9088 + http://www.last.fm/music/Ben+Folds+Five + 1 + http://userserve-ak.last.fm/serve/34/53735.jpg + http://userserve-ak.last.fm/serve/64/53735.jpg + http://userserve-ak.last.fm/serve/126/53735.jpg + + + The Rolling Stones + 303 + b071f9fa-14b0-4217-8e97-eb41da73f598 + http://www.last.fm/music/The+Rolling+Stones + 1 + http://userserve-ak.last.fm/serve/34/123525.jpg + http://userserve-ak.last.fm/serve/64/123525.jpg + http://userserve-ak.last.fm/serve/126/123525.jpg + + + Skid Row + 300 + 6da0515e-a27d-449d-84cc-00713c38a140 + http://www.last.fm/music/Skid+Row + 1 + http://userserve-ak.last.fm/serve/34/2595057.jpg + http://userserve-ak.last.fm/serve/64/2595057.jpg + http://userserve-ak.last.fm/serve/126/2595057.jpg + + + Spock's Beard + 295 + 9e57e406-4fb1-40d0-bcd2-2aa1d6390c1d + http://www.last.fm/music/Spock%27s+Beard + 1 + http://userserve-ak.last.fm/serve/34/430197.jpg + http://userserve-ak.last.fm/serve/64/430197.jpg + http://userserve-ak.last.fm/serve/126/430197.jpg + + + Liquid Tension Experiment + 282 + bc641be9-ca36-4c61-9394-5230433f6646 + http://www.last.fm/music/Liquid+Tension+Experiment + 1 + http://userserve-ak.last.fm/serve/34/17714685.jpg + http://userserve-ak.last.fm/serve/64/17714685.jpg + http://userserve-ak.last.fm/serve/126/17714685.jpg + + + Matchbox Twenty + 278 + 75af9d25-cf32-49c0-9192-60bd8e9784e6 + http://www.last.fm/music/Matchbox+Twenty + 1 + http://userserve-ak.last.fm/serve/34/33022.jpg + http://userserve-ak.last.fm/serve/64/33022.jpg + http://userserve-ak.last.fm/serve/126/33022.jpg + + + Goo Goo Dolls + 274 + e2c00c56-8365-4160-9f40-a64682917633 + http://www.last.fm/music/Goo+Goo+Dolls + 1 + http://userserve-ak.last.fm/serve/34/126546.jpg + http://userserve-ak.last.fm/serve/64/126546.jpg + http://userserve-ak.last.fm/serve/126/126546.jpg + + + 3 Doors Down + 271 + 2386cd66-e923-4e8e-bf14-2eebe2e9b973 + http://www.last.fm/music/3+Doors+Down + 1 + http://userserve-ak.last.fm/serve/34/8575787.jpg + http://userserve-ak.last.fm/serve/64/8575787.jpg + http://userserve-ak.last.fm/serve/126/8575787.jpg + + + Moby + 262 + 8970d868-0723-483b-a75b-51088913d3d4 + http://www.last.fm/music/Moby + 1 + http://userserve-ak.last.fm/serve/34/130045.jpg + http://userserve-ak.last.fm/serve/64/130045.jpg + http://userserve-ak.last.fm/serve/126/130045.jpg + + + The Kleptones + 245 + f73b2b70-33d5-4118-923b-05ba8ad7e702 + http://www.last.fm/music/The+Kleptones + 1 + http://userserve-ak.last.fm/serve/34/361272.jpg + http://userserve-ak.last.fm/serve/64/361272.jpg + http://userserve-ak.last.fm/serve/126/361272.jpg + + + Deep Purple + 245 + 79491354-3d83-40e3-9d8e-7592d58d790a + http://www.last.fm/music/Deep+Purple + 1 + http://userserve-ak.last.fm/serve/34/20352.jpg + http://userserve-ak.last.fm/serve/64/20352.jpg + http://userserve-ak.last.fm/serve/126/20352.jpg + + + Stevie Wonder + 238 + 1ee18fb3-18a6-4c7f-8ba0-bc41cdd0462e + http://www.last.fm/music/Stevie+Wonder + 1 + http://userserve-ak.last.fm/serve/34/125434.png + http://userserve-ak.last.fm/serve/64/125434.png + http://userserve-ak.last.fm/serve/126/125434.png + + + Richard Cheese + 228 + 9bf79f68-c064-44a1-8c2c-5764f1d7c016 + http://www.last.fm/music/Richard+Cheese + 1 + http://userserve-ak.last.fm/serve/34/469800.jpg + http://userserve-ak.last.fm/serve/64/469800.jpg + http://userserve-ak.last.fm/serve/126/469800.jpg + + + James Taylor + 228 + 107d0c22-d051-4d98-8206-4e14de02132a + http://www.last.fm/music/James+Taylor + 1 + http://userserve-ak.last.fm/serve/34/218940.jpg + http://userserve-ak.last.fm/serve/64/218940.jpg + http://userserve-ak.last.fm/serve/126/218940.jpg + + + King's X + 226 + c8f5272e-8a94-4807-9099-70181e92fc46 + http://www.last.fm/music/King%27s+X + 1 + http://userserve-ak.last.fm/serve/34/309728.jpg + http://userserve-ak.last.fm/serve/64/309728.jpg + http://userserve-ak.last.fm/serve/126/309728.jpg + + + Weather Report + 223 + 0f9997bd-e079-429e-8ccd-9378c9b0c746 + http://www.last.fm/music/Weather+Report + 1 + http://userserve-ak.last.fm/serve/34/2919856.jpg + http://userserve-ak.last.fm/serve/64/2919856.jpg + http://userserve-ak.last.fm/serve/126/2919856.jpg + + + Fleetwood Mac + 223 + bd13909f-1c29-4c27-a874-d4aaf27c5b1a + http://www.last.fm/music/Fleetwood+Mac + 1 + http://userserve-ak.last.fm/serve/34/337211.jpg + http://userserve-ak.last.fm/serve/64/337211.jpg + http://userserve-ak.last.fm/serve/126/337211.jpg + + + The Jimi Hendrix Experience + 220 + 33b3c323-77c2-417c-a5b4-af7e6a111cc9 + http://www.last.fm/music/The+Jimi+Hendrix+Experience + 1 + http://userserve-ak.last.fm/serve/34/18062541.jpg + http://userserve-ak.last.fm/serve/64/18062541.jpg + http://userserve-ak.last.fm/serve/126/18062541.jpg + + + Steve Vai + 214 + 5e7ccd92-6277-451a-aab9-1efd587c50f3 + http://www.last.fm/music/Steve+Vai + 1 + http://userserve-ak.last.fm/serve/34/187687.gif + http://userserve-ak.last.fm/serve/64/187687.gif + http://userserve-ak.last.fm/serve/126/187687.gif + + + Symphony X + 210 + b669c53e-5a1f-4adc-80be-755e64e8115e + http://www.last.fm/music/Symphony+X + 1 + http://userserve-ak.last.fm/serve/34/76257.jpg + http://userserve-ak.last.fm/serve/64/76257.jpg + http://userserve-ak.last.fm/serve/126/76257.jpg + + + Jamiroquai + 207 + f4857fb9-e255-4dc6-bd01-e4ca7cc68544 + http://www.last.fm/music/Jamiroquai + 1 + http://userserve-ak.last.fm/serve/34/198652.jpg + http://userserve-ak.last.fm/serve/64/198652.jpg + http://userserve-ak.last.fm/serve/126/198652.jpg + + + James Brown + 207 + 20ff3303-4fe2-4a47-a1b6-291e26aa3438 + http://www.last.fm/music/James+Brown + 1 + http://userserve-ak.last.fm/serve/34/107634.jpg + http://userserve-ak.last.fm/serve/64/107634.jpg + http://userserve-ak.last.fm/serve/126/107634.jpg + + + Tom Waits + 205 + c3aeb863-7b26-4388-94e8-5a240f2be21b + http://www.last.fm/music/Tom+Waits + 1 + http://userserve-ak.last.fm/serve/34/2335574.jpg + http://userserve-ak.last.fm/serve/64/2335574.jpg + http://userserve-ak.last.fm/serve/126/2335574.jpg + + + Santana + 204 + 9a3bf45c-347d-4630-894d-7cf3e8e0b632 + http://www.last.fm/music/Santana + 1 + http://userserve-ak.last.fm/serve/34/344600.jpg + http://userserve-ak.last.fm/serve/64/344600.jpg + http://userserve-ak.last.fm/serve/126/344600.jpg + + + Slamin' Gladys + 204 + + http://www.last.fm/music/Slamin%27+Gladys + 1 + + + + + + Fun Lovin' Criminals + 203 + 1b15e90d-910c-4be4-99cb-463772a6430f + http://www.last.fm/music/Fun+Lovin%27+Criminals + 1 + http://userserve-ak.last.fm/serve/34/139766.jpg + http://userserve-ak.last.fm/serve/64/139766.jpg + http://userserve-ak.last.fm/serve/126/139766.jpg + + + Foo Fighters + 197 + 67f66c07-6e61-4026-ade5-7e782fad3a5d + http://www.last.fm/music/Foo+Fighters + 1 + http://userserve-ak.last.fm/serve/34/2513072.jpg + http://userserve-ak.last.fm/serve/64/2513072.jpg + http://userserve-ak.last.fm/serve/126/2513072.jpg + + diff --git a/test/data/b7eb411f8caceb98b6695b7c0a3c8657.xml b/test/data/b7eb411f8caceb98b6695b7c0a3c8657.xml new file mode 100644 index 0000000..e60687c --- /dev/null +++ b/test/data/b7eb411f8caceb98b6695b7c0a3c8657.xml @@ -0,0 +1,340 @@ + + + + + The Beatles + 1962-1966: The Red Album + + 1 + http://www.last.fm/music/The+Beatles/1962-1966%3A+The+Red+Album + + + Placebo + The X List (Disc 2) + + 1 + http://www.last.fm/music/Placebo/The+X+List+%28Disc+2%29 + + + Saxon + Killing Ground + 3803db93-28b9-41ac-8694-235971b141e3 + 1 + http://www.last.fm/music/Saxon/Killing+Ground + + + Michael Jackson + Thriller + 959272f9-97ae-4179-aebe-950eef64ed93 + 1 + http://www.last.fm/music/Michael+Jackson/Thriller + + + Deep Purple + Deep Purple Hit The Road - Mk 2 & Mk 3 + + 1 + http://www.last.fm/music/Deep+Purple/Deep%2BPurple%2BHit%2BThe%2BRoad%2B-%2BMk%2B2%2B%2526%2BMk%2B3 + + + Kings of Leon + Youth and Young Manhood + f5bb9e04-e307-46bc-baaa-5342da1a44b8 + 1 + http://www.last.fm/music/Kings+of+Leon/Youth+and+Young+Manhood + + + Finger Eleven + The Greyest of Blue Skies + aee056e2-4712-4daf-83e9-1ca56ae1413b + 1 + http://www.last.fm/music/Finger+Eleven/The+Greyest+of+Blue+Skies + + + Depeche Mode + Ultra + c83ced6f-ea72-4659-9144-94e50165158b + 1 + http://www.last.fm/music/Depeche+Mode/Ultra + + + AFI + Sing the Sorrow + 825eee5b-03d1-43f9-9cf1-c78b39f47886 + 1 + http://www.last.fm/music/AFI/Sing+the+Sorrow + + + Bryan Adams + Reckless + 71b3c346-fcb9-4a93-99d1-aae3b31a1ff7 + 1 + http://www.last.fm/music/Bryan+Adams/Reckless + + + Alice Cooper + Definitive Collection + + 1 + http://www.last.fm/music/Alice+Cooper/Definitive+Collection + + + 3 Doors Down + Away From the Sun + edf2cec0-86cb-4c48-9f63-08f3e4e2e79e + 1 + http://www.last.fm/music/3+Doors+Down/Away+From+the+Sun + + + The Who + My Generation - The Very Best of The Who + + 1 + http://www.last.fm/music/The+Who/My+Generation+-+The+Very+Best+of+The+Who + + + Travis + 12 Memories + 47a1f944-e46f-4a7e-b882-1632c9397176 + 1 + http://www.last.fm/music/Travis/12+Memories + + + Various Artists + QCD + + 1 + http://www.last.fm/music/Various+Artists/QCD + + + Drowning Pool + Desensitized + 21478f60-2242-4c17-8fed-506581a14996 + 1 + http://www.last.fm/music/Drowning+Pool/Desensitized + + + The Stone Roses + The Stone Roses + 595d4a7d-452a-49e8-82d6-a39b2d189b2d + 1 + http://www.last.fm/music/The+Stone+Roses/The+Stone+Roses + + + Led Zeppelin + Houses of the Holy + 3ccb4cb2-940a-4e2e-b1fd-4c0b7483280f + 1 + http://www.last.fm/music/Led+Zeppelin/Houses+of+the+Holy + + + Pearl Jam + Vs. + 7244f710-6090-43a2-a4e0-772623d71cf5 + 1 + http://www.last.fm/music/Pearl+Jam/Vs. + + + Soundgarden + Superunknown + 53e70778-6771-4674-8933-9438b4528dd8 + 1 + http://www.last.fm/music/Soundgarden/Superunknown + + + The Killers + Hot Fuss + 3127c6af-617f-4d82-9002-6cc74ab8648d + 1 + http://www.last.fm/music/The+Killers/Hot+Fuss + + + The Doors + The Doors + 3b0c9338-f60d-49b0-8601-91a013b49a05 + 1 + http://www.last.fm/music/The+Doors/The+Doors + + + Pink Floyd + Pulse (disc 1) + 11132acb-a95e-4bc4-b071-f926b6b139cd + 1 + http://www.last.fm/music/Pink+Floyd/Pulse+%28disc+1%29 + + + U2 + All That You Can't Leave Behind + cad30b91-e506-415b-9a66-a565481c0a82 + 1 + http://www.last.fm/music/U2/All+That+You+Can%27t+Leave+Behind + + + INXS + The Greatest Hits + ecd97ad8-3ce1-4341-afa0-be99749f23ac + 1 + http://www.last.fm/music/INXS/The+Greatest+Hits + + + Alice in Chains + Nothing Safe - The Best of the Box + + 1 + http://www.last.fm/music/Alice+in+Chains/Nothing+Safe+-+The+Best+of+the+Box + + + Dream Theater + Train of Thought + 5a4e6e59-de93-4fda-ac36-99b2efe8ff7e + 1 + http://www.last.fm/music/Dream+Theater/Train+of+Thought + + + The Pogues + The Very Best Of The Pogues + + 1 + http://www.last.fm/music/The+Pogues/The+Very+Best+Of+The+Pogues + + + Linkin Park + Hybrid Theory + e355399d-701d-4cfb-a0d8-d73966f1ab5a + 1 + http://www.last.fm/music/Linkin+Park/Hybrid+Theory + + + Muse + Showbiz + 4b812512-5dc1-4f61-9104-7d3289390395 + 1 + http://www.last.fm/music/Muse/Showbiz + + + Pearl Jam + Ten + 4b06b597-9c73-42b9-9bc2-978883ead127 + 1 + http://www.last.fm/music/Pearl+Jam/Ten + + + The Cranberries + No Need to Argue + c5f9c7d9-249f-4589-ab04-01b19fa1467c + 1 + http://www.last.fm/music/The+Cranberries/No+Need+to+Argue + + + Radiohead + Hail to the Thief + f470c26b-0beb-44d0-b49e-4caa02379b76 + 1 + http://www.last.fm/music/Radiohead/Hail+to+the+Thief + + + Prince + Rave un2 the joy fantastic + 4b769178-6fa8-4bcc-aff3-ec2cc3164512 + 1 + http://www.last.fm/music/Prince/Rave+un2+the+joy+fantastic + + + Red Hot Chili Peppers + By the Way + 3f66063a-e91b-4025-9582-1adb1695123b + 1 + http://www.last.fm/music/Red+Hot+Chili+Peppers/By+the+Way + + + System of a Down + Toxicity + e1752cff-b0e4-4c06-b08e-de169498bfa5 + 1 + http://www.last.fm/music/System+of+a+Down/Toxicity + + + Iron Maiden + Edward the Great + cc3feee0-1038-49b0-9f03-3d456a290a45 + 1 + http://www.last.fm/music/Iron+Maiden/Edward+the+Great + + + Vangelis + Chariots Of Fire + 89fb6b5b-6ac2-465c-93bf-be430010de66 + 1 + http://www.last.fm/music/Vangelis/Chariots+Of+Fire + + + Stone Temple Pilots + Core + 01ad1808-59c1-46c7-90ce-eda16ec4b121 + 1 + http://www.last.fm/music/Stone+Temple+Pilots/Core + + + Sum 41 + All Killer No Filler + 3944abb0-dfb3-46b0-914c-a1117f568c7d + 1 + http://www.last.fm/music/Sum+41/All+Killer+No+Filler + + + Evanescence + Fallen + afc4be52-b92e-4a6e-99e4-decde16d7ee7 + 1 + http://www.last.fm/music/Evanescence/Fallen + + + 2Pac + Me Against the World + 37d89c1e-4f78-4116-ae56-48ee06b8f64b + 1 + http://www.last.fm/music/2Pac/Me+Against+the+World + + + Queen + Greatest Hits + 84213105-f89d-4243-9b71-c27f1d17598c + 1 + http://www.last.fm/music/Queen/Greatest+Hits + + + Rae & Christian + Sleepwalking + 58872c8b-a607-4bab-a7fd-735785af4159 + 1 + http://www.last.fm/music/Rae%2B%2526%2BChristian/Sleepwalking + + + Main + Hydra-Calm + cdf7d8fe-022a-425e-b90b-020b1ead1263 + 1 + http://www.last.fm/music/Main/Hydra-Calm + + + David Axelrod + David Axelrod + 95889442-0500-41bc-b465-2b87553b443c + 1 + http://www.last.fm/music/David+Axelrod/David+Axelrod + + + Eels + Electro-Shock Blues + 439b88b6-fe90-4f47-839f-06d337544166 + 1 + http://www.last.fm/music/Eels/Electro-Shock+Blues + + + Nirvana + Nirvana + d8f9547d-5e46-45f0-b694-0d9af9e2de63 + 1 + http://www.last.fm/music/Nirvana/Nirvana + + diff --git a/test/data/bda0b0c2af1590bad5df6bea454c4047.xml b/test/data/bda0b0c2af1590bad5df6bea454c4047.xml new file mode 100644 index 0000000..8e67ed9 --- /dev/null +++ b/test/data/bda0b0c2af1590bad5df6bea454c4047.xml @@ -0,0 +1,592 @@ + + + + + lobsterclaw + Laura Weiss + http://userserve-ak.last.fm/serve/34/1733471.jpg + http://userserve-ak.last.fm/serve/64/1733471.jpg + http://userserve-ak.last.fm/serve/126/1733471.jpg + http://www.last.fm/user/lobsterclaw + + jajo + + + + + http://www.last.fm/user/jajo + + mremond + Mickaël + http://userserve-ak.last.fm/serve/34/5129358.jpg + http://userserve-ak.last.fm/serve/64/5129358.jpg + http://userserve-ak.last.fm/serve/126/5129358.jpg + http://www.last.fm/user/mremond + + Orlenay + Orlena + http://userserve-ak.last.fm/serve/34/4734059.jpg + http://userserve-ak.last.fm/serve/64/4734059.jpg + http://userserve-ak.last.fm/serve/126/4734059.jpg + http://www.last.fm/user/Orlenay + + schlagschnitzel + + http://userserve-ak.last.fm/serve/34/23454373.gif + http://userserve-ak.last.fm/serve/64/23454373.gif + http://userserve-ak.last.fm/serve/126/23454373.gif + http://www.last.fm/user/schlagschnitzel + + Edouard + Edouard + http://userserve-ak.last.fm/serve/34/16991503.jpg + http://userserve-ak.last.fm/serve/64/16991503.jpg + http://userserve-ak.last.fm/serve/126/16991503.jpg + http://www.last.fm/user/Edouard + + naniel + Lyndsey + http://userserve-ak.last.fm/serve/34/1723822.jpg + http://userserve-ak.last.fm/serve/64/1723822.jpg + http://userserve-ak.last.fm/serve/126/1723822.jpg + http://www.last.fm/user/naniel + + dunk + Duncan + http://userserve-ak.last.fm/serve/34/24235437.jpg + http://userserve-ak.last.fm/serve/64/24235437.jpg + http://userserve-ak.last.fm/serve/126/24235437.jpg + http://www.last.fm/user/dunk + + RUPERT + + http://userserve-ak.last.fm/serve/34/4424601.png + http://userserve-ak.last.fm/serve/64/4424601.png + http://userserve-ak.last.fm/serve/126/4424601.png + http://www.last.fm/user/RUPERT + + mxcl + Max Howell + http://userserve-ak.last.fm/serve/34/3294118.png + http://userserve-ak.last.fm/serve/64/3294118.png + http://userserve-ak.last.fm/serve/126/3294118.png + http://www.last.fm/user/mxcl + + jwheare + James Wheare + http://userserve-ak.last.fm/serve/34/15823365.jpg + http://userserve-ak.last.fm/serve/64/15823365.jpg + http://userserve-ak.last.fm/serve/126/15823365.jpg + http://www.last.fm/user/jwheare + + nancyvw + Nancy Walker + http://userserve-ak.last.fm/serve/34/13608711.jpg + http://userserve-ak.last.fm/serve/64/13608711.jpg + http://userserve-ak.last.fm/serve/126/13608711.jpg + http://www.last.fm/user/nancyvw + + underpangs + David Singleton + http://userserve-ak.last.fm/serve/34/13884831.jpg + http://userserve-ak.last.fm/serve/64/13884831.jpg + http://userserve-ak.last.fm/serve/126/13884831.jpg + http://www.last.fm/user/underpangs + + p_wheel + Paul Wheeler + http://userserve-ak.last.fm/serve/34/10441989.jpg + http://userserve-ak.last.fm/serve/64/10441989.jpg + http://userserve-ak.last.fm/serve/126/10441989.jpg + http://www.last.fm/user/p_wheel + + spietsch + Sebastian Pietsch + http://userserve-ak.last.fm/serve/34/17614085.jpg + http://userserve-ak.last.fm/serve/64/17614085.jpg + http://userserve-ak.last.fm/serve/126/17614085.jpg + http://www.last.fm/user/spietsch + + musicmobs + Toby Padilla + http://userserve-ak.last.fm/serve/34/754833.jpg + http://userserve-ak.last.fm/serve/64/754833.jpg + http://userserve-ak.last.fm/serve/126/754833.jpg + http://www.last.fm/user/musicmobs + + Schrollum + + http://userserve-ak.last.fm/serve/34/13180545.jpg + http://userserve-ak.last.fm/serve/64/13180545.jpg + http://userserve-ak.last.fm/serve/126/13180545.jpg + http://www.last.fm/user/Schrollum + + luke_10 + + http://userserve-ak.last.fm/serve/34/22813615.jpg + http://userserve-ak.last.fm/serve/64/22813615.jpg + http://userserve-ak.last.fm/serve/126/22813615.jpg + http://www.last.fm/user/luke_10 + + tgwizard + Adam Renberg + http://userserve-ak.last.fm/serve/34/8088043.png + http://userserve-ak.last.fm/serve/64/8088043.png + http://userserve-ak.last.fm/serve/126/8088043.png + http://www.last.fm/user/tgwizard + + pkeanecbs + + http://userserve-ak.last.fm/serve/34/1498420.gif + http://userserve-ak.last.fm/serve/64/1498420.gif + http://userserve-ak.last.fm/serve/126/1498420.gif + http://www.last.fm/user/pkeanecbs + + Roelven + Roel van der Ven + http://userserve-ak.last.fm/serve/34/22071689.jpg + http://userserve-ak.last.fm/serve/64/22071689.jpg + http://userserve-ak.last.fm/serve/126/22071689.jpg + http://www.last.fm/user/Roelven + + BecFrost + + http://userserve-ak.last.fm/serve/34/2015672.jpg + http://userserve-ak.last.fm/serve/64/2015672.jpg + http://userserve-ak.last.fm/serve/126/2015672.jpg + http://www.last.fm/user/BecFrost + + gracehn001 + + http://userserve-ak.last.fm/serve/34/1517141.jpg + http://userserve-ak.last.fm/serve/64/1517141.jpg + http://userserve-ak.last.fm/serve/126/1517141.jpg + http://www.last.fm/user/gracehn001 + + saulklein + saul klein + http://userserve-ak.last.fm/serve/34/822428.jpg + http://userserve-ak.last.fm/serve/64/822428.jpg + http://userserve-ak.last.fm/serve/126/822428.jpg + http://www.last.fm/user/saulklein + + arrdis + Ingrid + http://userserve-ak.last.fm/serve/34/1384629.jpg + http://userserve-ak.last.fm/serve/64/1384629.jpg + http://userserve-ak.last.fm/serve/126/1384629.jpg + http://www.last.fm/user/arrdis + + jarvis + Lunchbox + http://userserve-ak.last.fm/serve/34/622332.gif + http://userserve-ak.last.fm/serve/64/622332.gif + http://userserve-ak.last.fm/serve/126/622332.gif + http://www.last.fm/user/jarvis + + sickdm + Anthony V + http://userserve-ak.last.fm/serve/34/12243053.jpg + http://userserve-ak.last.fm/serve/64/12243053.jpg + http://userserve-ak.last.fm/serve/126/12243053.jpg + http://www.last.fm/user/sickdm + + HawkeVIPER + Tony + http://userserve-ak.last.fm/serve/34/5548999.jpg + http://userserve-ak.last.fm/serve/64/5548999.jpg + http://userserve-ak.last.fm/serve/126/5548999.jpg + http://www.last.fm/user/HawkeVIPER + + marquezmj + + http://userserve-ak.last.fm/serve/34/1939522.jpg + http://userserve-ak.last.fm/serve/64/1939522.jpg + http://userserve-ak.last.fm/serve/126/1939522.jpg + http://www.last.fm/user/marquezmj + + julians + ♫ Julian Stahnke + http://userserve-ak.last.fm/serve/34/664283.gif + http://userserve-ak.last.fm/serve/64/664283.gif + http://userserve-ak.last.fm/serve/126/664283.gif + http://www.last.fm/user/julians + + david + David + http://userserve-ak.last.fm/serve/34/24533125.jpg + http://userserve-ak.last.fm/serve/64/24533125.jpg + http://userserve-ak.last.fm/serve/126/24533125.jpg + http://www.last.fm/user/david + + pellitero + + http://userserve-ak.last.fm/serve/34/2911140.jpg + http://userserve-ak.last.fm/serve/64/2911140.jpg + http://userserve-ak.last.fm/serve/126/2911140.jpg + http://www.last.fm/user/pellitero + + claoi + Claudia + http://userserve-ak.last.fm/serve/34/1836824.jpg + http://userserve-ak.last.fm/serve/64/1836824.jpg + http://userserve-ak.last.fm/serve/126/1836824.jpg + http://www.last.fm/user/claoi + + grazziee + Graziela + http://userserve-ak.last.fm/serve/34/16101045.jpg + http://userserve-ak.last.fm/serve/64/16101045.jpg + http://userserve-ak.last.fm/serve/126/16101045.jpg + http://www.last.fm/user/grazziee + + clairewkyb + Claire Levy + http://userserve-ak.last.fm/serve/34/1582132.jpg + http://userserve-ak.last.fm/serve/64/1582132.jpg + http://userserve-ak.last.fm/serve/126/1582132.jpg + http://www.last.fm/user/clairewkyb + + lumberjack + + http://userserve-ak.last.fm/serve/34/13743993.jpg + http://userserve-ak.last.fm/serve/64/13743993.jpg + http://userserve-ak.last.fm/serve/126/13743993.jpg + http://www.last.fm/user/lumberjack + + foreverautumn + Laura + http://userserve-ak.last.fm/serve/34/3269826.jpg + http://userserve-ak.last.fm/serve/64/3269826.jpg + http://userserve-ak.last.fm/serve/126/3269826.jpg + http://www.last.fm/user/foreverautumn + + Yllona + Yllona + http://userserve-ak.last.fm/serve/34/742832.jpg + http://userserve-ak.last.fm/serve/64/742832.jpg + http://userserve-ak.last.fm/serve/126/742832.jpg + http://www.last.fm/user/Yllona + + cakemix + cherie matrix-holt + http://userserve-ak.last.fm/serve/34/699672.jpg + http://userserve-ak.last.fm/serve/64/699672.jpg + http://userserve-ak.last.fm/serve/126/699672.jpg + http://www.last.fm/user/cakemix + + Jonty + Jonty + http://userserve-ak.last.fm/serve/34/665390.png + http://userserve-ak.last.fm/serve/64/665390.png + http://userserve-ak.last.fm/serve/126/665390.png + http://www.last.fm/user/Jonty + + nova77LF + + http://userserve-ak.last.fm/serve/34/2274378.gif + http://userserve-ak.last.fm/serve/64/2274378.gif + http://userserve-ak.last.fm/serve/126/2274378.gif + http://www.last.fm/user/nova77LF + + mustaqila + Muz + http://userserve-ak.last.fm/serve/34/916565.jpg + http://userserve-ak.last.fm/serve/64/916565.jpg + http://userserve-ak.last.fm/serve/126/916565.jpg + http://www.last.fm/user/mustaqila + + mischa + Mischa Zurke + http://userserve-ak.last.fm/serve/34/16287619.jpg + http://userserve-ak.last.fm/serve/64/16287619.jpg + http://userserve-ak.last.fm/serve/126/16287619.jpg + http://www.last.fm/user/mischa + + AlexJohnson + Alex + http://userserve-ak.last.fm/serve/34/652957.jpg + http://userserve-ak.last.fm/serve/64/652957.jpg + http://userserve-ak.last.fm/serve/126/652957.jpg + http://www.last.fm/user/AlexJohnson + + stinis + Stina + http://userserve-ak.last.fm/serve/34/23656141.jpg + http://userserve-ak.last.fm/serve/64/23656141.jpg + http://userserve-ak.last.fm/serve/126/23656141.jpg + http://www.last.fm/user/stinis + + dirtyblonde + Laura + http://userserve-ak.last.fm/serve/34/1092964.jpg + http://userserve-ak.last.fm/serve/64/1092964.jpg + http://userserve-ak.last.fm/serve/126/1092964.jpg + http://www.last.fm/user/dirtyblonde + + fionapinkstars + Fiona McLaren + http://userserve-ak.last.fm/serve/34/11015071.jpg + http://userserve-ak.last.fm/serve/64/11015071.jpg + http://userserve-ak.last.fm/serve/126/11015071.jpg + http://www.last.fm/user/fionapinkstars + + mokele + Steven Gravell + http://userserve-ak.last.fm/serve/34/24126467.png + http://userserve-ak.last.fm/serve/64/24126467.png + http://userserve-ak.last.fm/serve/126/24126467.png + http://www.last.fm/user/mokele + + sideb0ard + Thorsten Sideb0ard + http://userserve-ak.last.fm/serve/34/11937221.jpg + http://userserve-ak.last.fm/serve/64/11937221.jpg + http://userserve-ak.last.fm/serve/126/11937221.jpg + http://www.last.fm/user/sideb0ard + + lizz + Liz + http://userserve-ak.last.fm/serve/34/643133.jpg + http://userserve-ak.last.fm/serve/64/643133.jpg + http://userserve-ak.last.fm/serve/126/643133.jpg + http://www.last.fm/user/lizz + + lexdra + Alex + http://userserve-ak.last.fm/serve/34/9034985.jpg + http://userserve-ak.last.fm/serve/64/9034985.jpg + http://userserve-ak.last.fm/serve/126/9034985.jpg + http://www.last.fm/user/lexdra + + hannahdonovan + Hannah Donovan + http://userserve-ak.last.fm/serve/34/7389271.png + http://userserve-ak.last.fm/serve/64/7389271.png + http://userserve-ak.last.fm/serve/126/7389271.png + http://www.last.fm/user/hannahdonovan + + Waters_M + Matthew Waters + http://userserve-ak.last.fm/serve/34/1300537.jpg + http://userserve-ak.last.fm/serve/64/1300537.jpg + http://userserve-ak.last.fm/serve/126/1300537.jpg + http://www.last.fm/user/Waters_M + + beanusmeridious + Andy + http://userserve-ak.last.fm/serve/34/1627247.jpg + http://userserve-ak.last.fm/serve/64/1627247.jpg + http://userserve-ak.last.fm/serve/126/1627247.jpg + http://www.last.fm/user/beanusmeridious + + gragg + Gareth Cooper + http://userserve-ak.last.fm/serve/34/1657341.jpg + http://userserve-ak.last.fm/serve/64/1657341.jpg + http://userserve-ak.last.fm/serve/126/1657341.jpg + http://www.last.fm/user/gragg + + Orlando + Tom Coates + http://userserve-ak.last.fm/serve/34/630985.jpg + http://userserve-ak.last.fm/serve/64/630985.jpg + http://userserve-ak.last.fm/serve/126/630985.jpg + http://www.last.fm/user/Orlando + + andz + + http://userserve-ak.last.fm/serve/34/839537.jpg + http://userserve-ak.last.fm/serve/64/839537.jpg + http://userserve-ak.last.fm/serve/126/839537.jpg + http://www.last.fm/user/andz + + sharevari + Erik + http://userserve-ak.last.fm/serve/34/22166507.png + http://userserve-ak.last.fm/serve/64/22166507.png + http://userserve-ak.last.fm/serve/126/22166507.png + http://www.last.fm/user/sharevari + + pete_bug + Jonas Woost + http://userserve-ak.last.fm/serve/34/20645233.jpg + http://userserve-ak.last.fm/serve/64/20645233.jpg + http://userserve-ak.last.fm/serve/126/20645233.jpg + http://www.last.fm/user/pete_bug + + Russ + Russ Garrett + http://userserve-ak.last.fm/serve/34/628252.jpg + http://userserve-ak.last.fm/serve/64/628252.jpg + http://userserve-ak.last.fm/serve/126/628252.jpg + http://www.last.fm/user/Russ + + thearrogance + + http://userserve-ak.last.fm/serve/34/1046300.jpg + http://userserve-ak.last.fm/serve/64/1046300.jpg + http://userserve-ak.last.fm/serve/126/1046300.jpg + http://www.last.fm/user/thearrogance + + lozzd + Laurie Denness + http://userserve-ak.last.fm/serve/34/14929697.jpg + http://userserve-ak.last.fm/serve/64/14929697.jpg + http://userserve-ak.last.fm/serve/126/14929697.jpg + http://www.last.fm/user/lozzd + + avalyn2 + Peter + http://userserve-ak.last.fm/serve/34/739188.jpg + http://userserve-ak.last.fm/serve/64/739188.jpg + http://userserve-ak.last.fm/serve/126/739188.jpg + http://www.last.fm/user/avalyn2 + + jen2 + + + + + http://www.last.fm/user/jen2 + + crshamburg + Stefan Glänzer + http://userserve-ak.last.fm/serve/34/1092107.jpg + http://userserve-ak.last.fm/serve/64/1092107.jpg + http://userserve-ak.last.fm/serve/126/1092107.jpg + http://www.last.fm/user/crshamburg + + bubblenut + Rob Young + http://userserve-ak.last.fm/serve/34/902898.jpg + http://userserve-ak.last.fm/serve/64/902898.jpg + http://userserve-ak.last.fm/serve/126/902898.jpg + http://www.last.fm/user/bubblenut + + muesli + + http://userserve-ak.last.fm/serve/34/19648927.jpg + http://userserve-ak.last.fm/serve/64/19648927.jpg + http://userserve-ak.last.fm/serve/126/19648927.jpg + http://www.last.fm/user/muesli + + skr + Johan Oskarsson + http://userserve-ak.last.fm/serve/34/5112891.jpg + http://userserve-ak.last.fm/serve/64/5112891.jpg + http://userserve-ak.last.fm/serve/126/5112891.jpg + http://www.last.fm/user/skr + + honeypea + honey + http://userserve-ak.last.fm/serve/34/1001843.gif + http://userserve-ak.last.fm/serve/64/1001843.gif + http://userserve-ak.last.fm/serve/126/1001843.gif + http://www.last.fm/user/honeypea + + flaneur + Matt + http://userserve-ak.last.fm/serve/34/2704011.jpg + http://userserve-ak.last.fm/serve/64/2704011.jpg + http://userserve-ak.last.fm/serve/126/2704011.jpg + http://www.last.fm/user/flaneur + + cikkolata + Nikki + http://userserve-ak.last.fm/serve/34/679428.gif + http://userserve-ak.last.fm/serve/64/679428.gif + http://userserve-ak.last.fm/serve/126/679428.gif + http://www.last.fm/user/cikkolata + + djsalt + david + http://userserve-ak.last.fm/serve/34/622369.gif + http://userserve-ak.last.fm/serve/64/622369.gif + http://userserve-ak.last.fm/serve/126/622369.gif + http://www.last.fm/user/djsalt + + bonne + Richard Harrison + http://userserve-ak.last.fm/serve/34/633303.jpg + http://userserve-ak.last.fm/serve/64/633303.jpg + http://userserve-ak.last.fm/serve/126/633303.jpg + http://www.last.fm/user/bonne + + treepotato + + http://userserve-ak.last.fm/serve/34/3807936.gif + http://userserve-ak.last.fm/serve/64/3807936.gif + http://userserve-ak.last.fm/serve/126/3807936.gif + http://www.last.fm/user/treepotato + + HairMetalAddict + Never stop the rock when it's started to Roll... + http://userserve-ak.last.fm/serve/34/2312702.gif + http://userserve-ak.last.fm/serve/64/2312702.gif + http://userserve-ak.last.fm/serve/126/2312702.gif + http://www.last.fm/user/HairMetalAddict + + Eingang + Eingang + http://userserve-ak.last.fm/serve/34/630953.jpg + http://userserve-ak.last.fm/serve/64/630953.jpg + http://userserve-ak.last.fm/serve/126/630953.jpg + http://www.last.fm/user/Eingang + + RNR + Felix + http://userserve-ak.last.fm/serve/34/642182.gif + http://userserve-ak.last.fm/serve/64/642182.gif + http://userserve-ak.last.fm/serve/126/642182.gif + http://www.last.fm/user/RNR + + Ched + James + http://userserve-ak.last.fm/serve/34/622356.jpg + http://userserve-ak.last.fm/serve/64/622356.jpg + http://userserve-ak.last.fm/serve/126/622356.jpg + http://www.last.fm/user/Ched + + count-bassy + Martin Szomszor + http://userserve-ak.last.fm/serve/34/662027.gif + http://userserve-ak.last.fm/serve/64/662027.gif + http://userserve-ak.last.fm/serve/126/662027.gif + http://www.last.fm/user/count-bassy + + mainstream + Martin Stiksel + http://userserve-ak.last.fm/serve/34/16251931.jpg + http://userserve-ak.last.fm/serve/64/16251931.jpg + http://userserve-ak.last.fm/serve/126/16251931.jpg + http://www.last.fm/user/mainstream + + joi + Joichi Ito + http://userserve-ak.last.fm/serve/34/4281324.jpg + http://userserve-ak.last.fm/serve/64/4281324.jpg + http://userserve-ak.last.fm/serve/126/4281324.jpg + http://www.last.fm/user/joi + + AlexStapleton + Alex Stapleton + + + + http://www.last.fm/user/AlexStapleton + + LAST.HQ + The Team + http://userserve-ak.last.fm/serve/34/615839.jpg + http://userserve-ak.last.fm/serve/64/615839.jpg + http://userserve-ak.last.fm/serve/126/615839.jpg + http://www.last.fm/user/LAST.HQ + + timgaunt + Tim + http://userserve-ak.last.fm/serve/34/731228.jpg + http://userserve-ak.last.fm/serve/64/731228.jpg + http://userserve-ak.last.fm/serve/126/731228.jpg + http://www.last.fm/user/timgaunt + diff --git a/test/data/bde2a3ea7528ec206fc54ed0a31cf73d.xml b/test/data/bde2a3ea7528ec206fc54ed0a31cf73d.xml new file mode 100644 index 0000000..cad01f3 --- /dev/null +++ b/test/data/bde2a3ea7528ec206fc54ed0a31cf73d.xml @@ -0,0 +1,754 @@ + + + + + Slave To The Grid + 239 + + + http://www.last.fm/music/Skid+Row/Slave+To+The+Grid + + Skid Row + 6da0515e-a27d-449d-84cc-00713c38a140 + http://www.last.fm/music/Skid+Row + + http://userserve-ak.last.fm/serve/34s/12621887.jpg + http://userserve-ak.last.fm/serve/64s/12621887.jpg + http://userserve-ak.last.fm/serve/126/12621887.jpg + + + Images and Words + 213 + + f20971f2-c8ad-4d26-91ab-730f6dedafb2 + http://www.last.fm/music/Dream+Theater/Images+and+Words + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/12620339.jpg + http://userserve-ak.last.fm/serve/64s/12620339.jpg + http://userserve-ak.last.fm/serve/126/12620339.jpg + + + Once in a Livetime + 202 + + + http://www.last.fm/music/Dream+Theater/Once+in+a+Livetime + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00000DD27.01._SCMZZZZZZZ_.jpg + + + Nina Simone's Finest Hour + 165 + + 80400af0-ee7b-4035-8c25-72289160ac21 + http://www.last.fm/music/Nina+Simone/Nina+Simone%27s+Finest+Hour + + Nina Simone + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + + http://userserve-ak.last.fm/serve/34s/8762911.jpg + http://userserve-ak.last.fm/serve/64s/8762911.jpg + http://userserve-ak.last.fm/serve/126/8762911.jpg + + + Sex and Religion + 158 + + + http://www.last.fm/music/Steve+Vai/Sex+and+Religion + + Steve Vai + 5e7ccd92-6277-451a-aab9-1efd587c50f3 + http://www.last.fm/music/Steve+Vai + + http://userserve-ak.last.fm/serve/34s/12620315.jpg + http://userserve-ak.last.fm/serve/64s/12620315.jpg + http://userserve-ak.last.fm/serve/126/12620315.jpg + + + title + 156 + + + http://www.last.fm/music/Slamin%27+Gladys/title + + Slamin' Gladys + + http://www.last.fm/music/Slamin%27+Gladys + + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + + + Time Bomb + 151 + 1 + 01e475d1-fefa-4e83-a389-4af98e29d311 + http://www.last.fm/music/Buckcherry/Time+Bomb + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + http://userserve-ak.last.fm/serve/34s/8664833.jpg + http://userserve-ak.last.fm/serve/64s/8664833.jpg + http://userserve-ak.last.fm/serve/126/8664833.jpg + + + Day for Night + 149 + + d2bd6f36-d795-4601-96e0-f44fc400a321 + http://www.last.fm/music/Spock%27s+Beard/Day+for+Night + + Spock's Beard + 9e57e406-4fb1-40d0-bcd2-2aa1d6390c1d + http://www.last.fm/music/Spock%27s+Beard + + http://images.amazon.com/images/P/B00000I8CC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000I8CC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000I8CC.01.MZZZZZZZ.jpg + + + Liquid Tension Experiment + 149 + + c3c0e462-1606-40dc-9667-1b26b9fb44c5 + http://www.last.fm/music/Liquid+Tension+Experiment/Liquid+Tension+Experiment + + Liquid Tension Experiment + bc641be9-ca36-4c61-9394-5230433f6646 + http://www.last.fm/music/Liquid+Tension+Experiment + + http://userserve-ak.last.fm/serve/34s/15779373.jpg + http://userserve-ak.last.fm/serve/64s/15779373.jpg + http://userserve-ak.last.fm/serve/126/15779373.jpg + + + Rage Against the Machine + 135 + + e956c901-acb7-48d6-9dc6-389a5f91f372 + http://www.last.fm/music/Rage+Against+the+Machine/Rage+Against+the+Machine + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/19784479.jpg + http://userserve-ak.last.fm/serve/64s/19784479.jpg + http://userserve-ak.last.fm/serve/126/19784479.jpg + + + Dire Straits + 126 + + aa658dc0-cdce-4723-a7d6-c049aaae7a0b + http://www.last.fm/music/Dire+Straits/Dire+Straits + + Dire Straits + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + + http://userserve-ak.last.fm/serve/34s/13188073.jpg + http://userserve-ak.last.fm/serve/64s/13188073.jpg + http://userserve-ak.last.fm/serve/126/13188073.jpg + + + The History of Rock + 125 + + b32c1b95-8a13-4aa9-a5c5-858f408fb586 + http://www.last.fm/music/Kid+Rock/The+History+of+Rock + + Kid Rock + ad0ecd8b-805e-406e-82cb-5b00c3a3a29e + http://www.last.fm/music/Kid+Rock + + http://images.amazon.com/images/P/B00004TCPN.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B00004TCPN.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00004TCPN.01.LZZZZZZZ.jpg + + + Awake + 124 + + 7de6eb90-a8b2-4c00-80f7-c95e45929b27 + http://www.last.fm/music/Dream+Theater/Awake + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B000002JKA.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002JKA.01.LZZZZZZZ.jpg + + + And All That Could Have Been + 124 + + 85d24075-75db-4ef2-9311-10d10a737429 + http://www.last.fm/music/Nine+Inch+Nails/And+All+That+Could+Have+Been + + Nine Inch Nails + b7ffd2af-418f-4be2-bdd1-22f8b48613da + http://www.last.fm/music/Nine+Inch+Nails + + http://images.amazon.com/images/P/B00005RZV4.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B00005RZV4.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005RZV4.01.LZZZZZZZ.jpg + + + A Night at the Hip Hopera + 124 + + 4a1ef9e3-09d9-41e6-8ff3-e8bf26860ae8 + http://www.last.fm/music/The+Kleptones/A+Night+at+the+Hip+Hopera + + The Kleptones + f73b2b70-33d5-4118-923b-05ba8ad7e702 + http://www.last.fm/music/The+Kleptones + + http://userserve-ak.last.fm/serve/34s/11986865.jpg + http://userserve-ak.last.fm/serve/64s/11986865.jpg + http://userserve-ak.last.fm/serve/126/11986865.jpg + + + Doggystyle + 124 + + 092bebff-dcf6-4fc4-8c34-837651703155 + http://www.last.fm/music/Snoop+Dogg/Doggystyle + + Snoop Dogg + f90e8b26-9e52-4669-a5c9-e28529c47894 + http://www.last.fm/music/Snoop+Dogg + + http://images.amazon.com/images/P/B00005AQF7.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005AQF7.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005AQF7.01.MZZZZZZZ.jpg + + + Evergreen + 122 + + 95f5a532-42b8-4413-b5c3-a20d6b37b3ff + http://www.last.fm/music/Echo%2B%2526%2Bthe%2BBunnymen/Evergreen + + Echo & the Bunnymen + ccd4879c-5e88-4385-b131-bf65296bf245 + http://www.last.fm/music/Echo%2B%2526%2Bthe%2BBunnymen + + http://userserve-ak.last.fm/serve/34s/8596309.jpg + http://userserve-ak.last.fm/serve/64s/8596309.jpg + http://userserve-ak.last.fm/serve/126/8596309.jpg + + + Falling Into Infinity + 121 + + 56805d04-50f5-49c9-ac0b-41a653d945c1 + http://www.last.fm/music/Dream+Theater/Falling+Into+Infinity + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/8599015.jpg + http://userserve-ak.last.fm/serve/64s/8599015.jpg + http://userserve-ak.last.fm/serve/126/8599015.jpg + + + Blood Sugar Sex Magik + 117 + + 8b69a5f2-d3de-4df0-ae61-54b2227862c8 + http://www.last.fm/music/Red+Hot+Chili+Peppers/Blood+Sugar+Sex+Magik + + Red Hot Chili Peppers + 8bfac288-ccc5-448d-9573-c33ea2aa5c30 + http://www.last.fm/music/Red+Hot+Chili+Peppers + + http://userserve-ak.last.fm/serve/34s/8590485.jpg + http://userserve-ak.last.fm/serve/64s/8590485.jpg + http://userserve-ak.last.fm/serve/126/8590485.jpg + + + The Very Best of Level 42 + 116 + + 4498095f-3750-4d31-938e-486fe163de0a + http://www.last.fm/music/Level+42/The+Very+Best+of+Level+42 + + Level 42 + d69ee229-2f36-494c-b104-9ae0d8be506b + http://www.last.fm/music/Level+42 + + http://userserve-ak.last.fm/serve/34s/8720513.jpg + http://userserve-ak.last.fm/serve/64s/8720513.jpg + http://userserve-ak.last.fm/serve/126/8720513.jpg + + + Lit Up + 115 + + + http://www.last.fm/music/Buckcherry/Lit+Up + + Buckcherry + 822e92ef-72ea-42e0-9af1-b987816b487a + http://www.last.fm/music/Buckcherry + + http://images.amazon.com/images/P/B00001ZTYQ.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00001ZTYQ.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00001ZTYQ.01._SCMZZZZZZZ_.jpg + + + The Heat + 111 + + fa59d754-22f8-400a-befe-b4ccb51f72c2 + http://www.last.fm/music/Dan+Reed+Network/The+Heat + + Dan Reed Network + 2fe24c3c-5768-484d-a64b-04983e99325a + http://www.last.fm/music/Dan+Reed+Network + + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + + + I'd Like a Virgin + 111 + + ed2498fe-7fe2-4c24-99f4-05dd2bbea157 + http://www.last.fm/music/Richard+Cheese/I%27d+Like+a+Virgin + + Richard Cheese + 9bf79f68-c064-44a1-8c2c-5764f1d7c016 + http://www.last.fm/music/Richard+Cheese + + http://userserve-ak.last.fm/serve/34s/12636483.jpg + http://userserve-ak.last.fm/serve/64s/12636483.jpg + http://userserve-ak.last.fm/serve/126/12636483.jpg + + + Dogman + 110 + + fb33464f-b1df-4d60-a806-0f9683d375a1 + http://www.last.fm/music/King%27s+X/Dogman + + King's X + c8f5272e-8a94-4807-9099-70181e92fc46 + http://www.last.fm/music/King%27s+X + + http://images.amazon.com/images/P/B000002IXM.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002IXM.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000002IXM.01.MZZZZZZZ.jpg + + + Deluxe + 110 + + 96bce911-aae9-495b-8126-8f62029a65ec + http://www.last.fm/music/Firebird/Deluxe + + Firebird + 3dfc0a11-0122-4bc4-8474-b67c88c5a4ea + http://www.last.fm/music/Firebird + + http://images.amazon.com/images/P/B00005MMNG.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005MMNG.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005MMNG.01.MZZZZZZZ.jpg + + + Firebird + 107 + + + http://www.last.fm/music/Firebird/Firebird + + Firebird + 3dfc0a11-0122-4bc4-8474-b67c88c5a4ea + http://www.last.fm/music/Firebird + + http://userserve-ak.last.fm/serve/34s/15749639.jpg + http://userserve-ak.last.fm/serve/64s/15749639.jpg + http://userserve-ak.last.fm/serve/126/15749639.jpg + + + The Atomic Bitchwax + 103 + + ca5fae8d-f6de-4cca-ac62-321f9879ea85 + http://www.last.fm/music/The+Atomic+Bitchwax/The+Atomic+Bitchwax + + The Atomic Bitchwax + 377ca1eb-83c2-40da-81fd-eb81e922a585 + http://www.last.fm/music/The+Atomic+Bitchwax + + http://userserve-ak.last.fm/serve/34s/14461111.jpg + http://userserve-ak.last.fm/serve/64s/14461111.jpg + http://userserve-ak.last.fm/serve/126/14461111.jpg + + + Communiqué + 99 + + 71d8361b-f8d7-43bc-86d9-cc13294ae35f + http://www.last.fm/music/Dire+Straits/Communiqu%C3%A9 + + Dire Straits + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + + http://images.amazon.com/images/P/B00004Y6NT.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00004Y6NT.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00004Y6NT.01.MZZZZZZZ.jpg + + + Train of Thought + 99 + + 5a4e6e59-de93-4fda-ac36-99b2efe8ff7e + http://www.last.fm/music/Dream+Theater/Train+of+Thought + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://userserve-ak.last.fm/serve/34s/8634935.jpg + http://userserve-ak.last.fm/serve/64s/8634935.jpg + http://userserve-ak.last.fm/serve/126/8634935.jpg + + + The Better Life + 99 + + a7fb6852-dedc-4da4-91ba-59a2753efb9f + http://www.last.fm/music/3+Doors+Down/The+Better+Life + + 3 Doors Down + 2386cd66-e923-4e8e-bf14-2eebe2e9b973 + http://www.last.fm/music/3+Doors+Down + + http://userserve-ak.last.fm/serve/34s/8631753.jpg + http://userserve-ak.last.fm/serve/64s/8631753.jpg + http://userserve-ak.last.fm/serve/126/8631753.jpg + + + Stoosh + 98 + + 846a7626-b1a6-4c54-bba4-a5d1de5945e5 + http://www.last.fm/music/Skunk+Anansie/Stoosh + + Skunk Anansie + e212efdf-98b2-4dce-92ed-62cfc1e29854 + http://www.last.fm/music/Skunk+Anansie + + http://userserve-ak.last.fm/serve/34s/23020361.jpg + http://userserve-ak.last.fm/serve/64s/23020361.jpg + http://userserve-ak.last.fm/serve/126/23020361.jpg + + + No. 3 + 98 + + + http://www.last.fm/music/Firebird/No.+3 + + Firebird + 3dfc0a11-0122-4bc4-8474-b67c88c5a4ea + http://www.last.fm/music/Firebird + + http://images.amazon.com/images/P/B00009AHPO.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00009AHPO.01._SCMZZZZZZZ_.jpg + http://images.amazon.com/images/P/B00009AHPO.01._SCMZZZZZZZ_.jpg + + + Riding with the King + 94 + + 49e00206-2955-48a8-a9ba-a58a2fda916e + http://www.last.fm/music/B.B.%2BKing%2B%2526%2BEric%2BClapton/Riding+with+the+King + + B.B. King & Eric Clapton + c45474e1-8c83-41eb-b200-962c863c8a2b + http://www.last.fm/music/B.B.%2BKing%2B%2526%2BEric%2BClapton + + http://userserve-ak.last.fm/serve/34s/12622397.jpg + http://userserve-ak.last.fm/serve/64s/12622397.jpg + http://userserve-ak.last.fm/serve/126/12622397.jpg + + + Runnin' Wild + 92 + + + http://www.last.fm/music/Airbourne/Runnin%27+Wild + + Airbourne + + http://www.last.fm/music/Airbourne + + http://userserve-ak.last.fm/serve/34s/24801615.jpg + http://userserve-ak.last.fm/serve/64s/24801615.jpg + http://userserve-ak.last.fm/serve/126/24801615.jpg + + + Slam + 92 + + 38145a63-a43e-4ec2-bb52-a12df7df1570 + http://www.last.fm/music/Dan+Reed+Network/Slam + + Dan Reed Network + 2fe24c3c-5768-484d-a64b-04983e99325a + http://www.last.fm/music/Dan+Reed+Network + + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + http://cdn.last.fm/depth/catalogue/noimage/cover_med.gif + + + Six Degrees Of Inner Turbulance + 91 + + + http://www.last.fm/music/Dream+Theater/Six+Degrees+Of+Inner+Turbulance + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images-eu.amazon.com/images/P/B00005UEAR.02.THUMBZZZ.jpg + http://images-eu.amazon.com/images/P/B00005UEAR.02.MZZZZZZZ.jpg + http://images-eu.amazon.com/images/P/B00005UEAR.02.LZZZZZZZ.jpg + + + On Every Street + 90 + + aceb4f36-3e64-42eb-ac1f-55715aad40b7 + http://www.last.fm/music/Dire+Straits/On+Every+Street + + Dire Straits + 614e3804-7d34-41ba-857f-811bad7c2b7a + http://www.last.fm/music/Dire+Straits + + http://userserve-ak.last.fm/serve/34s/8677231.jpg + http://userserve-ak.last.fm/serve/64s/8677231.jpg + http://userserve-ak.last.fm/serve/126/8677231.jpg + + + Love Me or Leave Me + 89 + + cf3017c7-995a-474d-b542-c1f78a080f35 + http://www.last.fm/music/Nina+Simone/Love+Me+or+Leave+Me + + Nina Simone + 2944824d-4c26-476f-a981-be849081942f + http://www.last.fm/music/Nina+Simone + + http://images.amazon.com/images/P/B000025AMX.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B000025AMX.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000025AMX.01.LZZZZZZZ.jpg + + + Greatest Hits + 88 + + 0499f493-4598-4c6d-bffa-5fc3400ca070 + http://www.last.fm/music/Bob+Seger/Greatest+Hits + + Bob Seger + 4382b934-64c3-47ac-98db-65f26d845c48 + http://www.last.fm/music/Bob+Seger + + http://userserve-ak.last.fm/serve/34s/12624475.jpg + http://userserve-ak.last.fm/serve/64s/12624475.jpg + http://userserve-ak.last.fm/serve/126/12624475.jpg + + + Use Your Illusion II + 87 + + 0483e371-51fc-49cb-9711-69c324589cd6 + http://www.last.fm/music/Guns+N%27+Roses/Use+Your+Illusion+II + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + + http://userserve-ak.last.fm/serve/34s/15231979.jpg + http://userserve-ak.last.fm/serve/64s/15231979.jpg + http://userserve-ak.last.fm/serve/126/15231979.jpg + + + Urban Hymns + 87 + + 839a1568-b862-43a7-81e6-a4040496f369 + http://www.last.fm/music/The+Verve/Urban+Hymns + + The Verve + d4d17620-fd97-4574-92a8-a2cb7e72ce42 + http://www.last.fm/music/The+Verve + + http://userserve-ak.last.fm/serve/34s/14233169.jpg + http://userserve-ak.last.fm/serve/64s/14233169.jpg + http://userserve-ak.last.fm/serve/126/14233169.jpg + + + It's Not Too Late + 87 + + 94572ecd-1ae3-44bb-b47b-5b7f933c416b + http://www.last.fm/music/Neal+Morse/It%27s+Not+Too+Late + + Neal Morse + c0926f5d-098c-4f29-a463-5489b43a273a + http://www.last.fm/music/Neal+Morse + + http://images.amazon.com/images/P/B000067UNC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000067UNC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000067UNC.01.MZZZZZZZ.jpg + + + Just Push Play + 86 + + 2fdce4fb-1194-4eba-ba07-9b2fa53bac7c + http://www.last.fm/music/Aerosmith/Just+Push+Play + + Aerosmith + 3d2b98e5-556f-4451-a3ff-c50ea18d57cb + http://www.last.fm/music/Aerosmith + + http://userserve-ak.last.fm/serve/34s/21685277.jpg + http://userserve-ak.last.fm/serve/64s/21685277.jpg + http://userserve-ak.last.fm/serve/126/21685277.jpg + + + Nine Lives + 85 + + 12adc6cb-bb7a-426c-97f7-9a7d1cc50e07 + http://www.last.fm/music/Aerosmith/Nine+Lives + + Aerosmith + 3d2b98e5-556f-4451-a3ff-c50ea18d57cb + http://www.last.fm/music/Aerosmith + + http://userserve-ak.last.fm/serve/34s/16815417.jpg + http://userserve-ak.last.fm/serve/64s/16815417.jpg + http://userserve-ak.last.fm/serve/126/16815417.jpg + + + Renegades + 82 + + 8b98b2d4-91af-4a58-af54-0bd872570c5e + http://www.last.fm/music/Rage+Against+the+Machine/Renegades + + Rage Against the Machine + 3798b104-01cb-484c-a3b0-56adc6399b80 + http://www.last.fm/music/Rage+Against+the+Machine + + http://userserve-ak.last.fm/serve/34s/15765837.jpg + http://userserve-ak.last.fm/serve/64s/15765837.jpg + http://userserve-ak.last.fm/serve/126/15765837.jpg + + + Ruby Soul + 82 + + + http://www.last.fm/music/Tok+Tok+Tok/Ruby+Soul + + Tok Tok Tok + 97d9060d-2cd5-4acd-b44f-c39ea2da4753 + http://www.last.fm/music/Tok+Tok+Tok + + http://images.amazon.com/images/P/B00006OA35.01.THUMBZZZ.jpg + http://images.amazon.com/images/P/B00006OA35.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00006OA35.01.LZZZZZZZ.jpg + + + Greatest Hits + 81 + + c5e29035-a258-44e3-b9de-4df9548c7866 + http://www.last.fm/music/James+Taylor/Greatest+Hits + + James Taylor + 107d0c22-d051-4d98-8206-4e14de02132a + http://www.last.fm/music/James+Taylor + + http://userserve-ak.last.fm/serve/34s/12619275.jpg + http://userserve-ak.last.fm/serve/64s/12619275.jpg + http://userserve-ak.last.fm/serve/126/12619275.jpg + + + Supreme Beings of Leisure + 81 + + 62a1e7a5-d6a9-4a52-8f59-3d927a3c7f1d + http://www.last.fm/music/Supreme+Beings+of+Leisure/Supreme+Beings+of+Leisure + + Supreme Beings of Leisure + 1b483425-4f02-4599-a31c-9b5c132e0a7a + http://www.last.fm/music/Supreme+Beings+of+Leisure + + http://userserve-ak.last.fm/serve/34s/18064597.jpg + http://userserve-ak.last.fm/serve/64s/18064597.jpg + http://userserve-ak.last.fm/serve/126/18064597.jpg + + + Appetite for Destruction + 80 + + 2174675c-2159-4405-a3af-3a4860106b58 + http://www.last.fm/music/Guns+N%27+Roses/Appetite+for+Destruction + + Guns N' Roses + eeb1195b-f213-4ce1-b28c-8565211f8e43 + http://www.last.fm/music/Guns+N%27+Roses + + http://userserve-ak.last.fm/serve/34s/8616041.jpg + http://userserve-ak.last.fm/serve/64s/8616041.jpg + http://userserve-ak.last.fm/serve/126/8616041.jpg + + + With Teeth + 80 + + df025315-4897-4759-ba77-d2cd09b5b4b6 + http://www.last.fm/music/Nine+Inch+Nails/With+Teeth + + Nine Inch Nails + b7ffd2af-418f-4be2-bdd1-22f8b48613da + http://www.last.fm/music/Nine+Inch+Nails + + http://userserve-ak.last.fm/serve/34s/8671925.jpg + http://userserve-ak.last.fm/serve/64s/8671925.jpg + http://userserve-ak.last.fm/serve/126/8671925.jpg + + diff --git a/test/data/c123ffa1925407d7684467951a626995.xml b/test/data/c123ffa1925407d7684467951a626995.xml new file mode 100644 index 0000000..c9999e1 --- /dev/null +++ b/test/data/c123ffa1925407d7684467951a626995.xml @@ -0,0 +1,40 @@ + + + + 834368 + The Gaslight Anthem + + The Gaslight Anthem + Frank Turner + Polar Bear Club + The Gaslight Anthem + + + Academy + + Dublin + Ireland + 57 Middle Abbey Street + + + 53.352461 + -6.259799 + + + http://www.last.fm/venue/8887925 + + Wed, 04 Mar 2009 14:38:01 + The Gaslight Anthem for Dublin
+New Jersey folk-punks The Gaslight Anthem will play Dublin in 2009.
+
+The quartet, beloved of Tom Petty and Bruce Springsteen fans, will play The Academy on March 4th, in support of their second full-length album 'The '59 Sound', which is out now.
+
+Tickets are €17.50 and on sale from usual outlets soon.]]>
+ http://userserve-ak.last.fm/serve/34/7454839.jpg + http://userserve-ak.last.fm/serve/64/7454839.jpg + http://userserve-ak.last.fm/serve/126/7454839.jpg + http://www.last.fm/event/834368 + 38 + 0 + lastfm:event=834368 +
diff --git a/test/data/c8565ba7ae12b9eff69761f30a2e10b1.xml b/test/data/c8565ba7ae12b9eff69761f30a2e10b1.xml new file mode 100644 index 0000000..73e697d --- /dev/null +++ b/test/data/c8565ba7ae12b9eff69761f30a2e10b1.xml @@ -0,0 +1,56 @@ + + + + + 5606 + Misc gubbins + This is a misc test playlist with a few random tracks in it. + 2006-11-15T13:05:48 + 10 + 2818 + 0 + http://www.last.fm/user/RJ + http://www.last.fm/user/RJ/library/playlists/4bq_misc_gubbins + http://userserve-ak.last.fm/serve/34/4218758.jpg + http://userserve-ak.last.fm/serve/64/4218758.jpg + http://userserve-ak.last.fm/serve/126/4218758.jpg + + 2615079 + Duck playlist + Duck and cover + 2008-05-22T09:40:09 + 10 + 2143 + 0 + http://www.last.fm/user/RJ + http://www.last.fm/user/RJ/library/playlists/1k1t3_duck_playlist + http://userserve-ak.last.fm/serve/34/5985590.jpg + http://userserve-ak.last.fm/serve/64/5985590.jpg + http://userserve-ak.last.fm/serve/126/5985590.jpg + + 2614993 + Doglist + Guess what i searched for.. + 2008-05-22T09:24:23 + 18 + 3599 + 0 + http://www.last.fm/user/RJ + http://www.last.fm/user/RJ/library/playlists/1k1qp_doglist + http://userserve-ak.last.fm/serve/34/5976386.jpg + http://userserve-ak.last.fm/serve/64/5976386.jpg + http://userserve-ak.last.fm/serve/126/5976386.jpg + + 2612216 + Sexyplaylist + My only regret is that the search feature doesn't give me more than 10 results + 2008-05-21T19:43:46 + 9 + 2396 + 0 + http://www.last.fm/user/RJ + http://www.last.fm/user/RJ/library/playlists/1jzlk_sexyplaylist + http://userserve-ak.last.fm/serve/34/5976429.jpg + http://userserve-ak.last.fm/serve/64/5976429.jpg + http://userserve-ak.last.fm/serve/126/5976429.jpg + diff --git a/test/data/ca0c12245c975f372a0406a4c237caeb.xml b/test/data/ca0c12245c975f372a0406a4c237caeb.xml new file mode 100644 index 0000000..27ca5dc --- /dev/null +++ b/test/data/ca0c12245c975f372a0406a4c237caeb.xml @@ -0,0 +1,364 @@ + + + + + rock + 16 + www.last.fm/tag/rock + + + jazz + 10 + www.last.fm/tag/jazz + + + metal + 10 + www.last.fm/tag/metal + + + mellow + 6 + www.last.fm/tag/mellow + + + 80s + 6 + www.last.fm/tag/80s + + + guitar + 6 + www.last.fm/tag/guitar + + + checkitout + 5 + www.last.fm/tag/checkitout + + + funky + 4 + www.last.fm/tag/funky + + + stoner rock + 3 + www.last.fm/tag/stoner%20rock + + + funk + 3 + www.last.fm/tag/funk + + + blues + 3 + www.last.fm/tag/blues + + + female vocalists + 3 + www.last.fm/tag/female%20vocalists + + + drone rock + 3 + www.last.fm/tag/drone%20rock + + + soul + 3 + www.last.fm/tag/soul + + + acoustic + 3 + www.last.fm/tag/acoustic + + + easy listening + 2 + www.last.fm/tag/easy%20listening + + + singer-songwriter + 2 + www.last.fm/tag/singer-songwriter + + + classic rock + 2 + www.last.fm/tag/classic%20rock + + + vacuum tube + 2 + www.last.fm/tag/vacuum%20tube + + + covers + 2 + www.last.fm/tag/covers + + + instrumental + 2 + www.last.fm/tag/instrumental + + + country + 2 + www.last.fm/tag/country + + + melodic rock + 2 + www.last.fm/tag/melodic%20rock + + + cowboy + 1 + www.last.fm/tag/cowboy + + + chilled out + 1 + www.last.fm/tag/chilled%20out + + + groove + 1 + www.last.fm/tag/groove + + + instrumental rock + 1 + www.last.fm/tag/instrumental%20rock + + + guitar virtuoso + 1 + www.last.fm/tag/guitar%20virtuoso + + + canadian + 1 + www.last.fm/tag/canadian + + + live + 1 + www.last.fm/tag/live + + + dance + 1 + www.last.fm/tag/dance + + + freedom + 1 + www.last.fm/tag/freedom + + + crap + 1 + www.last.fm/tag/crap + + + unplugged + 1 + www.last.fm/tag/unplugged + + + groovy + 1 + www.last.fm/tag/groovy + + + chillout + 1 + www.last.fm/tag/chillout + + + uplifting + 1 + www.last.fm/tag/uplifting + + + chilled + 1 + www.last.fm/tag/chilled + + + woman + 1 + www.last.fm/tag/woman + + + soft rock + 1 + www.last.fm/tag/soft%20rock + + + female vocalist + 1 + www.last.fm/tag/female%20vocalist + + + britpop + 1 + www.last.fm/tag/britpop + + + new wave + 1 + www.last.fm/tag/new%20wave + + + romantic + 1 + www.last.fm/tag/romantic + + + blahtag + 1 + www.last.fm/tag/blahtag + + + geek + 1 + www.last.fm/tag/geek + + + heavy + 1 + www.last.fm/tag/heavy + + + porno rock + 1 + www.last.fm/tag/porno%20rock + + + agressive + 1 + www.last.fm/tag/agressive + + + lounge + 1 + www.last.fm/tag/lounge + + + popular + 1 + www.last.fm/tag/popular + + + parody + 1 + www.last.fm/tag/parody + + + upcoming + 1 + www.last.fm/tag/upcoming + + + test tag + 1 + www.last.fm/tag/test%20tag + + + nostalgia + 1 + www.last.fm/tag/nostalgia + + + fixmytags + 1 + www.last.fm/tag/fixmytags + + + rhythm and blues + 1 + www.last.fm/tag/rhythm%20and%20blues + + + aggressive + 1 + www.last.fm/tag/aggressive + + + indie + 1 + www.last.fm/tag/indie + + + slow + 1 + www.last.fm/tag/slow + + + smooth jazz + 1 + www.last.fm/tag/smooth%20jazz + + + hard rock + 1 + www.last.fm/tag/hard%20rock + + + gothic + 1 + www.last.fm/tag/gothic + + + folk + 1 + www.last.fm/tag/folk + + + jason robert brown + 1 + www.last.fm/tag/jason%20robert%20brown + + + acid jazz + 1 + www.last.fm/tag/acid%20jazz + + + alt-country + 1 + www.last.fm/tag/alt-country + + + tag-tastic + 1 + www.last.fm/tag/tag-tastic + + + symphonic metal + 1 + www.last.fm/tag/symphonic%20metal + + + hip-hop + 1 + www.last.fm/tag/hip-hop + + + sleazy + 1 + www.last.fm/tag/sleazy + + + hair metal + 1 + www.last.fm/tag/hair%20metal + + diff --git a/test/data/da6cba51f87bada4aedfd119922445dd.xml b/test/data/da6cba51f87bada4aedfd119922445dd.xml new file mode 100644 index 0000000..b04dc50 --- /dev/null +++ b/test/data/da6cba51f87bada4aedfd119922445dd.xml @@ -0,0 +1,45 @@ + + + + + 834368 + The Gaslight Anthem + + + The Gaslight Anthem + Frank Turner + Polar Bear Club + The Gaslight Anthem + + + 8887925 + Academy + + Dublin + Ireland + 57 Middle Abbey Street + + + 53.352461 + -6.259799 + + + http://www.last.fm/venue/8887925 + + Wed, 04 Mar 2009 14:38:01 + The Gaslight Anthem for Dublin
+New Jersey folk-punks The Gaslight Anthem will play Dublin in 2009.
+
+The quartet, beloved of Tom Petty and Bruce Springsteen fans, will play The Academy on March 4th, in support of their second full-length album 'The '59 Sound', which is out now.
+
+Tickets are €17.50 and on sale from usual outlets soon.]]>
+ http://userserve-ak.last.fm/serve/34/7454839.jpg + http://userserve-ak.last.fm/serve/64/7454839.jpg + http://userserve-ak.last.fm/serve/126/7454839.jpg + 38 + 0 + lastfm:event=834368 + http://www.last.fm/event/834368 +
+
+
diff --git a/test/data/f85bddbcd1f06e452b45f6d864dd2892.xml b/test/data/f85bddbcd1f06e452b45f6d864dd2892.xml new file mode 100644 index 0000000..8f4e9e1 --- /dev/null +++ b/test/data/f85bddbcd1f06e452b45f6d864dd2892.xml @@ -0,0 +1,678 @@ + + + + + Young + + www.last.fm/music/Mokele/_/Young + 5 Mar 2009, 00:28 + + Mokele + + http://www.last.fm/music/Mokele + + http://userserve-ak.last.fm/serve/34s/4485816.png + http://userserve-ak.last.fm/serve/64s/4485816.png + http://userserve-ak.last.fm/serve/126/4485816.png + + + Hell March + + www.last.fm/music/Frank+Klepacki/_/Hell+March + 29 Jan 2009, 13:50 + + Frank Klepacki + 4f3d90f0-4ea5-489f-a7d5-4c9496949db4 + http://www.last.fm/music/Frank+Klepacki + + http://userserve-ak.last.fm/serve/34s/3613344.jpg + http://userserve-ak.last.fm/serve/64s/3613344.jpg + http://userserve-ak.last.fm/serve/126/3613344.jpg + + + Summertime + + www.last.fm/music/Will+Smith/_/Summertime + 11 Dec 2008, 11:47 + + Will Smith + 5bae7081-64ef-4473-825a-38d310deb14c + http://www.last.fm/music/Will+Smith + + http://userserve-ak.last.fm/serve/34s/23040737.jpg + http://userserve-ak.last.fm/serve/64s/23040737.jpg + http://userserve-ak.last.fm/serve/126/23040737.jpg + + + Calm + + www.last.fm/music/Wayne+Shorter/_/Calm + 28 Oct 2008, 20:17 + + Wayne Shorter + 2379937f-6e0d-46a2-b8ff-633fafd72002 + http://www.last.fm/music/Wayne+Shorter + + http://userserve-ak.last.fm/serve/34s/8596999.jpg + http://userserve-ak.last.fm/serve/64s/8596999.jpg + http://userserve-ak.last.fm/serve/126/8596999.jpg + + + The One and Only + + www.last.fm/music/Chesney+Hawkes/_/The+One+and+Only + 28 Oct 2008, 16:35 + + Chesney Hawkes + 4d74424b-627d-42dd-ab1b-85f16f10e027 + http://www.last.fm/music/Chesney+Hawkes + + http://userserve-ak.last.fm/serve/34s/17687939.jpg + http://userserve-ak.last.fm/serve/64s/17687939.jpg + http://userserve-ak.last.fm/serve/126/17687939.jpg + + + Cliffs of Dover + + www.last.fm/music/Eric+Johnson/_/Cliffs+of+Dover + 29 Sep 2008, 10:07 + + Eric Johnson + b53868c8-3654-41d3-91db-3c5a1237f0c3 + http://www.last.fm/music/Eric+Johnson + + http://userserve-ak.last.fm/serve/34s/14200813.jpg + http://userserve-ak.last.fm/serve/64s/14200813.jpg + http://userserve-ak.last.fm/serve/126/14200813.jpg + + + Orion (Instrumental) + + www.last.fm/music/Metallica/_/Orion+%28Instrumental%29 + 24 Sep 2008, 17:57 + + Metallica + 65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab + http://www.last.fm/music/Metallica + + http://userserve-ak.last.fm/serve/34s/8622967.jpg + http://userserve-ak.last.fm/serve/64s/8622967.jpg + http://userserve-ak.last.fm/serve/126/8622967.jpg + + + Whiskey in the Jar + + www.last.fm/music/Metallica/_/Whiskey+in+the+Jar + 24 Sep 2008, 17:57 + + Metallica + 65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab + http://www.last.fm/music/Metallica + + http://images.amazon.com/images/P/B00000FCBC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000FCBC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000FCBC.01.MZZZZZZZ.jpg + + + Loverman + + www.last.fm/music/Metallica/_/Loverman + 24 Sep 2008, 17:57 + + Metallica + 65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab + http://www.last.fm/music/Metallica + + http://images.amazon.com/images/P/B00000FCBC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000FCBC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000FCBC.01.MZZZZZZZ.jpg + + + Turn the Page + + www.last.fm/music/Metallica/_/Turn+the+Page + 24 Sep 2008, 17:57 + + Metallica + 65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab + http://www.last.fm/music/Metallica + + http://images.amazon.com/images/P/B00000FCBC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000FCBC.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00000FCBC.01.MZZZZZZZ.jpg + + + Get Behind the Mule + + www.last.fm/music/John+Hammond/_/Get+Behind+the+Mule + 7 Sep 2008, 12:02 + + John Hammond + d83e599c-2d5a-44ec-b727-587e1455b1b5 + http://www.last.fm/music/John+Hammond + + http://images.amazon.com/images/P/B000059T5O.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000059T5O.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000059T5O.01.MZZZZZZZ.jpg + + + Gin & Juice + + www.last.fm/music/Richard+Cheese/_/Gin%2B%2526%2BJuice + 3 Sep 2008, 14:15 + + Richard Cheese + 9bf79f68-c064-44a1-8c2c-5764f1d7c016 + http://www.last.fm/music/Richard+Cheese + + http://userserve-ak.last.fm/serve/34s/12636483.jpg + http://userserve-ak.last.fm/serve/64s/12636483.jpg + http://userserve-ak.last.fm/serve/126/12636483.jpg + + + Big Shot + + www.last.fm/music/Billy+Joel/_/Big+Shot + 29 Aug 2008, 11:26 + + Billy Joel + 64b94289-9474-4d43-8c93-918ccc1920d1 + http://www.last.fm/music/Billy+Joel + + http://userserve-ak.last.fm/serve/34s/10084135.jpg + http://userserve-ak.last.fm/serve/64s/10084135.jpg + http://userserve-ak.last.fm/serve/126/10084135.jpg + + + British Racing Green + + www.last.fm/music/Black+Box+Recorder/_/British+Racing+Green + 29 Aug 2008, 11:14 + + Black Box Recorder + 49302df8-9e4f-42ed-8a9c-5d6f8d6cb83c + http://www.last.fm/music/Black+Box+Recorder + + http://userserve-ak.last.fm/serve/34s/14320439.jpg + http://userserve-ak.last.fm/serve/64s/14320439.jpg + http://userserve-ak.last.fm/serve/126/14320439.jpg + + + Bette Davis Eyes + + www.last.fm/music/Kim+Carnes/_/Bette+Davis+Eyes + 31 Jul 2008, 09:49 + + Kim Carnes + 600c5212-a8e6-458e-bd3f-78b6fbfe329a + http://www.last.fm/music/Kim+Carnes + + http://userserve-ak.last.fm/serve/34s/15223033.jpg + http://userserve-ak.last.fm/serve/64s/15223033.jpg + http://userserve-ak.last.fm/serve/126/15223033.jpg + + + Too High to Fly + + www.last.fm/music/Dokken/_/Too+High+to+Fly + 27 Jul 2008, 13:52 + + Dokken + 09ade3bd-b110-4277-b923-7dc32e6a3f92 + http://www.last.fm/music/Dokken + + http://userserve-ak.last.fm/serve/34s/19149665.jpg + http://userserve-ak.last.fm/serve/64s/19149665.jpg + http://userserve-ak.last.fm/serve/126/19149665.jpg + + + If you've got it, you'll get it + + www.last.fm/music/Jestofunk/_/If+you%27ve+got+it%2C+you%27ll+get+it + 27 Jul 2008, 13:42 + + Jestofunk + cacb8596-f62d-4427-9cce-a90f453c3242 + http://www.last.fm/music/Jestofunk + + http://images.amazon.com/images/P/B00003ZKRV.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00003ZKRV.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00003ZKRV.01.MZZZZZZZ.jpg + + + The House of the Rising Sun + + www.last.fm/music/The+Animals/_/The+House+of+the+Rising+Sun + 19 Jul 2008, 16:41 + + The Animals + 4d8afa16-4018-4ca8-8b5e-ede8f9314562 + http://www.last.fm/music/The+Animals + + http://images.amazon.com/images/P/B000003BDD.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000003BDD.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000003BDD.01.MZZZZZZZ.jpg + + + Voodoo Child (Slight Return) (Live Version) + + www.last.fm/music/G3/_/Voodoo+Child+%28Slight+Return%29+%28Live+Version%29 + 19 Jul 2008, 16:31 + + G3 + ec676b1e-9586-479d-926b-25face38e87f + http://www.last.fm/music/G3 + + http://userserve-ak.last.fm/serve/34s/19784029.jpg + http://userserve-ak.last.fm/serve/64s/19784029.jpg + http://userserve-ak.last.fm/serve/126/19784029.jpg + + + You're So Rude (Remastered Album Version) + + www.last.fm/music/Faces/_/You%27re+So+Rude+%28Remastered+Album+Version%29 + 19 Jul 2008, 16:28 + + Faces + 8c7a8406-f15a-408d-b0f6-23be813bdddc + http://www.last.fm/music/Faces + + http://userserve-ak.last.fm/serve/34s/8803083.jpg + http://userserve-ak.last.fm/serve/64s/8803083.jpg + http://userserve-ak.last.fm/serve/126/8803083.jpg + + + Stardust Bubblegum + + www.last.fm/music/Mother+Earth/_/Stardust+Bubblegum + 19 Jul 2008, 16:19 + + Mother Earth + 17058fed-f37e-4a3f-902f-062004040e5d + http://www.last.fm/music/Mother+Earth + + http://images.amazon.com/images/P/B000000OHI.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000000OHI.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000000OHI.01.MZZZZZZZ.jpg + + + Baker Street + + www.last.fm/music/Gerry+Rafferty/_/Baker+Street + 19 Jul 2008, 16:12 + + Gerry Rafferty + 563201cb-721c-4cfb-acca-c1ba69e3d1fb + http://www.last.fm/music/Gerry+Rafferty + + http://images.amazon.com/images/P/B000007O5H.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000007O5H.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B000007O5H.01.MZZZZZZZ.jpg + + + You Bring Me Down + + www.last.fm/music/Sebastian+Bach/_/You+Bring+Me+Down + 19 Jul 2008, 16:03 + + Sebastian Bach + 50f10489-c87e-4df3-800f-be1f8d6bda4b + http://www.last.fm/music/Sebastian+Bach + + http://userserve-ak.last.fm/serve/34s/14068171.jpg + http://userserve-ak.last.fm/serve/64s/14068171.jpg + http://userserve-ak.last.fm/serve/126/14068171.jpg + + + The Glass Prison + + www.last.fm/music/Dream+Theater/_/The+Glass+Prison + 18 Jul 2008, 08:58 + + Dream Theater + 28503ab7-8bf2-4666-a7bd-2644bfc7cb1d + http://www.last.fm/music/Dream+Theater + + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B00005UEAR.01.MZZZZZZZ.jpg + + + The Pusher + + www.last.fm/music/Steppenwolf/_/The+Pusher + 18 Jul 2008, 08:58 + + Steppenwolf + 12ff8858-bfcb-4812-a8dd-7e9debf0cbee + http://www.last.fm/music/Steppenwolf + + http://userserve-ak.last.fm/serve/34s/8673259.jpg + http://userserve-ak.last.fm/serve/64s/8673259.jpg + http://userserve-ak.last.fm/serve/126/8673259.jpg + + + Take a Load Off Fanny + + www.last.fm/music/Bob+Dylan/_/Take+a+Load+Off+Fanny + 18 Jul 2008, 08:58 + + Bob Dylan + 72c536dc-7137-4477-a521-567eeb840fa8 + http://www.last.fm/music/Bob+Dylan + + + + Dreams + + www.last.fm/music/Jason+Luckett/_/Dreams + 11 Jul 2008, 11:14 + + Jason Luckett + 97b552a7-5266-478e-98cf-c920a5e2cf42 + http://www.last.fm/music/Jason+Luckett + + http://userserve-ak.last.fm/serve/34s/8695811.jpg + http://userserve-ak.last.fm/serve/64s/8695811.jpg + http://userserve-ak.last.fm/serve/126/8695811.jpg + + + Hawking + + www.last.fm/music/Paul+Gilbert/_/Hawking + 10 Jul 2008, 17:01 + + Paul Gilbert + 453321a7-3a77-47b0-8125-7bd385f3a730 + http://www.last.fm/music/Paul+Gilbert + + http://userserve-ak.last.fm/serve/34s/10025087.jpg + http://userserve-ak.last.fm/serve/64s/10025087.jpg + http://userserve-ak.last.fm/serve/126/10025087.jpg + + + Guerilla Radio + + www.last.fm/music/Richard+Cheese/_/Guerilla+Radio + 28 Oct 2007, 01:15 + + Richard Cheese + 9bf79f68-c064-44a1-8c2c-5764f1d7c016 + http://www.last.fm/music/Richard+Cheese + + + + Cherries From My Neighbours Tree + + www.last.fm/music/Tok+Tok+Tok/_/Cherries+From+My+Neighbours+Tree + 25 Jul 2007, 16:57 + + Tok Tok Tok + 97d9060d-2cd5-4acd-b44f-c39ea2da4753 + http://www.last.fm/music/Tok+Tok+Tok + + + + For What It's Worth + + www.last.fm/music/Buffalo+Springfield/_/For+What+It%27s+Worth + 28 Jun 2007, 15:39 + + Buffalo Springfield + 22dc19af-d085-4c9b-adfb-22ec256251f1 + http://www.last.fm/music/Buffalo+Springfield + + http://userserve-ak.last.fm/serve/34s/23906803.jpg + http://userserve-ak.last.fm/serve/64s/23906803.jpg + http://userserve-ak.last.fm/serve/126/23906803.jpg + + + It's a Man's Man's Man's World + + www.last.fm/music/James+Brown/_/It%27s+a+Man%27s+Man%27s+Man%27s+World + 16 Apr 2007, 23:20 + + James Brown + 20ff3303-4fe2-4a47-a1b6-291e26aa3438 + http://www.last.fm/music/James+Brown + + http://userserve-ak.last.fm/serve/34s/24491831.jpg + http://userserve-ak.last.fm/serve/64s/24491831.jpg + http://userserve-ak.last.fm/serve/126/24491831.jpg + + + When It Was + + www.last.fm/music/The+Brecker+Brothers/_/When+It+Was + 10 Apr 2007, 22:54 + + The Brecker Brothers + 46bdb0fa-6db1-44ea-b7b1-57de05b2cba1 + http://www.last.fm/music/The+Brecker+Brothers + + http://images.amazon.com/images/P/B0000001U2.03.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0000001U2.03.MZZZZZZZ.jpg + http://images.amazon.com/images/P/B0000001U2.03.MZZZZZZZ.jpg + + + Is It Sweet? (LP Version) + + www.last.fm/music/Bill+Frisell/_/Is+It+Sweet%3F+%28LP+Version%29 + 10 Apr 2007, 22:42 + + Bill Frisell + a21318db-f228-4a4d-8bce-6947a62985a5 + http://www.last.fm/music/Bill+Frisell + + http://userserve-ak.last.fm/serve/34s/8619409.jpg + http://userserve-ak.last.fm/serve/64s/8619409.jpg + http://userserve-ak.last.fm/serve/126/8619409.jpg + + + Lie in Our Graves + + www.last.fm/music/Dave+Matthews+Band/_/Lie+in+Our+Graves + 5 Apr 2007, 21:42 + + Dave Matthews Band + 07e748f1-075e-428d-85dc-ce3be434e906 + http://www.last.fm/music/Dave+Matthews+Band + + http://userserve-ak.last.fm/serve/34s/23748033.jpg + http://userserve-ak.last.fm/serve/64s/23748033.jpg + http://userserve-ak.last.fm/serve/126/23748033.jpg + + + Morning Dance + + www.last.fm/music/Spyro+Gyra/_/Morning+Dance + 8 Nov 2006, 17:15 + + Spyro Gyra + 9a7c8025-1af8-42cd-8df8-857220610bc5 + http://www.last.fm/music/Spyro+Gyra + + http://userserve-ak.last.fm/serve/34s/15534973.jpg + http://userserve-ak.last.fm/serve/64s/15534973.jpg + http://userserve-ak.last.fm/serve/126/15534973.jpg + + + I Love My Computer + + www.last.fm/music/Bad+Religion/_/I+Love+My+Computer + 31 Oct 2006, 15:53 + + Bad Religion + 149e6720-4e4a-41a4-afca-6d29083fc091 + http://www.last.fm/music/Bad+Religion + + http://userserve-ak.last.fm/serve/34s/23060375.jpg + http://userserve-ak.last.fm/serve/64s/23060375.jpg + http://userserve-ak.last.fm/serve/126/23060375.jpg + + + My Lover's Box + + www.last.fm/music/Garbage/_/My+Lover%27s+Box + 4 Jul 2006, 14:43 + + Garbage + f9ef7a22-4262-4596-a2a8-1d19345b8e50 + http://www.last.fm/music/Garbage + + http://userserve-ak.last.fm/serve/34s/8593715.jpg + http://userserve-ak.last.fm/serve/64s/8593715.jpg + http://userserve-ak.last.fm/serve/126/8593715.jpg + + + Melbourne Song + + www.last.fm/music/Colin+Hay/_/Melbourne+Song + 22 Jun 2006, 13:49 + + Colin Hay + 864d7069-57dc-45f6-b408-875b35106dd3 + http://www.last.fm/music/Colin+Hay + + http://userserve-ak.last.fm/serve/34s/8635917.jpg + http://userserve-ak.last.fm/serve/64s/8635917.jpg + http://userserve-ak.last.fm/serve/126/8635917.jpg + + + La Femme d'argent + + www.last.fm/music/Air/_/La+Femme+d%27argent + 22 Jun 2006, 12:34 + + Air + cb67438a-7f50-4f2b-a6f1-2bb2729fd538 + http://www.last.fm/music/Air + + http://images-eu.amazon.com/images/P/B0000262YS.02.THUMBZZZ.jpg + http://images-eu.amazon.com/images/P/B0000262YS.02.MZZZZZZZ.jpg + http://images-eu.amazon.com/images/P/B0000262YS.02.LZZZZZZZ.jpg + + + Pony the Funk + + www.last.fm/music/International+Pony/_/Pony+the+Funk + 22 Jun 2006, 09:45 + + International Pony + 685e3fa1-d4da-452b-b351-39f9fa3327c5 + http://www.last.fm/music/International+Pony + + http://userserve-ak.last.fm/serve/34s/23011205.jpg + http://userserve-ak.last.fm/serve/64s/23011205.jpg + http://userserve-ak.last.fm/serve/126/23011205.jpg + + + Downtown + + www.last.fm/music/Tom+Waits/_/Downtown + 21 Jun 2006, 16:47 + + Tom Waits + c3aeb863-7b26-4388-94e8-5a240f2be21b + http://www.last.fm/music/Tom+Waits + + + + Welcome Home (Sanitarium) + + www.last.fm/music/Metallica/_/Welcome+Home+%28Sanitarium%29 + 21 Jun 2006, 10:48 + + Metallica + 65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab + http://www.last.fm/music/Metallica + + http://userserve-ak.last.fm/serve/34s/8622967.jpg + http://userserve-ak.last.fm/serve/64s/8622967.jpg + http://userserve-ak.last.fm/serve/126/8622967.jpg + + + White Room + + www.last.fm/music/Eric+Clapton/_/White+Room + 1 Jan 1970, 00:00 + + Eric Clapton + 618b6900-0618-4f1e-b835-bccb17f84294 + http://www.last.fm/music/Eric+Clapton + + http://userserve-ak.last.fm/serve/34s/4114211.jpg + http://userserve-ak.last.fm/serve/64s/4114211.jpg + http://userserve-ak.last.fm/serve/126/4114211.jpg + + + Paris Train + + www.last.fm/music/Beth+Orton/_/Paris+Train + 1 Jan 1970, 00:00 + + Beth Orton + 214d84a5-e9e5-4432-af95-8c84da7ba4c0 + http://www.last.fm/music/Beth+Orton + + http://userserve-ak.last.fm/serve/34s/14169919.jpg + http://userserve-ak.last.fm/serve/64s/14169919.jpg + http://userserve-ak.last.fm/serve/126/14169919.jpg + + + Smut + + www.last.fm/music/Tom+Lehrer/_/Smut + 1 Jan 1970, 00:00 + + Tom Lehrer + 359363a8-1dc7-40c9-9337-f5aa507000b6 + http://www.last.fm/music/Tom+Lehrer + + http://userserve-ak.last.fm/serve/34s/12619575.jpg + http://userserve-ak.last.fm/serve/64s/12619575.jpg + http://userserve-ak.last.fm/serve/126/12619575.jpg + + + I Wants To Stay Here + + www.last.fm/music/Ella+Fitzgerald/_/I+Wants+To+Stay+Here + 1 Jan 1970, 00:00 + + Ella Fitzgerald + 54799c0e-eb45-4eea-996d-c4d71a63c499 + http://www.last.fm/music/Ella+Fitzgerald + + http://userserve-ak.last.fm/serve/34s/12618629.jpg + http://userserve-ak.last.fm/serve/64s/12618629.jpg + http://userserve-ak.last.fm/serve/126/12618629.jpg + + + The One That Got Away + + www.last.fm/music/Tom+Waits/_/The+One+That+Got+Away + 1 Jan 1970, 00:00 + + Tom Waits + c3aeb863-7b26-4388-94e8-5a240f2be21b + http://www.last.fm/music/Tom+Waits + + http://images-eu.amazon.com/images/P/B000002GY9.02.THUMBZZZ.jpg + http://images-eu.amazon.com/images/P/B000002GY9.02.MZZZZZZZ.jpg + http://images-eu.amazon.com/images/P/B000002GY9.02.LZZZZZZZ.jpg + + + 180 Degrees + + www.last.fm/music/NOFX/_/180+Degrees + 1 Jan 1970, 00:00 + + NOFX + dcaa4f81-bfb7-44eb-8594-4e74f004b6e4 + http://www.last.fm/music/NOFX + + http://images-eu.amazon.com/images/P/B0000248LI.02.THUMBZZZ.jpg + http://images-eu.amazon.com/images/P/B0000248LI.02.MZZZZZZZ.jpg + http://images-eu.amazon.com/images/P/B0000248LI.02.LZZZZZZZ.jpg + + diff --git a/test/test_user.py b/test/test_user.py new file mode 100644 index 0000000..f0097a0 --- /dev/null +++ b/test/test_user.py @@ -0,0 +1,270 @@ +#!/usr/bin/env python + +__author__ = "Abhinav Sarkar " +__version__ = "0.2" +__license__ = "GNU Lesser General Public License" + +import unittest +import datetime +import sys, os + +from wsgi_intercept.urllib2_intercept import install_opener +import wsgi_intercept +from wsgi_test_app import create_wsgi_app + +install_opener() +wsgi_intercept.add_wsgi_intercept('ws.audioscrobbler.com', 80, create_wsgi_app) + +sys.path.append(os.path.dirname(os.path.dirname(__file__))) +from lastfm import Api + +class TestUser(unittest.TestCase): + """ A test class for the Geo module. """ + def setUp(self): + self.user = api.get_user('RJ') + + def tearDown(self): + pass + + def testUserStats(self): + self.assertAlmostEqual(self.user.nearest_neighbour.stats.match, 0.000826, 5) + + def testUserPastEvents(self): + self.assertEqual([e.id for e in self.user.past_events[:5]], + [755511, 879065, 842991, 457062, 394026]) + + def testUserFriends(self): + friends = ['lobsterclaw', 'jajo', 'mremond', 'Orlenay', 'schlagschnitzel', + 'Edouard', 'naniel', 'dunk', 'RUPERT', 'mxcl'] + self.assertEqual([f.name for f in self.user.friends[:10]], friends) + + def testUserNeighbours(self): + neighbours = ['Lucas-Lentini', 'rockerD82', 'count-bassy', 'greg_a', + 'STLJA', 'clauaud', 'Biaxident_', 'frood73', 'fillito', + 'CHBeat'] + self.assertEqual([n.name for n in self.user.neighbours[:10]], + neighbours) + + def testUserNearestNeighbour(self): + self.assertEqual(self.user.nearest_neighbour.name, 'Lucas-Lentini') + + def testUserPlaylists(self): + self.assertEqual([p.id for p in self.user.playlists], + [5606, 2615079, 2614993, 2612216]) + + def testUserLovedTracks(self): + tracks = [('Young', 'Mokele'), + ('Hell March', 'Frank Klepacki'), + ('Summertime', 'Will Smith'), + ('Calm', 'Wayne Shorter'), + ('The One and Only', 'Chesney Hawkes'), + ('Cliffs of Dover', 'Eric Johnson'), + ('Orion (Instrumental)', 'Metallica'), + ('Whiskey in the Jar', 'Metallica'), + ('Loverman', 'Metallica'), + ('Turn the Page', 'Metallica')] + self.assertEqual([(t.name, t.artist.name) for t in self.user.loved_tracks[:10]], + tracks) + + def testUserRecentTracks(self): + tracks = [('Sahara', 'Cutting Crew'), + ("Don't Look Back", 'Cutting Crew'), + ('(I Just) Died in Your Arms', 'Cutting Crew'), + ('Fear of Falling', 'Cutting Crew'), + ('Life in a Dangerous Time', 'Cutting Crew'), + ("I've Been in Love Before", 'Cutting Crew'), + ('One for the Mockingbird', 'Cutting Crew'), + ('Any Colour', 'Cutting Crew'), + ('Brag', 'Cutting Crew'), + ('Binkies Return', 'Cutting Crew')] + self.assertEqual([(t.name, t.artist.name) for t in self.user.recent_tracks[:10]], + tracks) + + def testUserMostRecentTrack(self): + mrt = self.user.most_recent_track + self.assertEquals((mrt.name, mrt.artist.name), ('Sahara', 'Cutting Crew')) + + def testUserTopAlbums(self): + albums = [('Slave To The Grid', 'Skid Row'), + ('Images and Words', 'Dream Theater'), + ('Once in a Livetime', 'Dream Theater'), + ("Nina Simone's Finest Hour", 'Nina Simone'), + ('Sex and Religion', 'Steve Vai'), + ('title', "Slamin' Gladys"), + ('Time Bomb', 'Buckcherry'), + ('Day for Night', "Spock's Beard"), + ('Liquid Tension Experiment', 'Liquid Tension Experiment'), + ('Rage Against the Machine', 'Rage Against the Machine')] + self.assertEqual([(a.name, a.artist.name) for a in self.user.top_albums[:10]], + albums) + + def testUserTopAlbum(self): + ta = self.user.top_album + self.assertEqual((ta.name, ta.artist.name), ('Slave To The Grid', 'Skid Row')) + + def testUserTopArtists(self): + artists = ['Dream Theater', 'Dire Straits', 'Miles Davis', 'Metallica', + "Guns N' Roses", 'Aerosmith', 'Joe Satriani', + 'Rage Against the Machine', 'Led Zeppelin', 'Buckcherry'] + self.assertEqual([a.name for a in self.user.top_artists[:10]], + artists) + + def testUserTopArtist(self): + self.assertEqual(self.user.top_artist.name, 'Dream Theater') + + def testUserTopTracks(self): + tracks = [('Learning to Live', 'Dream Theater'), + ('Three Minute Warning', 'Liquid Tension Experiment'), + ('Pull Me Under', 'Dream Theater'), + ('Take the Time', 'Dream Theater'), + ('Under a Glass Moon', 'Dream Theater'), + ('Another Day', 'Dream Theater'), + ('The Pusher', 'Steppenwolf'), + ('Sultans of Swing', 'Dire Straits'), + ('Wait for Sleep', 'Dream Theater'), + ('Caught in a Web', 'Dream Theater')] + self.assertEqual( [(t.name, t.artist.name) for t in self.user.top_tracks[:10]], + tracks) + + def testUserTopTrack(self): + tt = self.user.top_track + self.assertEquals((tt.name, tt.artist.name), + ('Learning to Live', 'Dream Theater')) + + def testUserTopTags(self): + tags = ['rock', 'jazz', 'metal', 'mellow', '80s', + 'guitar', 'checkitout', 'funky', 'stoner rock', 'funk'] + self.assertEquals([t.name for t in self.user.top_tags[:10]], tags) + + def testUserTopTag(self): + self.assertEquals(self.user.top_tag.name, 'rock') + + def testUserWeeklyChartList(self): + wcl = [('Sun, 13 Feb 2005', 'Sun, 20 Feb 2005'), + ('Sun, 20 Feb 2005', 'Sun, 27 Feb 2005'), + ('Sun, 27 Feb 2005', 'Sun, 06 Mar 2005'), + ('Sun, 13 Mar 2005', 'Sun, 20 Mar 2005'), + ('Sun, 20 Mar 2005', 'Sun, 27 Mar 2005'), + ('Sun, 27 Mar 2005', 'Sun, 03 Apr 2005'), + ('Sun, 03 Apr 2005', 'Sun, 10 Apr 2005'), + ('Sun, 10 Apr 2005', 'Sun, 17 Apr 2005'), + ('Sun, 17 Apr 2005', 'Sun, 24 Apr 2005'), + ('Sun, 01 May 2005', 'Sun, 08 May 2005')] + self.assertEqual( + [ + ( + wc.start.date().strftime('%a, %d %b %Y'), + wc.end.date().strftime('%a, %d %b %Y') + ) + for wc in self.user.weekly_chart_list[:10] + ], + wcl + ) + + def testUserGetWeeklyArtistChart(self): + artists = ['Dream Theater', 'R.E.M.', 'Metallica', 'The Smashing Pumpkins', + 'Counting Crows', 'Ludwig van Beethoven', 'Johann Sebastian Bach', + 'Mr. Big', 'Muse', 'Bruce Springsteen'] + wc = self.user.weekly_chart_list[0] + self.assertEqual( + [artist.name + for artist in self.user.get_weekly_artist_chart(wc.start, wc.end).artists[:10]], + artists) + + def testUserGetWeeklyAlbumChart(self): + albums = [('1962-1966: The Red Album', 'The Beatles', 1), + ('The X List (Disc 2)', 'Placebo', 1), + ('Killing Ground', 'Saxon', 1), + ('Thriller', 'Michael Jackson', 1), + ('Deep Purple Hit The Road - Mk 2 & Mk 3', 'Deep Purple', 1), + ('Youth and Young Manhood', 'Kings of Leon', 1), + ('The Greyest of Blue Skies', 'Finger Eleven', 1), + ('Ultra', 'Depeche Mode', 1), + ('Sing the Sorrow', 'AFI', 1), + ('Reckless', 'Bryan Adams', 1)] + wc = self.user.weekly_chart_list[0] + self.assertEqual( + [(album.name, album.artist.name, album.stats.playcount) + for album in self.user.get_weekly_album_chart(wc.start, wc.end).albums[:10]], + albums) + + def testUserGetWeeklyTrackChart(self): + tracks = [('This Is Love', 'PJ Harvey', 2), + ('Track 06', 'Muse', 1), + ('Snail', 'The Smashing Pumpkins', 1), + ('The Struggle Within', 'Metallica', 1), + ('Burn', 'Deep Purple', 1), + ('Loaded', 'Deacon Blue', 1), + ('Anything Goes', 'Frank Sinatra', 1), + ('Flying Home', 'Stanley Jordan', 1), + ('Blackmail', 'John Lee Hooker & Miles Davis', 1), + ("Ladie's Nite In Buffalo-", 'David Lee Roth', 1)] + wc = self.user.weekly_chart_list[0] + self.assertEqual( + [(track.name, track.artist.name, track.stats.playcount) + for track in self.user.get_weekly_track_chart(wc.start, wc.end).tracks[:10]], + tracks) + + def testUserCompare(self): + tm = self.user.compare('abhin4v') + self.assertAlmostEqual(tm.score, 0.81405, 4) + self.assertEqual([a.name for a in tm.artists], + ['Coldplay', 'Red Hot Chili Peppers', 'The Killers', 'The Beatles', 'U2']) + + def testUserLibraryAlbums(self): + albums = [('Dire Straits', 'Dire Straits', 126), + ('The History of Rock', 'Kid Rock', 125), + ('Awake', 'Dream Theater', 124), + ('And All That Could Have Been', 'Nine Inch Nails', 124), + ('A Night at the Hip Hopera', 'The Kleptones', 124), + ('Doggystyle', 'Snoop Dogg', 124), + ('Evergreen', 'Echo & the Bunnymen', 122), + ('Falling Into Infinity', 'Dream Theater', 121), + ('Blood Sugar Sex Magik', 'Red Hot Chili Peppers', 117), + ('The Very Best of Level 42', 'Level 42', 116)] + self.assertEqual([(album.name, album.artist.name, album.stats.playcount) + for album in self.user.library.albums[10:20]], albums) + + def testUserLibraryArtists(self): + artists = ['Mr. Big', 'Jimi Hendrix', 'Nine Inch Nails', + 'Nina Simone', 'Red Hot Chili Peppers', 'Snoop Dogg', + 'Counting Crows', 'Def Leppard', 'Firebird', 'Free'] + self.assertEqual([artist.name for artist + in self.user.library.artists[10:20]], artists) + + def testUserLibraryTracks(self): + tracks = [('All Right Now', 'Free', 30), + ('Surfing With the Alien', 'Joe Satriani', 30), + ('Cowboys', 'Portishead', 29), + ('Trial of Tears', 'Dream Theater', 29), + ('All Along the Watchtower', 'Jimi Hendrix', 28), + ('Surrounded', 'Dream Theater', 28), + ('Closer', 'Nine Inch Nails', 28), + ('The Glass Prison', 'Dream Theater', 28), + ('Superstition', 'Stevie Wonder', 28), + ('Hollow Years', 'Dream Theater', 28)] + self.assertEqual([(track.name, track.artist.name, track.stats.playcount) + for track in self.user.library.tracks[10:20]], tracks) + +apikey = "152a230561e72192b8b0f3e42362c6ff" +api = Api(apikey, no_cache = True) + +data = { + 'name': 'RJ', + 'real_name': 'Richard Jones ', + 'url': 'http://www.last.fm/user/RJ', + 'image': {'large': 'http://userserve-ak.last.fm/serve/126/8270359.jpg', + 'medium': 'http://userserve-ak.last.fm/serve/64/8270359.jpg', + 'small': 'http://userserve-ak.last.fm/serve/34/8270359.jpg'}, + 'autheticated': False, + 'events': [api.get_event(834368)] +} +for k,v in data.iteritems(): + def testFunc(self): + self.assertEqual(getattr(self.user, k), v) + setattr(TestUser, "testUser%s" % k.replace('_', ' ').title().replace(' ', ''), testFunc) + +test_suite = unittest.TestLoader().loadTestsFromTestCase(TestUser) + +if __name__ == '__main__': + unittest.main()