Switching from Last.fm: rewriting my “Now playing” widget to use ListenBrainz 0 ▲ arfy’s cozy place :3 135 days ago · 6 min read1135 words · Tech · hide · Fediverse post This is not a tutorial! It’s just me sharing my own experience with rewriting the widget! Today I switched from using Last.fm for my “Now playing” widget to ListenBrainz (+ MusicBrainz and Cover Art Archive). The reason for switching is simple: Last.fm stopped working on my computer, giving me “Access Denied” errors in the player (is it a geo block? VPN block? I don’t know). I had to change around 80% of the code to get the ListenBrainz version working, and it was honestly kinda a pain (since i now needed to get data from three sources instead of just one), but in the end, it was really worth it. Here’s how i did it: Step 1: Connecting my music player to ListenBrainz This was fairly easy, since the music player i use (Strawberry) already supports this feature. I just needed to log into ListenBrainz, get my user token, and authorize Strawberry to access ListenBrainz data. Step 2: Getting data from ListenBrainz This step was also pretty easy, though i ran into an issue of the player not… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town