<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GoodCamel Blog &#187; debian</title>
	<atom:link href="http://blog.goodcamel.com/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.goodcamel.com</link>
	<description></description>
	<lastBuildDate>Fri, 19 Feb 2010 23:28:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stream your music with musicindex</title>
		<link>http://blog.goodcamel.com/2008/02/08/streaming-your-music-using-musicindex/</link>
		<comments>http://blog.goodcamel.com/2008/02/08/streaming-your-music-using-musicindex/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 03:46:14 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[musicindex]]></category>
		<category><![CDATA[stream]]></category>

		<guid isPermaLink="false">http://blog.goodcamel.com/?p=5</guid>
		<description><![CDATA[One thing I wanted to do is to be able to access my music library at home from anywhere. I also wanted it to be streamed so I do not have to download the files before I can play them.
Well, the apache module musicindex makes it very simple if you already have an apache web [...]]]></description>
			<content:encoded><![CDATA[<p>One thing I wanted to do is to be able to access my music library at home from anywhere. I also wanted it to be streamed so I do not have to download the files before I can play them.</p>
<p>Well, the apache module <a href="http://packages.debian.org/etch/libapache2-mod-musicindex" title="Debian - libapache2-mod-musicindex" target="_blank">musicindex</a> makes it very simple if you already have an apache web server running. All you need to do is to tell it where your music files are located and it will create a very friendly web interface that will let you browse, search, download and most importantly stream your music files.</p>
<p><a href="http://blog.goodcamel.com/wp-content/uploads/2008/02/screenshot-musicindex.png" title="Screenshot - Musicindex"><img src="http://blog.goodcamel.com/wp-content/uploads/2008/02/screenshot-musicindex.png" alt="Screenshot - Musicindex" border="0" height="25%" width="25%" /></a></p>
<p>Here are the instructions under <a href="http://www.debian.org/" title="Debian - The Universal Operating System" target="_blank">Debian</a> etch.</p>
<p>First, install the apache module musicindex:</p>
<blockquote><p> <code># apt-get install libapache2-mod-musicindex</code></p></blockquote>
<p>Then enable the module in apache:</p>
<blockquote><p> <code># cd /etc/apache2/mods-enabled/<br />
# ln -s ../mods-available/musicindex.load</code></p></blockquote>
<p>Then, open <code>/etc/apache2/httpd.conf</code> with your favorite text editor and add the following. Note that I created a new subdomain (<code>mymusic.mydomain.com</code>) for that purpose only:</p>
<blockquote><p><code>&lt;VirtualHost *:80&gt;<br />
ServerName mymusic.mydomain.com<br />
DocumentRoot /path/to/mymusic.mydomain.com<br />
&lt;/VirtualHost&gt;<br />
&lt;Directory "</code><code>/path/to/mymusic.mydomain.com</code><code>"&gt;<br />
Options             Indexes MultiViews FollowSymlinks<br />
AllowOverride       Indexes<br />
# Can be overriden in .htaccess<br />
MusicIndex          On +Stream +Download +Search -Rss -Tarball<br />
MusicSortOrder      album disc track artist title length bitrate freq filetype filename uri<br />
MusicFields         track title artist length bitrate freq filetype<br />
# MusicPageTitle      Myname<br />
MusicDefaultCss     musicindex.css<br />
# Can only be set in apache configuration<br />
MusicDefaultDisplay HTML<br />
MusicIndexCache     file://tmp/musicindex<br />
# MusicIceServer      [ice.domain.my]:8000<br />
# MusicCookieLife     300<br />
# MusicDirPerLine     3<br />
&lt;/Directory&gt;</code></p></blockquote>
<p>Then, restart apache:</p>
<blockquote><p><code># /etc/init.d/apache2 stop<br />
# /etc/init.d/apache2 start</code></p></blockquote>
<p>You are done. Just open any browser to your new site (<code>mymusic.mydomain.com</code>) and stream your music on demand from anywhere. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.goodcamel.com/2008/02/08/streaming-your-music-using-musicindex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
