Switching from Last.fm: rewriting my “Now playing” widget to use ListenBrainz 0 ▲ arfy’s cozy place :3 28 days ago · 6 min read1135 words · Tech · hide · 0 comments 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… No comments yet. Log in to reply on the Fediverse. Comments will appear here.