We have enabled a new ListenBrainz plugin for these Discourse forums. The plugin allows every user to display their most recent listen or a short summary of their ListenBrainz profile inside their user profile here in the forums. The screenshot below shows how it looks like. For a live view of this, you can also click on my user avatar at the top of this post or on my username @outsidecontext .
Configuration
This functionality is completely opt-in, you can enable the ListenBrainz view in your user preferences.
-
Click on your user icon at the top, choose the person symbol and click on Preferences
-
Inside your preferences navigate to “Profile”
-
The ListenBrainz preferences are at the very end of this form.
You need to enable “Show ListenBrainz information in my user profile” and set your ListenBrainz username, which should be already prefilled with your MusicBrainz username used here on the forums.
There are a couple of options to customize the display. By default it will show your most recent listen, unless this is older than 24 hours, then it will instead show a short summary of your ListenBrainz profile. But you can also configure it to e.g. always show only the profile information. The available preferences are documented here.
Feedback and support
Please feel free to share your feedback and feature ideas below. This topic is supposed to be a central discussion point for this plugin. If you find a specific bug I would welcome if you could open a new ticket on the issue tracker directly.
Help and contribute
The ListenBrainz plugin for Discourse is open source, the sources are available at ~phw/discourse-listenbrainz - Discourse plugin to show a user's ListenBrainz listening in their profile - sourcehut git . If you want to help you are very welcome to do so.
The user interface texts of this plugin also can be translated. I have setup a Weblate project for translation. Before a new translation can be started the base translation files need to be added to the repository. Please request new languages below.
Please be aware that translating on Weblate will commit your translations to the Git repository using your name and e-mail address as configured in your Weblate account. Please check your Weblate account settings and make sure to provide a commit e-mail address you are comfortable with.
Frequently Asked Questions
What was the motivation for this plugin?
I have summarized my motivation to create this plugin in this forum post.
I use a different username on ListenBrainz then I use on MusicBrainz.org and here in the forums. Can I use this ListenBrainz user for my forum profile?
While the ListenBrainz username in the MetaBrainz Community forums is pre-configured to be your Discourse username, you can change it to another ListenBrainz user in your user preferences.
Can I use this plugin on my own Discourse instance?
Yes, this is a regular Discourse plugin and not specific to the MetaBrainz Community. To install this plugin in your Discourse instance please follow this official plugin installation how-to. Use https://git.sr.ht/~phw/discourse-listenbrainz
as the git clone URL.