getmusicbee.com
MusicBee & Add-Ons => Customizations => Plugins => Topic started by: karaluh on April 18, 2020, 11:56:16 PM
-
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/
-
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
-
The first - and hopefully last - beta. Offline scrobbling implemented, no listens should be lost from now on.
https://github.com/karaluh/ScrobblerBrainz/releases/download/v0.1.0-beta/mb_ScrobblerBrainz.dll
-
A second beta, fixes skipped tracks being scrobbled.
https://github.com/karaluh/ScrobblerBrainz/releases/download/v0.1.1-beta/mb_ScrobblerBrainz.dll
-
First stable release. No changes compared to v0.1.1.
https://github.com/karaluh/ScrobblerBrainz/releases/download/v1.0.0/mb_ScrobblerBrainz.dll
-
This is pretty amazing! Way to go man. I appreciate your hard work
-
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.
-
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
-
Thanks for this :)
-
v1.0.0 works with WINE too. Thought I should let anyone here using MusicBee via WINE know.
-
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.
-
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.
-
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
-
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
-
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?
-
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?
Go to charts and you'll see. For example, my charts display 65 listens for Trainwreck at 7th place and it's linked to a musicbrainz entry. Then you see Trainwreck again at 25th place with 13 listens, this time, not linked to a musicbrainz entry.
When I hover over the plugin, it says it's 1.0.0.0 version. Also when I look at the 'details' tab on its properties.
-
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?
Go to charts and you'll see. For example, my charts display 65 listens for Trainwreck at 7th place and it's linked to a musicbrainz entry. Then you see Trainwreck again at 25th place with 13 listens, this time, not linked to a musicbrainz entry.
When I hover over the plugin, it says it's 1.0.0.0 version. Also when I look at the 'details' tab on its properties.
Ah, in the File Explorer. I'll look into this.
As for the other issue it looks like something in ListenBrainz UI is broken. On the link below in the "Top Recording" section the first two places are occupied by the same song and both of them are MB-linked to the same recording.
https://listenbrainz.org/user/Diaken/reports/?range=week
-
Aight, let me know.
Yea, you're right. it's the same song but from different releases and they both link to Turn on the Bright Lights for some reason. But did you take a look at my top artists in the 'all time' range? Then you'll see what I was saying about Trainwreck.
-
Aight, let me know.
Yea, you're right. it's the same song but from different releases and they both link to Turn on the Bright Lights for some reason. But did you take a look at my top artists in the 'all time' range? Then you'll see what I was saying about Trainwreck.
Yes, that also looks like LB issue.
-
Just reported the issue, let's see what they say/do.
Also, did you look into what I told you about the latest version of your plug-in?
-
Just reported the issue, let's see what they say/do.
Also, did you look into what I told you about the latest version of your plug-in?
Not yet, sorry. On the bright side I expect this to be an easy fix that'll be included in the next release. No ETA though.
-
Doesn't seem to be working for me, I put the LB token in the plugin config but it's not scrobbling anything.
Applying/saving and restarting MusicBee doesn't help (also, the token disappears every time I go back to the preferences, I don't know if that's supposed to happen).
-
Doesn't seem to be working for me, I put the LB token in the plugin config but it's not scrobbling anything.
Applying/saving and restarting MusicBee doesn't help (also, the token disappears every time I go back to the preferences, I don't know if that's supposed to happen).
Definitely not. It looks like the token is not saved in the preferences, I'll look into this.
-
Doesn't seem to be working for me, I put the LB token in the plugin config but it's not scrobbling anything.
Applying/saving and restarting MusicBee doesn't help (also, the token disappears every time I go back to the preferences, I don't know if that's supposed to happen).
Definitely not. It looks like the token is not saved in the preferences, I'll look into this.
Should be fixed now in the v1.1.1 https://github.com/karaluh/ScrobblerBrainz/releases/download/v1.1.1/mb_ScrobblerBrainz.dll
-
Doesn't seem to be working for me, I put the LB token in the plugin config but it's not scrobbling anything.
Applying/saving and restarting MusicBee doesn't help (also, the token disappears every time I go back to the preferences, I don't know if that's supposed to happen).
Definitely not. It looks like the token is not saved in the preferences, I'll look into this.
Should be fixed now in the v1.1.1 https://github.com/karaluh/ScrobblerBrainz/releases/download/v1.1.1/mb_ScrobblerBrainz.dll
It's working now, thanks!
-
I was wondering... would it be possible to sync the "loved" tracks between MusicBee and ListenBrainz via the API? Is that something you're planning to implement?
-
I was wondering... would it be possible to sync the "loved" tracks between MusicBee and ListenBrainz via the API? Is that something you're planning to implement?
Eventually, yes.
-
A new feature release, which includes "Now playing" scrobbles and MBIDs submitting. Enjoy.
https://github.com/karaluh/ScrobblerBrainz/releases/download/v2.0.0/mb_ScrobblerBrainz.zip
-
I was wondering... would it be possible to sync the "loved" tracks between MusicBee and ListenBrainz via the API? Is that something you're planning to implement?
Eventually, yes.
Hello, i just quit the Last FM scrobbling to test the ListenBrainz one, and discovered your plugin, for which i thank you :)
Still no plan to implement the "loved" track feature ? :)
-
I was wondering... would it be possible to sync the "loved" tracks between MusicBee and ListenBrainz via the API? Is that something you're planning to implement?
Eventually, yes.
Hello, i just quit the Last FM scrobbling to test the ListenBrainz one, and discovered your plugin, for which i thank you :)
Still no plan to implement the "loved" track feature ? :)
You're welcome, I'm glad you find it useful.
As for the loved tracks, currently I'm unfortunately busy with life. I plan to return to regular development, but I don't yet know when. When I do, I'll put this feature on top of my TODO list :)
-
Nice to hear ^^
Thank you :)
-
Bonjour,
j'ai installé votre plug in, mais rien ne se synchronise.
J'ai reset le jeton, mais malgres tout rien..
Auriez vous une idée.
Merci
Hello
I've installed your plug-in, but nothing syncs.
I reset the token, but still nothing.
Do you have an idea?
Thanks
-
I've installed your plug-in, but nothing syncs.
I reset the token, but still nothing.
When you open the settings, is your LB user token saved or is the field empty?
-
Appreciated.
-
When I listen to a track offline, a JSON file is created in AppData/Roaming/MusicBee/ScrobblerBrainz/Scrobbles, but the scrobble is never added to ListenBrainz after I connect to the internet. I have to manually add it myself. Is this how it is supposed to work?
-
When I listen to a track offline, a JSON file is created in AppData/Roaming/MusicBee/ScrobblerBrainz/Scrobbles, but the scrobble is never added to ListenBrainz after I connect to the internet. I have to manually add it myself. Is this how it is supposed to work?
Offline scrobbles are re-submitted only on startup. Restart MusicBee after connecting to the internet and all the offline scrobbles should be automatically submitted.