Author Topic: ScrobblerBrainz: a plug-in to scrobble tracks to ListenBrainz  (Read 15025 times)

karaluh

  • Jr. Member
  • **
  • Posts: 26
It's so fresh that it's still hot, it's not yet well tested even by me and has several restrictions:

1. As I said it's not very well tested, I just created the first version.
2. Breaks when there are issues on ListenBrainz side. If suddenly a dialog box appears with some errors regarding ListenBrainz I would very much like to get the full error message from you.
3. No MBIDs in the scrobble, MusicBee doesn't expose them in the API. I might be able to workaround it using custom tags, but if that fails I would have to read tags for each format supported by MusicBee myself which would be A LOT of work.
4. No offline scrobbling, all scrobbles are lost when there's no internet.
5. No playcount sync.
6. No "now listening".
7. Or any other feature the last.fm scrobbler has.

You can see the code, report bugs, etc. on GitHub. Also, since this is my first C# project a code review would be much appreciated. I'm also not sure if the licence can be GPL, if that's not the case please let me know.
https://github.com/karaluh/ScrobblerBrainz

The compiled plug-in is here:
https://drive.google.com/file/d/12dWSnoFBPjrp9jsBl19CXC6UJN9k6G-r/view?usp=sharing

To be able to use it you obviously need a ListenBrainz account. The plugin requires your user token to be able to submit scrobbles which you can get here https://listenbrainz.org/profile/
Last Edit: May 25, 2020, 03:47:07 PM by karaluh
ListenBrainz plugin for MusicBee:
https://github.com/karaluh/ScrobblerBrainz

karaluh

  • Jr. Member
  • **
  • Posts: 26
I just released another alpha (link below) which is much more stable. I'm scrobbling in parallel to last.fm and ListenBrainz and am actually getting higher scrobble count in ListenBrainz. That's probably because I'm scrobbling very short tracks also, which the last.fm plugin doesn't seem to be doing.

Please note that there is still no offline scrobbling so in case of issues with your internet connection or ListenBrainz internal problems your scrobbles will be lost.

And here's the link to the download:
https://github.com/karaluh/ScrobblerBrainz/releases/download/v0.0.2-alpha/mb_ScrobblerBrainz.dll
ListenBrainz plugin for MusicBee:
https://github.com/karaluh/ScrobblerBrainz

karaluh

  • Jr. Member
  • **
  • Posts: 26



HisMessengerDAB

  • Newbie
  • *
  • Posts: 1
This is pretty amazing! Way to go man. I appreciate your hard work

karaluh

  • Jr. Member
  • **
  • Posts: 26
This is pretty amazing! Way to go man. I appreciate your hard work

Thank you for your kind words, I'm glad you've found the plugin useful.
ListenBrainz plugin for MusicBee:
https://github.com/karaluh/ScrobblerBrainz

HOX

  • Newbie
  • *
  • Posts: 7
Still on earliest version and no bugs whatsoever lmao. Anyway i will install newest and thank you for hard work. ListenBrainz have nice stats, imo it's going to be better than last.fm


Rotom

  • Newbie
  • *
  • Posts: 9
v1.0.0 works with WINE too. Thought I should let anyone here using MusicBee via WINE know.

Eggaian

  • Newbie
  • *
  • Posts: 13
Hi. Love your plugin but I have a couple questions: why are some of my listens for some artists split into two separate ones? one with a musicbrainz entry and one which doesn't? is this related to what you address in your first post as 'MBIDs'?

Thank you for your work.
Last Edit: September 10, 2021, 01:40:03 AM by Eggaian

karaluh

  • Jr. Member
  • **
  • Posts: 26
Hi. Love your plugin but I have a couple questions: why are some of my listens for some artists split into two separate ones? one with a musicbrainz entry and one which doesn't? is this related to what you address in your first post as 'MBIDs'?

Thank you for your work.

That's interesting, can you share a link to your ListenBrainz profile so I can investigate? And thank you for your appreciation.
ListenBrainz plugin for MusicBee:
https://github.com/karaluh/ScrobblerBrainz

karaluh

  • Jr. Member
  • **
  • Posts: 26
Thank you all for your appreciation, this really keeps me going :) There's a new release, it fixes some UI issues with the settings panel.

https://github.com/karaluh/ScrobblerBrainz/releases/download/v1.1.0/mb_ScrobblerBrainz.dll
ListenBrainz plugin for MusicBee:
https://github.com/karaluh/ScrobblerBrainz

Eggaian

  • Newbie
  • *
  • Posts: 13
Hi. Love your plugin but I have a couple questions: why are some of my listens for some artists split into two separate ones? one with a musicbrainz entry and one which doesn't? is this related to what you address in your first post as 'MBIDs'?

Thank you for your work.

That's interesting, can you share a link to your ListenBrainz profile so I can investigate? And thank you for your appreciation.

Hello. My username is Diaken but by looking around I realised the artists from which some of my listens are split into two don't have a musicbrainz entry for some of their releases. So, I end up having a separate playcount even though they are plays from the same artist.

The only solution I see is creating those missing entries for the releases. Or what else do you think could be done?

Also, I downloaded the new version of your scrobblerbrainz but it says it's still version 1.0.0.0

karaluh

  • Jr. Member
  • **
  • Posts: 26
Hello. My username is Diaken but by looking around I realised the artists from which some of my listens are split into two don't have a musicbrainz entry for some of their releases. So, I end up having a separate playcount even though they are plays from the same artist.

The only solution I see is creating those missing entries for the releases. Or what else do you think could be done?

Also, I downloaded the new version of your scrobblerbrainz but it says it's still version 1.0.0.0

If your profile is at the link below then you have to be more specific because I don't see MusicBrainz-linked scrobbles there.
https://listenbrainz.org/user/diaken/

As for the version number, where exactly does it say its 1.0.0?
ListenBrainz plugin for MusicBee:
https://github.com/karaluh/ScrobblerBrainz