librefm-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Librefm-discuss] Questions about Love


From: Mike Sheldon
Subject: Re: [Librefm-discuss] Questions about Love
Date: Tue, 20 Mar 2012 19:34:39 +0000

Yep, you need to be using the web-service methods to actually mark
tracks as loved or banned.

Cheers,
 Mike.

On Tue, 2012-03-20 at 12:23 -0700, Darryl G. Wright wrote:
> Thanks, Mike.
> 
> I noticed the existence of this API now too:
> 
> http://www.last.fm/api/show/track.love
> 
> Do I take that to mean that the 'ratings' argument I am using to pass
> back 'the love' is now deprecated? That would explain why I am not
> seeing any results.
> 
> Cheers,
> Darryl
> 
> On Tue, Mar 20, 2012 at 11:35 AM, Mike Sheldon <address@hidden> wrote:
> > Hi Darryl,
> >
> >  You can use the user.getLovedTracks method to find out all the tracks a
> > user has loved. The documentation for this method can be seen here:
> > http://www.last.fm/api/show/user.getLovedTracks
> >
> >  Example usage for Libre.fm would be:
> > http://alpha.libre.fm/2.0/?method=user.getLovedTracks&user=elleo
> >
> >  There isn't a mechanism for querying individual tracks in the last.fm
> > api, so presumably you'll want to just grab the whole set of loved
> > tracks at start up and then check against it for each song.
> >
> > Cheers,
> >  Mike.
> >
> > On Tue, 2012-03-20 at 11:05 -0700, Darryl G. Wright wrote:
> >> Hey All,
> >>
> >> I am curious about how the 'love' option works in the client API. I
> >> just added the 'ratings' field to my scrobbler client which now
> >> carries "L" for live if the user clicks on the option on the client.
> >> Given that there's no real feedback on the song itself from the server
> >> though, I am wondering if it's typical for the client to store this
> >> information locally? Or is there some method I should be querying to
> >> find out as a track starts playing whether or not the user rated it?
> >>
> >> The reason I ask is because when I've seen this implemented on most
> >> other clients the 'Love' icon usually shows up when a track that you
> >> previously loved comes on.
> >>
> >> My other question is - on Libre.fm specifically, is there a way you
> >> can see which tracks were loved or is that aspect of the API
> >> unsupported? Right now my client is either not working properly or
> >> nothing is showing up in my listening history.
> >>
> >> Thanks,
> >> Darryl
> >>
> >
> >





reply via email to

[Prev in Thread] Current Thread [Next in Thread]