Skip to content
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

LB-1689: Improve last.fm loved tracks import #3070

Merged
merged 4 commits into from
Dec 13, 2024
Merged

Conversation

amCap1712
Copy link
Member

The existing importer only tries to import tracks with track_mbids. Extend it to recognise recording_mbids and for tracks without mbids do a messybrainz lookup.

@pep8speaks
Copy link

pep8speaks commented Dec 9, 2024

Hello @amCap1712! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 122:48: W291 trailing whitespace

Comment last updated at 2024-12-11 06:11:52 UTC

@MonkeyDo MonkeyDo changed the title Improve last.fm loved tracks import LB-1689: Improve last.fm loved tracks import Dec 9, 2024
Copy link
Member

@mayhem mayhem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor cleanup, after that good to go

listenbrainz/domain/lastfm.py Show resolved Hide resolved
listenbrainz/domain/musicbrainz.py Outdated Show resolved Hide resolved
The existing importer only tries to import tracks with track_mbids. Extend it
to recognise recording_mbids and for tracks without mbids do a messybrainz
lookup.
@amCap1712 amCap1712 merged commit 3c99785 into master Dec 13, 2024
2 checks passed
@amCap1712 amCap1712 deleted the lfm-loved-tracks branch December 13, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants