carl-di-ortus / gmusicbrowser

jukebox for large collections of music
http://gmusicbrowser.org
GNU General Public License v3.0
0 stars 0 forks source link

Feature: add listenbrainz submit #2

Open carl-di-ortus opened 2 months ago

carl-di-ortus commented 2 months ago

Listenbrainz support a compatibility for last.fm scrobbler, so a bare minimum adding this is very easy - just change the post URL. It would copy-paste ~300 lines of code. Dirty, but works. Better alternatives are a topic of discussion:

carl-di-ortus commented 2 months ago

Last.fm scrobbler does not submit album info. So listenbrainz defaults to original release always.

Example - listening to a song from later live album, but recognized as from original album.

image

Thus, initial copy-paste scrobbler is not good enough. The first and second bullet points suggestion is not doing anything to improve the situation too. The third option is what I'm leaning towards to. Hardest work, but the most correct one.

carl-di-ortus commented 1 month ago

Plugin rewritten to use native listenbrainz API, however there are still bugs that I'm not happy about:

I intend to solve all non optional before marking this as PR ready. However, my progress here is rare and slow.