Skip Menu |

This queue is for tickets about the Net-LastFM CPAN distribution.

Report information
The Basics
Id: 45648
Status: new
Priority: 0/
Queue: Net-LastFM

People
Owner: Nobody in particular
Requestors: meh [...] niin.kuin.me
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::LastFM bug
Date: Sat, 2 May 2009 21:37:10 +0200
To: bug-Net-LastFM [...] rt.cpan.org
From: Linton Samuel Dawson <meh [...] niin.kuin.me>
I'm using the latest Net-LastFM-0.34 The problem is that when making request where you ask by artist and the return is list of artists, or you ask by user and the return is list o users, only the requested artist/user is returned. For example, artist.getSimilar returns something like this: ----- <lfm status="ok"> <similarartists artist="Cher"> <artist> ... </artist> <artist> ... </artist> ... ----- Now the return is { similarartists => { artist => "Cher" } } and nothing more because the <similarartists artist="foo"> overrides the artist list returned :) The same thing happens with user.getNeighbours for the same reason. These are probably also affected by this: track.getSimilar user.getFriends didn't test these two myself.