evan_tech

Previous Entry Share Next Entry
04:48 pm, 12 Nov 06

mac mp3 jukebox via zeroconf

We had a bunch of people over for breakfast. There are speakers in the living room, but all my music's on my computer and we only had a random mac laptop. What's the quickest way to make this happen?
  1. Grab edna, which shares music via HTTP and generates "streaming" playlists for you. All you need to change in the default configuration file is the path to the music.
  2. Install avahi:
    apt-get install avahi-utils
  3. Publish the edna port via "bonjour":
    avahi-publish-service "Evan's Music" _http._tcp 8080
  4. Click on "Evan's Music" via the Safari bookmarks and the links will open in iTunes.
The key here was knowing what HTTP services look like to zeroconf.