-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix lastimport #1574 (LastFM API change) #1797
Conversation
Also changed from using the library.getTracks API method to user.getTopTracks, since Last.fm has broken the former.
Truly awesome! Thanks for looking at this---I didn't know there was an alternative API endpoint we could use. 🎉 And thanks for updating the docs too! It looks like the tests may need to be updated to sync with the new version. And we'll also need a changelog, after which this should be good to merge. |
Ah, looks like I have any error in the docs - will get that fixed and changelog done. |
Perfect; thanks again! ✨ |
Fix lastimport #1574 (LastFM API change)
Thanks @LordSputnik |
Thank you for fixing this. I am updating beets via pip, when will this fix be available there? It's still not working on the current version I have updated to. |
As soon as we do a new release. If you need the fix sooner, you can consider running from source (as described in the FAQ). |
Fixes #1574 by changing the API method from library.getTracks to user.getTopTracks, which returns similar information (mbid, artist, title, playcount).
Also, I've replaced the custom HTTP request (using requests) with the pylast library, which is already a dependency of lastgenre.