Saturday, March 8, 2008

Sharing Music Files Using Avahi

Success! I successfully shared my Linux (Ubuntu 7.10) music files to the Mac using Avahi on a wireless network. Now, if the Mac and Linux boxes are on the same network, the Mac can see and play any of the Linux songs.

How I set it up (surprisingly easy):

  1. Install package mt-daapd for the service, and package avahi-discover as a diagnostic tool.
  2. Open a web browser to localhost:3689, Username: (blank), Password: mt-daapd. The project is called Firefly Server.
  3. On the Configuration tab, put in the directory to music files. On the Server Status tab, click Start Scan.
  4. Open the Mac and launch iTunes. Look in the Shared section for the Firefly Server, and test play a file.

No mucking about with .config files, no command line work, no ports or services to modify.

We'll see if it works after a reboot. Still need to figure out how to share iTunes music with Rhythmbox, and how to share both wth the OLPC. Still need to figure out how to share video files, and other non-media files.

No comments: