Let Front Row Access Other User’s iTunes Account on the Same Computer
I wanted to set up my main iMac in a central location to replace an aging “half basketball” iMac that’s used for playing kid cartoons and music. I would like for this computer to play all the content in my iTunes library, but I do not want my account wide open for (little) people to muck about in.
Fast User Switching to the rescue! Kind of. If I leave iTunes running in my account and switch to the Kids account, their iTunes can see my shared library; that’s a good start. I want Front Row to be able to see that item under “Sources,” but it does not.
People seem to appreciate my post about Streaming iTunes over SSH, and it turns out that the trick there helps us solve the Front Row problem as well. Running a single dns-sd command takes care of the problem (all one line):
dns-sd -P "Local iTunes" _daap._tcp local 3689 localhost.local. 127.0.0.1 "Arbitrary"
How you run that is up to you. If you want to always, and sometimes falsely, advertise that you have an iTunes library shared, you can make this command run permanently with launchd. One way to do this is to create a file in ~/Library/LaunchAgents called something like net.iharder.shareitunes.plist:
KeepAlive Label net.iharder.shareitunes ProgramArguments dns-sd -P Local iTunes _daap._tcp local 3689 localhost.local. 127.0.0.1 Arbitrary Text Record
You can log out and log back in to kick start this, or you can get it started from the command line:
launchctl load ~/Library/LaunchAgents/net.iharder.shareitunes.plist