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

Add ListenBrainz Listen Support #1429

Open
1 of 2 tasks
Lepidopteran opened this issue Apr 18, 2024 · 3 comments
Open
1 of 2 tasks

Add ListenBrainz Listen Support #1429

Lepidopteran opened this issue Apr 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Lepidopteran
Copy link

Lepidopteran commented Apr 18, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Pain

I see that you have Last.fm support but not ListenBrainz.

I would ideally like to have ListenBrainz support because that's what I use for all my scrobbling/listens.

I did look at a previous issue that also requested Last.fm and ListenBrainz support, but only Last.fm was added.

Suggested solution

I saw the reason why ListenBrainz and I agree; their API docs are very confusing, I've used them as a source to get my top listens of the week on a side project of mine.

I've never tried submitting data to ListenBrainz but after reading there docs it looks like you'd have to first make the user get their token save it to SpotTube then whenever the user reaches a threshold of a song, submit a listen via JSON.

It also looks like you can have MusicBrainz Identifier to help ListenBrainz identify find the release (A.K.A. Album), recording (A.K.A Song), artist, and additional info.

To lookup a MBID it looks like you can either use ListenBrainz's Lookup API or MusicBrainz's Search API.
I'm not fully sure if it's 100% required to have a MBID though.

Then that should be it.

Useful resources

ListenBrainz API

https://listenbrainz.readthedocs.io/en/latest/users/json.html
https://listenbrainz.readthedocs.io/en/latest/users/api-usage.html
https://listenbrainz.readthedocs.io/en/latest/users/api/index.html#reference
https://listenbrainz.readthedocs.io/en/latest/users/api/core.html
https://listenbrainz.readthedocs.io/en/latest/users/api/recordings.html
https://listenbrainz.readthedocs.io/en/latest/users/api/metadata.html#get--1-metadata-lookup-

MusicBrainz API

https://musicbrainz.org/doc/Development
https://musicbrainz.org/doc/MusicBrainz_API
https://musicbrainz.org/doc/MusicBrainz_API/Search
https://musicbrainz.org/doc/MusicBrainz_API/Examples

Additional information

ListenBrainz's API Endpoint is https://api.listenbrainz.org.
MusicBrainz's API Endpoint is https://musicbrainz.org/ws/2/.

I could also look into adding the feature if needed once I get home, though I'm not fully sure about my expertise. I'm not familiar with Dart. But I'm always up to learn something new. :)

Self grab

  • I'm ready to work on this issue!
@Lepidopteran Lepidopteran added the enhancement New feature or request label Apr 18, 2024
@Black-Cat-CA
Copy link

Although native support would still be a nicety, in the meantime, Simple Scrobbler picks up Spotube perfectly and works with Listenbrainz

@xplosionmind
Copy link

Simple Scrobbler picks up Spotube perfectly and works with Listenbrainz

The repository of the only “Simple Scrobbler” I could find is archived and it hasn’t been updated in the past 5 years… I don’t think it is a viable option…

@agates
Copy link

agates commented Dec 16, 2024

Simple Scrobbler picks up Spotube perfectly and works with Listenbrainz

The repository of the only “Simple Scrobbler” I could find is archived and it hasn’t been updated in the past 5 years… I don’t think it is a viable option…

It works with the official ListenBrainz app on Android. Not a solution for desktop, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants