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

WIP: Add support for querying playlists #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ssssam
Copy link

@ssssam ssssam commented Jan 31, 2022

Fixes #9

Still to do:

  • Document all new API and check that generated output is correct
  • Add tests for new functions and ensure coverage is OK

@ssssam
Copy link
Author

ssssam commented Jan 31, 2022

Documentation now added, ran make html in the docs/ subdir and the output looks fine to me.

if self.added_at:
ext['added_at'] = self.added_at.isoformat()
_maybe_add(ext, 'added_by', self.added_by)
_maybe_add(ext, 'artist_identifier', self.artist_identifiers)
Copy link
Contributor

Choose a reason for hiding this comment

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

In LB-1058 we noticed some inconsistencies in our specification of this field and decided to standardise on artist_identifiers

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the comment! Have updated the field name in the local API, and the code will handle both options from the remote API for now.

Fixes metabrainz#9

Still to do:

  * Add tests for new functions and ensure coverage is OK
@ssssam
Copy link
Author

ssssam commented Feb 13, 2022

Updates:

Tests still to do, I'm happy to work on that but would appreciate some guidance from @paramsingh first so I don't spend time writing tests for an implementation that might need big changes first :-)

@georgkrause
Copy link
Collaborator

This is stale for almost two years now, whats the status? @ssssam Do you still plan to work on this? Is it even still relevant?

@ssssam
Copy link
Author

ssssam commented Jan 29, 2024

It worked as of 2 years ago, and has no unit tests. I don't have any immediate plans to do further work on it myself. I imagine its still relevant for anyone who wants to write tooling that works with playlists on Listenbrainz, unless there's another way to access those programmatically these days?

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.

Add playlist and recommendation API endpoints
3 participants