Stream Audio to AppleTV
What You'll Need
Soundfly - freeware - by abyssoft
My recommendation is to make an Applications directory in ~/ where it can be easily located ("mkdir ~/Applications", then "mv Soundfly\ receiver.app ~/Applications/"). ~ Maraklov 00:37, 1 September 2007 (CEST)
Start by ssh
From ssh you can start Soundfly receiver with the command:
open /mnt/Scratch/Users/frontrow/Applications/Soundfly\ receiver.app
To kill the process on your AppleTV, you just have to do the command "ps awwwwx | grep [S]oundfly" and use "kill pid" where pid is the first number in the result from the last command.
You can also set up a LaunchAgent. It launches Soundfly receiver.app every time the AppleTV boots.
Mine is a file called com.maraklov.soundfly.plist in the ~/Library/LaunchAgents/ directory. ~ Maraklov 00:37, 1 September 2007 (CEST)
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.maraklov.soundfly</string> <key>ProgramArguments</key> <array> <string>open</string> <string>/mnt/Scratch/Users/frontrow/Applications/Soundfly</string> <string>receiver.app</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist>
Open the Soundfly app on your Mac and the while to app is open, your audio will be streamed over the network to Soundfly receiver playing on your AppleTV.