Thanks Trey. We'll ask Elleo to take a look at this when he's not busy boating or writing Ubuntu Phone apps or telling jokes!
Thanks very much. On Mon, Aug 11, 2014 at 2:40 AM, Trey Hunner <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I was attempting to add libre.fm support in the Chrome audioscrobbler > plugin (it is hard coded to use last.fm right now). > > While testing the plugin with libre.fm I noticed that the track.getInfo > API method does not return the artist as expected and this causes the > plugin using the API to fail to identify the track artist. > > I have attached a proof of concept patch that I believe should fix the > API. I have not tested this code, but it should demonstrate what I > believe is wrong, if nothing else. > > Relevant API page: http://www.last.fm/api/show/track.getInfo > Relevant Github issue for the Chrome extension: > https://github.com/david-sabata/web-scrobbler/issues/37 > > Example API URL: > https://libre.fm/2.0/?method=track.getinfo&autocorrect=1&artist=Molly%20Lewis&track=I%20Pity%20the%20Fool > > - -- > Trey Hunner > http://treyhunner.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQEcBAEBAgAGBQJT6GVIAAoJEOpnfp/Nreon6PsH/1VyjIRodwmdNwajrf3UXZWF > +u7FZUOeGZOUPOg3vThs/2QfvjXCKKnPLY8WEK4nwqe+3SJq1gtLsboecKmkn3g8 > 2SLv9bUb7QpYK3F2cmUXbRF9iCiGilC4qJSZslJWA+sPqKXhSXgj72XxHQsBpzdA > TF5Ig+4u5Rt7DFkPqJlAUWp6bXhkYjwU7JOtraRPZ4b2RAdYca/kf7NCxJ4Rzpd6 > SOkczLo9oBXCf5aItin1yjbpsfcDhQgkS54Z3RZdE2bZhP2FEV9euQIXyVmZjDtz > CeK1aC2FLTYDZLuGqhzGzrAZcc3loWbsMpPkjzOwGwladxKpmzXD5iZNztBQNKw= > =Mgq+ > -----END PGP SIGNATURE----- -- Matt Lee http://www.linkedin.com/in/metamattl
