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 support #29

Open
Forage opened this issue May 20, 2021 · 8 comments
Open

Add ListenBrainz support #29

Forage opened this issue May 20, 2021 · 8 comments

Comments

@Forage
Copy link

Forage commented May 20, 2021

It would be great to have the option to scrobble tracks to ListenBrainz in addition to or instead of Last.fm.

@splintersuidman
Copy link

splintersuidman commented Jun 4, 2021

@Forage For you information, ListenBrainz has an API that is compatible with Last.fm:

Clients supporting the old version of the AudioScrobbler API (such as VLC and Spotify) can be configured to work with ListenBrainz by making the client point to http://proxy.listenbrainz.org and using your MusicBrainz ID as username and the LB Authorization Token as password.

I am using this to scrobble to Listenbrainz, and it works just fine.

I don’t know whether there are any features of Listenbrainz for which it would be worth to have special support by mpdscribble.

@animaldaydream
Copy link

animaldaydream commented Jul 3, 2021

I don’t know whether there are any features of Listenbrainz for which it would be worth to have special support by mpdscribble.

MusicBrainz ID submission, which is the most requested feature on every ListenBrainz scrobbler.

It makes scrobbling unambiguous by using a MusicBrainz-mapped UUID for the artist, album, and track. That way the local file can have any metadata on the artist, album and title fields and it will still be mapped correctly to the relevant entry on MusicBrainz.

It's pretty much the one reason people want to migrate to ListenBrainz (other than it being fully FOSS, of course).

@alastair
Copy link

Hi, ListenBrainz developer here. We were just talking with another mpdscribble user in our chat who was also interested in having MBIDs submitted to ListenBrainz (and as a result of this conversation we found a bug in our compat API). We also accept all metadata added to files (such as by picard or beats), so if that data was available in the MPD database then an LB-specific client could also submit this.
We may have some available time to help contribute to this feature, although we're not strong C++ developers, and one immediate requirement that I see is a json library to construct the message. Do you have any preferences for a library that we could include to construct json, or are you open to hand-crafting messages?

@MaxKellermann
Copy link
Member

I like boost::json a lot, but it's not easily available; most Linux distributions don't have it. It could be integrated as git submodule, but that adds a different kind of cruft.
MPD uses yajl, but that's cumbersome. If not boost::json, then I guess the nlohman JSON library is the second best choice.

@ghost
Copy link

ghost commented Jun 15, 2022

@alastair Any news on this?

@FLchs
Copy link

FLchs commented Jun 17, 2024

Is it still something planned ?

@rooiratel
Copy link

rooiratel commented Jun 18, 2024

For those that want something that works right now, an alternative that I have been using for a while now is : https://codeberg.org/elomatreb/listenbrainz-mpd

@mxjeff
Copy link

mxjeff commented Jun 20, 2024

mpdscribble is not directly supporting ListenBrainz, though ListenBrainz exposes a Last.FM Compatible API for ListenBrainz, making mpdscribble a possible client for ListenBrainz.

[listenbrainz]
url = http://proxy.listenbrainz.org/
username = user
password = token

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

No branches or pull requests

8 participants