如何聽遠端 iTunes 的音樂?

如何聽遠端 iTunes 的音樂? 或許這個需求不是那麼大. 但是覺得好玩就把它記錄下來.

首先你要先下載 RendezvousProxy 軟體. 建議使用 Java 版本. Binary 在我的 Leopard 似乎不能用. 或是你也可以下載原始碼自己編譯. 我沒自己編譯過, 如果你成功編譯歡迎向大家分享.

再來, 你需要建立個 ssh 通道(tunnel). 在 [linux notes] to bind remote port as local port through ssh tunnel 曾經介紹如何建立 ssh 通道. 語法如下 :

ssh username@xxx.xxx.xxx.xxx -fN -L 3689:localhost:3689

如果你本機端沒分享你的 iTunes 可以把遠端 iTunes port(3689) 綁在自己端的 iTunes port. 假設你有分享你的 iTunes 那你就用下列指令 :

ssh username@xxx.xxx.xxx.xxx -fN -L 36890:localhost:3689

連線後, 再打開剛剛下載的 RendezvousProxy 軟體.

按 Add Host

然後分別在IP Address 輸入 localhost, Port 輸入 3689 如果你用 36890 也就請你輸入 36890. Host Label 就看你想怎麼命名. Service Type 選 _daap._tcp. (iTunes Host). 再按 Add 按鈕

這時候你就可以打開 iTunes 將會看到遠端的分享如下 :

如此一來你就可以聽到來至另外一端的 iTunes Library. 😀

Reference : How to stream your iTunes library across the web for free

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.