Constant Thinking

Posts tagged "mt-daapd"

1 post
newmusicsmf.jpg

How to Automatically Update Your Home Media Server Library With DTrace

Obsolete | In Home Server
| 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.