Created
June 12, 2011 08:39
-
-
Save aliang/1021352 to your computer and use it in GitHub Desktop.
stream iTunes over SSH (requires dns-sd)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shamelessly taken from http://blog.iharder.net/2009/09/28/itunes-stream-itunes-over-ssh/ | |
# Your remote library will appear in your local iTunes as a shared library | |
# You need an ssh server running on the remote library's computer | |
#!/bin/sh | |
dns-sd -P "Home iTunes" _daap._tcp local 3689 localhost.local. \ | |
127.0.0.1 "Arbitrary text record" & | |
PID=$! | |
ssh -C -N -L 3689:localhost:3689 yourhost.dyndns.org | |
kill $PID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment