koel/tests/blobs/lastfm/album.xml
An Phan cf27ed713d First integration with Last.fm
Koel can now integrate and use the rich information from Last.fm. Now
whenever a song is played, its album and artist information will be
queried from Last.fm and cached for later use. What's better, if an
album has no cover, Koel will try to update its cover if one is found on
Last.fm.

In order to use this feature, users only need to provide valid Last.fm
API credentials (namely LASTFM_API_KEY and LASTFM_API_SECRET) in .env. A
npm and gulp rebuild is also required - just like with every update.
2015-12-20 00:36:44 +08:00

54 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<lfm status="ok"><album><name>Epica</name>
<artist>Kamelot</artist>
<mbid>4c5b22d5-e901-3e0c-89b1-ded24953449a</mbid>
<url>http://www.last.fm/music/Kamelot/Epica</url>
<image size="small">http://foo.bar/small.jpg</image>
<image size="medium">http://foo.bar/medium.jpg</image>
<image size="large">http://foo.bar/large.jpg</image>
<image size="extralarge">http://foo.bar/extralarge.jpg</image>
<image size="mega">http://foo.bar/mega.jpg</image>
<image size="">http://foo.bar/fuckisthis.jpg</image>
<listeners>184505</listeners>
<playcount>4433646</playcount>
<tracks><track rank="1"><name>Track 1</name>
<url>http://foo/track1</url>
<duration>100</duration>
<streamable fulltrack="0">0</streamable>
<artist><name>Kamelot</name>
<mbid>46f4cd77-8870-4ad8-a205-1bee18901d0f</mbid>
<url>http://www.last.fm/music/Kamelot</url>
</artist>
</track>
<track rank="2"><name>Track 2</name>
<url>http://foo/track2</url>
<duration>150</duration>
<streamable fulltrack="0">0</streamable>
<artist><name>Kamelot</name>
<mbid>46f4cd77-8870-4ad8-a205-1bee18901d0f</mbid>
<url>http://www.last.fm/music/Kamelot</url>
</artist>
</track>
</tracks>
<tags><tag><name>Power metal</name>
<url>http://www.last.fm/tag/Power+metal</url>
</tag>
<tag><name>symphonic metal</name>
<url>http://www.last.fm/tag/symphonic+metal</url>
</tag>
<tag><name>Progressive metal</name>
<url>http://www.last.fm/tag/Progressive+metal</url>
</tag>
<tag><name>Melodic Power Metal</name>
<url>http://www.last.fm/tag/Melodic+Power+Metal</url>
</tag>
<tag><name>albums I own</name>
<url>http://www.last.fm/tag/albums+I+own</url>
</tag>
</tags>
<wiki><published>03 Sep 2008, 01:16</published>
<summary>Quisque ut nisi.</summary>
<content>Quisque ut nisi. Vestibulum ullamcorper mauris at ligula.</content>
</wiki>
</album>
</lfm>