Posts tagged "music"

2 posts
Whimsical steampunk factory scene with cartoon workers operating brass machinery among clouds and stars.

The unexpectedly complex rabbit holes involved in making music playback a 1-click experience

| In Tech
| 15 minute read

All I wanted was to press a button and hear SomaFM Groove Salad through my home stereo. 🎵

What I got instead was six weeks of diving into AV receiver telnet commands, Raspberry Pi power mysteries, and NFC webhook proxies. Sometimes I spent an entire week debugging my Home Assistant setup only to discover I’d been using the wrong IP address the whole time 🤦‍♂️.

But here’s the thing: the journey is the reward. Sure, I could have just lived with telling Alexa to turn on my AV receiver, connect to it over Bluetooth, then asking it to play what I want. But then I wouldn’t have learned how UPNP broadcasts get mangled by WiFi bridge modes, or that a 2.2W Raspberry Pi can teach you more about power supply stability than any electrical engineering textbook.

This is the story of how a simple goal—press button, get music—led me down some of the most beautifully complex rabbit holes I’ve explored in years. And why that complexity is exactly the point. 🐰

newmusicsmf.jpg

How to Automatically Update Your Home Media Server Library With DTrace

Obsolete | In Solaris
| 6 minute read

Before we continue with our Home Server Scripting Series, let’s throw in a simple but useful DTrace hack.

One of the most typical uses for a home server is to serve music or videos to home entertainment equipment. In my case, I’m using the Firefly Media Server (no link, fireflymediaserver.org no longer exists) to serve music to my Roku Soundbridge and Mediatomb (no link, page no longer exists) for videos.

The Media Server Update Problem

Whenever I upload new music or videos to my OpenSolaris home server (typically by rsync-ing my laptop home directory), both Firefly and Mediatomb need to be restarted so they detect that new files are sitting in their directories, waiting to be served.