Last.FM artist matching issue

Plex media server 0.9.8.17

Windows 7 x64

 

Seems plex has some issues looking up a specific artist on Last.FM.  The artists is called Ra - http://www.last.fm/music/Ra

Plex can properly lookup an album, but not the artist by itself.

![post-117192-0-47997100-1388529784.png|442x500](upload://iDdz3aHgg0b61ZZzfCIBVnNCEll.png)

 

Attempting to perform a manual match only returns "Ramones".  Below is the lastfm.log:

2013-12-31 12:57:09,223 (4e0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.lastfm/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M2CkFydGlzdHMxMAptZWRpYV90eXBlYjFzNgptYW51YWxyMQpzNgprd2FyZ3MzCm5zNAp5ZWFyczUKMTg4NjhzMgppZHMyClJhczYKYXJ0aXN0cjAK

2013-12-31 12:57:09,226 (4e0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.lastfm/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M2CkFydGlzdHMxMAptZWRpYV90eXBlYjFzNgptYW51YWxyMQpzNgprd2FyZ3MzCm5zNAp5ZWFyczUKMTg4NjhzMgppZHMyClJhczYKYXJ0aXN0cjAK

2013-12-31 12:57:09,226 (4e0) :  INFO (agentkit:915) - Searching for matches for {‘artist’: ‘Ra’, ‘id’: ‘18868’, ‘year’: None}

2013-12-31 12:57:09,227 (4e0) :  DEBUG (networking:172) - Requesting ‘http://127.0.0.1:32400/library/metadata/18868/tree

2013-12-31 12:57:09,286 (4e0) :  INFO (logkit:16) - Artist search: Ra

2013-12-31 12:57:09,286 (4e0) :  INFO (logkit:16) - Running custom search…

2013-12-31 12:57:09,328 (4e0) :  DEBUG (networking:167) - Fetching ‘http://lastfm-z.plexapp.com/2.0/?method=artist.search&artist=ra&page=1&limit=9&format=json&api_key=d5310352469c2631e5976d0f4a599773’ from the HTTP cache

2013-12-31 12:57:09,368 (4e0) :  INFO (logkit:16) - Fetching artist’s albums and applying album bonus.

2013-12-31 12:57:09,401 (4e0) :  DEBUG (networking:167) - Fetching ‘http://lastfm-z.plexapp.com/2.0/?method=artist.gettopalbums&artist=radiohead&page=1&limit=50&format=json&api_key=d5310352469c2631e5976d0f4a599773’ from the HTTP cache

2013-12-31 12:57:09,486 (4e0) :  INFO (logkit:16) - Artist result: Radiohead dist: 21 album bonus: 0 score: 69

2013-12-31 12:57:09,486 (4e0) :  INFO (logkit:16) - Skipping artist, didn’t meet minimum score of 75

2013-12-31 12:57:09,486 (4e0) :  INFO (logkit:16) - Fetching artist’s albums and applying album bonus.

2013-12-31 12:57:09,520 (4e0) :  DEBUG (networking:167) - Fetching ‘http://lastfm-z.plexapp.com/2.0/?method=artist.gettopalbums&artist=rage%20against%20the%20machine&page=1&limit=50&format=json&api_key=d5310352469c2631e5976d0f4a599773’ from the HTTP cache

2013-12-31 12:57:09,625 (4e0) :  INFO (logkit:16) - Artist result: Rage Against the Machine dist: 66 album bonus: 0 score: 24

2013-12-31 12:57:09,625 (4e0) :  INFO (logkit:16) - Skipping artist, didn’t meet minimum score of 75

2013-12-31 12:57:09,625 (4e0) :  INFO (logkit:16) - Fetching artist’s albums and applying album bonus.

2013-12-31 12:57:09,658 (4e0) :  DEBUG (networking:167) - Fetching ‘http://lastfm-z.plexapp.com/2.0/?method=artist.gettopalbums&artist=rammstein&page=1&limit=50&format=json&api_key=d5310352469c2631e5976d0f4a599773’ from the HTTP cache

2013-12-31 12:57:09,742 (4e0) :  INFO (logkit:16) - Applying album bonus of: 1

2013-12-31 12:57:09,742 (4e0) :  INFO (logkit:16) - Artist result: Rammstein dist: 21 album bonus: 1 score: 70

2013-12-31 12:57:09,742 (4e0) :  INFO (logkit:16) - Skipping artist, didn’t meet minimum score of 75

2013-12-31 12:57:09,742 (4e0) :  INFO (logkit:16) - Fetching artist’s albums and applying album bonus.

2013-12-31 12:57:09,775 (4e0) :  DEBUG (networking:167) - Fetching ‘http://lastfm-z.plexapp.com/2.0/?method=artist.gettopalbums&artist=ramones&page=1&limit=50&format=json&api_key=d5310352469c2631e5976d0f4a599773’ from the HTTP cache

2013-12-31 12:57:09,877 (4e0) :  INFO (logkit:16) - Artist result: Ramones dist: 15 album bonus: 0 score: 75

2013-12-31 12:57:09,877 (4e0) :  INFO (logkit:16) - Fetching artist’s albums and applying album bonus.

2013-12-31 12:57:09,910 (4e0) :  DEBUG (networking:167) - Fetching ‘http://lastfm-z.plexapp.com/2.0/?method=artist.gettopalbums&artist=ray%20charles&page=1&limit=50&format=json&api_key=d5310352469c2631e5976d0f4a599773’ from the HTTP cache

2013-12-31 12:57:10,015 (4e0) :  INFO (logkit:16) - Artist result: Ray Charles dist: 27 album bonus: 0 score: 63

2013-12-31 12:57:10,015 (4e0) :  INFO (logkit:16) - Skipping artist, didn’t meet minimum score of 75

2013-12-31 12:57:10,015 (4e0) :  INFO (logkit:16) - Artist result: Razorlight dist: 24 album bonus: 0 score: 66

2013-12-31 12:57:10,015 (4e0) :  INFO (logkit:16) - Skipping artist, didn’t meet minimum score of 75

2013-12-31 12:57:10,016 (4e0) :  INFO (logkit:16) - Artist result: TV on the Radio dist: 39 album bonus: 0 score: 51

2013-12-31 12:57:10,016 (4e0) :  INFO (logkit:16) - Skipping artist, didn’t meet minimum score of 75

2013-12-31 12:57:10,016 (4e0) :  INFO (logkit:16) - Artist result: The Raconteurs dist: 32 album bonus: 0 score: 58

2013-12-31 12:57:10,016 (4e0) :  INFO (logkit:16) - Skipping artist, didn’t meet minimum score of 75

2013-12-31 12:57:10,016 (4e0) :  INFO (logkit:16) - Artist result: Corinne Bailey Rae dist: 48 album bonus: 0 score: 42

2013-12-31 12:57:10,016 (4e0) :  INFO (logkit:16) - Skipping artist, didn’t meet minimum score of 75

2013-12-31 12:57:10,016 (4e0) :  DEBUG (runtime:915) - Response: [200] str, 620 bytes

Yes, if one searches for "Ra" on Last.fm artists, a lot of others are returned and Ra isnt in the list, so seems to be more of an issue with Last.FM.

Taking the search URL and modifying it to http://lastfm-z.plexapp.com/2.0/?method=artist.gettopalbums&artist=ra&page=1&limit=50&format=json&api_key=d5310352469c2631e5976d0f4a599773  does appear to give the correct info/albums for the RA artist. 

 

How does one force Plex to a specific artist that exists but it cannot find?

Yep, LastFM has some matching issues.  Hit "Fix Incorrect Match" and do a custom search, then try again there.  You *may* need to modify the search string slightly to get it to bust the cache (try Ra* or Ra+).  Sorry this is less than an ideal situation right now :)

Hey, that worked!   RA+  was the trick.   Learned something new :)

I have similar issue, just that it will not even return any search result when I try to fix incorrect match (albums are correctly matched)

2014-01-18 13:45:10,799 (109377000) :  DEBUG (model:218) - Serializing to /Users/media/Library/Application Support/Plex Media Server/Metadata/Albums/1/57c54f0b73df9b8b8b3abc54d0d087fe43b3cf9.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2014-01-18 13:45:10,801 (109377000) :  DEBUG (runtime:915) - Response: [200] str, 16 bytes
2014-01-18 13:45:11,723 (1070bc000) :  DEBUG (networking:172) - Requesting 'http://lastfm.plexapp.com/2.0/?method=artist.search&artist=matchbox+twenty&page=0&limit=5&api_key=d5310352469c2631e5976d0f4a599773'
2014-01-18 13:45:14,858 (108907000) :  DEBUG (networking:172) - Requesting 'http://lastfm.plexapp.com/2.0/?method=artist.search&artist=matchbox+twenty%2B&page=0&limit=5&api_key=d5310352469c2631e5976d0f4a599773'
2014-01-18 13:45:14,931 (106cb9000) :  INFO (__init__:34) - Call failed, retrying
2014-01-18 13:45:15,083 (105904000) :  DEBUG (networking:172) - Requesting 'http://lastfm.plexapp.com/2.0/?method=artist.search&artist=matchbox+twenty&page=0&limit=5&api_key=d5310352469c2631e5976d0f4a599773'

@herniksp: the cause for your issue is actually totally unrelated.  It looks like your LastFM agent has not update itself in quite some time (a year or more maybe?)  Any idea why that would be the case?  Are you on a super old version of the server or something wrong with the net connection/permissions?

You can try shutting down the media server and deleting the com.plugins.agents.lastfm.bundle from your Plug-ins directory (~/Library/Application Support/Plex Media Server/Plug-ins) then starting it back up again to force it to grab a new one.

hi,

thank you very much for your help/answer because i spent a lot of time trying to find why i had so many strange things in my albums !

I renamed the last.fm bundle, and everything came back in order !

but i don't think PMS grabbed a new last.fm bundle,a s i don't see any in the directory...

???

regards

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.