no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | nslu:mp3streaming [2009/11/27 17:54] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Web MP3 Streaming ====== | ||
+ | I now have all my music on the NSLU and use [[http:// | ||
+ | |||
+ | ===== DDNS Configuration ===== | ||
+ | |||
+ | I configured the domain name mp3.dbzoo.com as a CNAME for dbzoo.dyndns.org which is a DDNS domain automatically updated by my router. | ||
+ | |||
+ | This way I don't have to remember the IP address of my home. | ||
+ | |||
+ | ===== Web Proxy ===== | ||
+ | |||
+ | Light HTTPD is small lightweight HTTP server very suitable for the task: | ||
+ | < | ||
+ | ipkg install lighttpd | ||
+ | </ | ||
+ | |||
+ | I use Light http to listen on port 80 and transparently forward this request to the appropriate backend webservice. EDNA is also running on the SLUG. However if in the future I want to move EDNA I only need to adjust the proxy rule. | ||
+ | |||
+ | / | ||
+ | < | ||
+ | server.modules | ||
+ | " | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | Setup up a Virtual hostname redirect | ||
+ | < | ||
+ | $HTTP[" | ||
+ | proxy.server = ( | ||
+ | "" | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ) | ||
+ | ) | ||
+ | ) | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ===== EDNA ===== | ||
+ | |||
+ | Download the EDNA distribution | ||
+ | < | ||
+ | cd /root | ||
+ | wget http:// | ||
+ | </ | ||
+ | |||
+ | Modify the **edna.conf** file. You will need to at least configure: | ||
+ | < | ||
+ | auth = user: | ||
+ | port = 8082 | ||
+ | dir1 = / | ||
+ | </ | ||
+ | |||
+ | Make sure you have python installed | ||
+ | < | ||
+ | # ipkg install python | ||
+ | </ | ||
+ | |||
+ | Startup EDNA | ||
+ | < | ||
+ | # edna edna.conf | ||
+ | </ | ||
+ | |||
+ | {{tag> |