# \[WS\] Last.fm Genre/Mood with Whitelist

**URL:** https://community.mp3tag.de/t/ws-last-fm-genre-mood-with-whitelist/10968
**Category:** Web Sources Scripts
**Created:** [October 18, 2010, 1:39pm UTC](https://community.mp3tag.de/t/ws-last-fm-genre-mood-with-whitelist/10968 "2010-10-18T13:39:25Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![hosteddinner](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/9de053/32.png) [@hosteddinner](https://community.mp3tag.de/u/hosteddinner)
#### Post date: [October 18, 2010, 1:39pm UTC](https://community.mp3tag.de/t/ws-last-fm-genre-mood-with-whitelist/10968/1 "2010-10-18T13:39:25Z")

</div>

I wrote a script which gets genre and mood (with a whitelist) from last.fm tags of the title:

You need to know the artist and the title of the track (just works proper with single track choosen)

Edit 19.10: Overnight I got the idea to fetch tags from the album, so now there are two Versions: One gets tags from track and one which gets tags from album. Second one works good if you choose an complete album.  
Attetion: Sometimes your artist/track/album tag must match exactly of these at last.fm to get any result... Nevertheless try it out...

Edit 1.1.11 😃 : Now there are 3 Versions, 1 additional which gets tags just from artist...

[Genre\_and\_Mood.zip](https://community.mp3tag.de/uploads/default/original/2X/7/72f57fa18306c8f045dd5b509d7c1092765e934e.zip) (6.47 KB)

---

_[View the full topic](https://community.mp3tag.de/t/ws-last-fm-genre-mood-with-whitelist/10968)._
