Thanks to a cute lil #python script @aj wrote, my #Mastodon profile now shows the song I'm #nowPlaying! It fetches the latest every 30 seconds from the #LastFM API. My verified links also carried over :) it's a cute little hack, like #SituatedSoftware for Mastodon :)
Learn how to do it here: https://ajbooker.co/lastbio
Make sure to check in with your admin before doing it! (Are you #newHere #neuhier ? Do you have good relations with your admin? Have you ever spoke to them? You might want to, they're your host on this corner of the internet after all.)
@pixouls thanks for the shoutout pix :•D super stoked its working for u !!!
@aj ofc thank uuuu 🥰
@pixouls neat! do you know if similar exists for https://listenbrainz.org ?
@computersandblues dunno! But the script is pretty simple, if you can figure out how to access listenbrainz api. I have accounts on both.
@pixouls You're right, the script is quite simple. I checked the docs and this should work: https://pastebin.com/raw/EhCFH7Gp
@computersandblues let me know if you try this (and it works) !! i can add it to my page :•}
@aj There was a bug in the previous version, but I just tried this one and it works! https://pastebin.com/ziKuAS4C Note that you don't need an API key for Listenbrainz, you only need the mastodon access token. :) Thank you for sharing your script!
@computersandblues ayyyy nice !! glad to hear it
@pixouls wow! that's so cool!
@pixouls @aj Oh, nice. I normally use MPD, and mpdscribble for scrobbling. This script might do a full-circle thing on it all. Will check out.