Permalink
Browse files

Adds specs and fixtures for new chart methods

  • Loading branch information...
1 parent 28e57bf commit a00e5e39a70095d83cfa0e33294d672859aa8fb4 @rahilsondhi committed Feb 25, 2013
@@ -0,0 +1,171 @@
+<?xml version="1.0" encoding="utf-8"?>
+<lfm status="ok">
+ <tracks page="3" perPage="10" totalPages="50" total="500">
+ <track>
+ <name>Sazed</name>
+ <duration>204</duration>
+ <percentagechange>524</percentagechange>
+ <mbid>bdbcc9d6-8085-47bb-a62c-fe4ff732f203</mbid>
+ <url>http://www.last.fm/music/Starfucker/_/Sazed</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Starfucker</name>
+ <mbid>0a19e3e4-7970-4adf-8439-90bdcc9c8661</mbid>
+ <url>http://www.last.fm/music/Starfucker</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86651609.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86651609.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86651609.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86651609.png</image>
+ </track>
+ <track>
+ <name>Kahlil Gibran</name>
+ <duration>239</duration>
+ <percentagechange>522</percentagechange>
+ <mbid>8852941e-68a6-4090-b49f-02d85906fb9c</mbid>
+ <url>http://www.last.fm/music/Starfucker/_/Kahlil+Gibran</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Starfucker</name>
+ <mbid>0a19e3e4-7970-4adf-8439-90bdcc9c8661</mbid>
+ <url>http://www.last.fm/music/Starfucker</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86651609.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86651609.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86651609.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86651609.png</image>
+ </track>
+ <track>
+ <name>Isea</name>
+ <duration>52</duration>
+ <percentagechange>518</percentagechange>
+ <mbid>92a5bf48-07c7-4114-90c7-25b10d185359</mbid>
+ <url>http://www.last.fm/music/Starfucker/_/Isea</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Starfucker</name>
+ <mbid>0a19e3e4-7970-4adf-8439-90bdcc9c8661</mbid>
+ <url>http://www.last.fm/music/Starfucker</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86651609.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86651609.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86651609.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86651609.png</image>
+ </track>
+ <track>
+ <name>Can't Hold Us (feat. Ray Dalton)</name>
+ <duration>265</duration>
+ <percentagechange>514</percentagechange>
+ <mbid/>
+ <url>http://www.last.fm/music/Macklemore+&amp;+Ryan+Lewis/_/Can%27t+Hold+Us+(feat.+Ray+Dalton)</url>
+ <streamable fulltrack="0">0</streamable>
+ <artist>
+ <name>Macklemore &amp; Ryan Lewis</name>
+ <mbid/>
+ <url>http://www.last.fm/music/Macklemore+&amp;+Ryan+Lewis</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/67797712.jpg</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/67797712.jpg</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/67797712.jpg</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/67797712.jpg</image>
+ </track>
+ <track>
+ <name>Beach Monster</name>
+ <duration>129</duration>
+ <percentagechange>505</percentagechange>
+ <mbid>a5947ed0-4071-4afd-a594-cc898e97bfa7</mbid>
+ <url>http://www.last.fm/music/Starfucker/_/Beach+Monster</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Starfucker</name>
+ <mbid>0a19e3e4-7970-4adf-8439-90bdcc9c8661</mbid>
+ <url>http://www.last.fm/music/Starfucker</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86651609.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86651609.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86651609.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86651609.png</image>
+ </track>
+ <track>
+ <name>Thrift Shop (feat. Wanz)</name>
+ <duration>237</duration>
+ <percentagechange>502</percentagechange>
+ <mbid/>
+ <url>http://www.last.fm/music/Macklemore+&amp;+Ryan+Lewis/_/Thrift+Shop+(feat.+Wanz)</url>
+ <streamable fulltrack="0">0</streamable>
+ <artist>
+ <name>Macklemore &amp; Ryan Lewis</name>
+ <mbid/>
+ <url>http://www.last.fm/music/Macklemore+&amp;+Ryan+Lewis</url>
+ </artist>
+ </track>
+ <track>
+ <name>I Don't Want to See</name>
+ <duration>213</duration>
+ <percentagechange>494</percentagechange>
+ <mbid>1d909941-c774-4a1e-baea-7ee041c27ed1</mbid>
+ <url>http://www.last.fm/music/Starfucker/_/I+Don%27t+Want+to+See</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Starfucker</name>
+ <mbid>0a19e3e4-7970-4adf-8439-90bdcc9c8661</mbid>
+ <url>http://www.last.fm/music/Starfucker</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86651609.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86651609.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86651609.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86651609.png</image>
+ </track>
+ <track>
+ <name>Fortune's Fool</name>
+ <duration>125</duration>
+ <percentagechange>478</percentagechange>
+ <mbid>95d172ec-1c96-40c6-b20a-aaf83d8897ee</mbid>
+ <url>http://www.last.fm/music/Starfucker/_/Fortune%27s+Fool</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Starfucker</name>
+ <mbid>0a19e3e4-7970-4adf-8439-90bdcc9c8661</mbid>
+ <url>http://www.last.fm/music/Starfucker</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86651609.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86651609.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86651609.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86651609.png</image>
+ </track>
+ <track>
+ <name>Golden Light</name>
+ <duration>283</duration>
+ <percentagechange>475</percentagechange>
+ <mbid>74fb84ab-8781-4aaa-baf3-40683309350d</mbid>
+ <url>http://www.last.fm/music/Starfucker/_/Golden+Light</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Starfucker</name>
+ <mbid>0a19e3e4-7970-4adf-8439-90bdcc9c8661</mbid>
+ <url>http://www.last.fm/music/Starfucker</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86651609.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86651609.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86651609.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86651609.png</image>
+ </track>
+ <track>
+ <name>Vapaus käteen jää</name>
+ <duration>242</duration>
+ <percentagechange>468</percentagechange>
+ <mbid/>
+ <url>http://www.last.fm/music/Haloo+Helsinki!/_/Vapaus+k%C3%A4teen+j%C3%A4%C3%A4</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Haloo Helsinki!</name>
+ <mbid>e80bb0ef-c6bb-4769-8d35-4904617c5704</mbid>
+ <url>http://www.last.fm/music/Haloo+Helsinki!</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86660563.jpg</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86660563.jpg</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86660563.jpg</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86660563.jpg</image>
+ </track>
+ </tracks>
+</lfm>
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="utf-8"?>
+<lfm status="ok">
+ <tracks page="3" perPage="10" totalPages="50" total="500">
+ <track>
+ <name>Inhaler</name>
+ <duration>294</duration>
+ <loves>223</loves>
+ <mbid>bce7b9d3-c136-48c8-9170-2d64534d2d1b</mbid>
+ <url>http://www.last.fm/music/Foals/_/Inhaler</url>
+ <streamable fulltrack="0">0</streamable>
+ <artist>
+ <name>Foals</name>
+ <mbid>6a65d878-fcd0-42cf-aff9-ca1d636a8bcc</mbid>
+ <url>http://www.last.fm/music/Foals</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86656233.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86656233.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86656233.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86656233.png</image>
+ </track>
+ <track>
+ <name>Jubilee Street</name>
+ <duration>396</duration>
+ <loves>220</loves>
+ <mbid/>
+ <url>http://www.last.fm/music/Nick+Cave+and+the+Bad+Seeds/_/Jubilee+Street</url>
+ <streamable fulltrack="0">0</streamable>
+ <artist>
+ <name>Nick Cave and the Bad Seeds</name>
+ <mbid/>
+ <url>http://www.last.fm/music/Nick+Cave+and+the+Bad+Seeds</url>
+ </artist>
+ </track>
+ <track>
+ <name>Born to Die</name>
+ <duration>286</duration>
+ <loves>211</loves>
+ <mbid>498bdb1b-3123-49c6-a100-309c5d4e3e31</mbid>
+ <url>http://www.last.fm/music/Lana+Del+Rey/_/Born+to+Die</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Lana Del Rey</name>
+ <mbid>b7539c32-53e7-4908-bda3-81449c367da6</mbid>
+ <url>http://www.last.fm/music/Lana+Del+Rey</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/86257403.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/86257403.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/86257403.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/86257403.png</image>
+ </track>
+ <track>
+ <name>Dropped</name>
+ <duration>299</duration>
+ <loves>208</loves>
+ <mbid>517f340d-26b0-4b7c-ab3f-415cd616bcba</mbid>
+ <url>http://www.last.fm/music/Atoms+for+Peace/_/Dropped</url>
+ <streamable fulltrack="0">0</streamable>
+ <artist>
+ <name>Atoms for Peace</name>
+ <mbid>9e299bee-d7e2-49f3-8cd7-d6b28ab204d1</mbid>
+ <url>http://www.last.fm/music/Atoms+for+Peace</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/87120973.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/87120973.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/87120973.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/87120973.png</image>
+ </track>
+ <track>
+ <name>Amok</name>
+ <duration>326</duration>
+ <loves>208</loves>
+ <mbid>4b251f9c-4fe3-4723-a84d-54bca30e525a</mbid>
+ <url>http://www.last.fm/music/Atoms+for+Peace/_/Amok</url>
+ <streamable fulltrack="0">0</streamable>
+ <artist>
+ <name>Atoms for Peace</name>
+ <mbid>9e299bee-d7e2-49f3-8cd7-d6b28ab204d1</mbid>
+ <url>http://www.last.fm/music/Atoms+for+Peace</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/87120973.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/87120973.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/87120973.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/87120973.png</image>
+ </track>
+ <track>
+ <name>Thrift Shop (feat. Wanz)</name>
+ <duration>237</duration>
+ <loves>208</loves>
+ <mbid/>
+ <url>http://www.last.fm/music/Macklemore+&amp;+Ryan+Lewis/_/Thrift+Shop+(feat.+Wanz)</url>
+ <streamable fulltrack="0">0</streamable>
+ <artist>
+ <name>Macklemore &amp; Ryan Lewis</name>
+ <mbid/>
+ <url>http://www.last.fm/music/Macklemore+&amp;+Ryan+Lewis</url>
+ </artist>
+ </track>
+ <track>
+ <name>One Way Or Another (Teenage Kicks)</name>
+ <duration>157</duration>
+ <loves>210</loves>
+ <mbid>13c26ad0-651f-4079-983d-0434c490543b</mbid>
+ <url>http://www.last.fm/music/One+Direction/_/One+Way+Or+Another+(Teenage+Kicks)</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>One Direction</name>
+ <mbid>1a425bbd-cca4-4b2c-aeb7-71cb176c828a</mbid>
+ <url>http://www.last.fm/music/One+Direction</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/87108431.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/87108431.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/87108431.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/87108431.png</image>
+ </track>
+ <track>
+ <name>Stairway to Heaven</name>
+ <duration>480</duration>
+ <loves>210</loves>
+ <mbid>31d0df7d-de64-4c85-b591-24d0c6bdc717</mbid>
+ <url>http://www.last.fm/music/Led+Zeppelin/_/Stairway+to+Heaven</url>
+ <streamable fulltrack="0">0</streamable>
+ <artist>
+ <name>Led Zeppelin</name>
+ <mbid>678d88b2-87b0-403b-b63d-5da7465aecc3</mbid>
+ <url>http://www.last.fm/music/Led+Zeppelin</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/78946605.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/78946605.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/78946605.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/78946605.png</image>
+ </track>
+ <track>
+ <name>Wonderwall</name>
+ <duration>286</duration>
+ <loves>209</loves>
+ <mbid>656e009d-4354-42b9-9de3-c358116b55b4</mbid>
+ <url>http://www.last.fm/music/Oasis/_/Wonderwall</url>
+ <streamable fulltrack="0">0</streamable>
+ <artist>
+ <name>Oasis</name>
+ <mbid>39ab1aed-75e0-4140-bd47-540276886b60</mbid>
+ <url>http://www.last.fm/music/Oasis</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/31381233.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/31381233.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/31381233.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/31381233.png</image>
+ </track>
+ <track>
+ <name>Locked Out of Heaven</name>
+ <duration>234</duration>
+ <loves>208</loves>
+ <mbid>97f3775a-4ed5-485d-82ea-b40c53dc7a66</mbid>
+ <url>http://www.last.fm/music/Bruno+Mars/_/Locked+Out+of+Heaven</url>
+ <streamable fulltrack="0">1</streamable>
+ <artist>
+ <name>Bruno Mars</name>
+ <mbid>afb680f2-b6eb-4cd7-a70b-a63b25c763d5</mbid>
+ <url>http://www.last.fm/music/Bruno+Mars</url>
+ </artist>
+ <image size="small">http://userserve-ak.last.fm/serve/34s/82499331.png</image>
+ <image size="medium">http://userserve-ak.last.fm/serve/64s/82499331.png</image>
+ <image size="large">http://userserve-ak.last.fm/serve/126/82499331.png</image>
+ <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/82499331.png</image>
+ </track>
+ </tracks>
+</lfm>
Oops, something went wrong.

0 comments on commit a00e5e3

Please sign in to comment.