beets
beets copied to clipboard
ListenBrainz plugin
We should add a plugin to integrate with ListenBrainz. ListenBrainz is a new MetaBrainz project similar to Last.fm: it tracks your listening habits.
An initial version could look very much like the existing lastimport plugin: just download listen counts and such for music in your database. The data would be stored in flexible attributes.
This would be a fantastic addition. Thank you.
I think this would be well suited as a metasync source rather than a separate new plugin.
Hmm… good point, @pprkut. The current metasync backends are for local players, but I don't see any immediate reason why a service like ListenBrainz wouldn't fit the same mold.
Oh. This sounds like a nice project. I wonder how it differs from libre.fm. Last.fm feels dead somehow. I maybe will have a look on it and the lastimport plugin.
Now that the ListenBrainz beta has been launched, anyone want to volunteer to work on a ListenBrainz plugin for Beets? 😉
i really down get the api docs on listenbrainz. where to send what?
In case someone is interested in developing a plugin, here's the format for the Listenbrainz JSON payload, and here's the API.
Did anyone ever made any progress on that? I don't have any Python experience myself but might give that a shot. There's now a Python API library (pylistenbrainz), which should make this fairly straightforward, starting from lastimport or metasync.
Sounds awesome!
@sampsyo I created a basic Listenbrainz plugin. My primary purpose was to import the weekly playlist recommendations into Plex. I did not use the pylistenbrainz library for now as 1) it does not have the playlist features that I am looking for, and 2) the basic API is very simple to be implemented directly.
Let me know if this looks fine and I will be happy to submit it to the core so that we can build upon this.
Wow; super cool! Yeah, that honestly sounds very useful.