• Scrobbling and it feels so good

    I was cleaning up old blog posts today when I saw a mention of the widget I used to have (decades ago) that showed what I was listening to. “That would be fun to recreate,” I thought. How hard could it be?

    Folks, I could find no way to easily embed my last played Apple Music song. The desktop app allows you to get iframe embed code for playlists, but there’s no playlist for your Recently Played. You can create a Smart Playlist of songs you’ve recently played, but this will only include songs in your library and not songs you’ve streamed. Also, you can’t embed a Smart Playlist anyway. There are no WordPress plugins that do this, and no third party apps that I could find. There is a Developer API for Apple Music, but to register as a developer you have to pay $99 a year. Yeah, no.

    For a second I thought about switching back to Spotify. Double-plus no.

    Then I remembered… scrobbling. That was a thing, right? Turns out it’s still a thing. But how to scrobble Apple Music? I mostly listen on my iPhone, and the consensus seems to be that Marvis Pro is the way to go. This app is basically a wrapper for Apple Music, but it has a massively customisable UI (the Redditors love it), it scrobbles to last.fm out of the box, and it’s only $15 AUD. I figured it was worth a shot. Installed the app, signed up for last.fm, and verified that scrobbling was happening. Now to hook it up to WordPress…

    This post from RxBrad has a handy Javascript snippet that can be used in a WordPress Custom HTML widget. Too easy! I signed up for an API key and set up the script… but it wouldn’t work. In the Block Editor preview it would show the album, but when I published the widget, it would just show a broken image on the site. I noticed in the console that there were some errors about the ampersands, and I could see that WordPress was actually converting them to HTML entities. I banged my head on a wall for 10 minutes until the Snook woke up from his nap and I patiently explained the problem. Less than 2 minutes later he had solved it. Oh right! We used to always put HTML comment tags around our Javascript, back in the day. (Insert “Do not cite the Deep Magic to me, Witch” meme.) Once I added those, everything just worked!

    So yeah, there it is over in the sidebar on the homepage.

    Currently Listening widget that shows Wild Wild Life by the Talking Heads

    Limitations:

    • Marvis Pro only scrobbles while the app is open. So if my iPhone screen goes to sleep, it won’t sync again until I wake it up. It does sync the whole history then, but it does mean the sidebar isn’t really necessarily “live.” Do I care? Not at this point. If I do, I can apparently pay $10 to unlock background scrobbling via last.fm Pro.
    • Marvis Pro doesn’t have a desktop app. If I want to scrobble from my Mac Mini, I’ll need to setup the last.fm desktop app. Can’t be arsed right now, but it’s an option.

  • 5.6.7.8’s at the Crowbar

    5.6.7.8's playing at the Crowbar in Sydney

    Was there any person in Sydney last night as cool as Chellio Panther Omo, the beret-wearing, middle-aged Japanese woman bass player of the 5.6.7.8’s? No. No, there was not.

    Show was fantastic, of course. They played for a full hour, and they played several songs that I recognised like “I Walk Like Jayne Mansfield,” “Barracuda,” and of course “Woo Hoo” (from Kill Bill: Vol 1). The Crowbar was heaving and lots of folks were dancing, and I was very grateful for the breeze from the electric fans above and around us. I was also grateful I remembered my Loop earplugs, and the Snook got to try out his new pair for the first time. It’s nice to leave a show without your ears ringing for the next 24 hrs!

    We also got to catch up with several friends beforehand, like Bex and Jakk and Megan and Hank (who took the photo above). 🩷

    And of course, you can’t go to the Crowbar without having barbecue…

    A man in an Aloha shirt with a tray full of bbq in front of him: brisket, pork, coleslaw, fries, pickles, and bread


  • Future Tech Collective

    Georgina welcome people to Future Tech Collective

    Great job to Georgina and Ruth for putting together such a fun meetup tonight! Ben Moir from AWS and Fiona Chan from Lookahead talked about some of the ways AI is impacting how we create products and experiences, as well the types of jobs that will be available in the future. Even as a noted AI skeptic, I really liked Fiona’s analogy likening prompt engineering skills to the way we all had to learn to use search engines. Really good panel discussion afterwards too! Thanks to Bilue for hosting.

    Ben speaking at Future Tech Collective

    Fiona speaking at Future Tech Collective

    Fiona, Ben, and Georgina at Future Tech Collective


  • Random links I have enjoyed lately


  • Facebook Import frustrations

    Yesterday I kicked off the long gestating project to import all my old Facebook content to this website. I requested my archive several months ago, and since then I’ve been working on deleting all my content there. (It’s such a pain to delete your content without deleting the account. I’ll write up a post about that later.) Anyway, the import is now happening and you can see the posts appearing here.

    The exported data is a mess though, which has made the import script a real pain. You can post to Facebook from lots of other apps (and I did, over the years), and not all of the data is in there in the same ways. There are so many cases where data is just missing from the JSON. Like, you can post to Facebook from Eventbrite, and all that’s in the export is me saying “Booked in!” and “Kris Howard posted something via Eventbrite.” but the actual event isn’t linked or listed at all. It’s just gone. I’ve found other examples too, like Instagram. (Fortunately I already imported all my Instagram posts, so I’m just skipping over those.) But I’m only 10% of the way through, and I’m doing a lot of manual cleanup work.

    On the upside, this project (as well as my Instagram and Twitter import) have taught me so much about archiving and data portability. I’m happy that I will have some sort of record of this data, even if it’s not 100% complete. I’ll never end up in this situation again, and hopefully I can help a few others realise the pitfalls of entrusting your data to corporations.


  • Tech Lead Journal

    If you haven’t heard enough of me talking about financial independence yet, I was recently on an episode of the Tech Lead Journal podcast. Check it out! 🔥


  • Big Day In at UTS

    Big Day In at UTS

    Another day of volunteering for Girls Programming Network! Alex and I are at UTS for the Big Day In, giving out lollies to students who can crack our cypher and telling them about STEM careers. 👩‍💻

    #womenintech #stem #dei


  • Typewriter Cake

    Typewriter Cake

    Every year I think he can’t possibly top himself, and then he does! This, of course, is the Typewriter Cake from the Women’s Weekly Birthday Cake Book. He experimented with two new recipes for this one: Golden Vanilla Cake and Ermine Icing. It’s STUNNING.

    And I think we can all agree: plus 100 Husband Points for the deployment of the Pride and Prejudice quote! 🩷

    How it started:

    The beginning

    Carving:

    Carving

    The end result:

    Me typing on a cake

    Kitchen’s a wreck though. 😂 Still worth it!

    Rodd in our messy kitchen


  • Google are breaking my mittens

    Sonofa. Twelve years ago I knitted a pair of “self-replicating mittens” with a QR code that pointed you to the pattern for the mittens, and I entered them in the Sydney Royal Easter Show. I was pretty proud of my cleverness. In the blog post where I talked about making the mittens, I said:

    I wanted my code to be as simple as possible, so I needed to use a URL shortener to mask my intended address. I settled on using Google‘s, reasoning that it was likely to be around the longest. (Though who knows these days, right?)

    You can guess what’s happened, right? Google URL Shortener links will no longer be available as of August this year.

    Bastards are breaking my mittens. Perhaps I’ll have to add some embroidery. 😠

    A knitted pair of mittens with a QR code. "404" is written over the image in red marker.



ABOUT

My name is Kris. I’ve been blogging since the 90’s. I live in Sydney, Australia, and I spent most of my career in the tech industry.

No AI used in writing this blog, ever. 100% human-generated.


search


CURRENTLY LISTENING


CURRENTLY READING


LATEST COMMENTS

  1. My home economics teacher taught us to use “J cloths” as press cloths. (Cellulose cleaning cloths). The upside of using…


BLOG ROLL


STAY CONNECTED


Special thanks to Matt Hinrichs for the site logo!