<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; multimedia server</title> <atom:link href="http://www.ghacks.net/tag/multimedia-server/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 21:54:04 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Set up a Linux media server</title><link>http://www.ghacks.net/2009/10/29/set-up-a-linux-media-server/</link> <comments>http://www.ghacks.net/2009/10/29/set-up-a-linux-media-server/#comments</comments> <pubDate>Thu, 29 Oct 2009 17:51:54 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Music and Video]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[DAAP]]></category> <category><![CDATA[itunes]]></category> <category><![CDATA[mp3 server]]></category> <category><![CDATA[multimedia server]]></category> <category><![CDATA[music server]]></category> <category><![CDATA[songbird]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=17860</guid> <description><![CDATA[Do you have multiple machines around your house that would like to share a centralized server for multi-media? Having such a server for music allows for consolidation, ease of use, and space saving on client PCs. Of course to many users, the idea of setting up a multi-media server sounds like it would be a [...]]]></description> <content:encoded><![CDATA[<p>Do you have multiple machines around your house that would like to share a centralized server for multi-media? Having such a server for music allows for consolidation, ease of use, and space saving on client PCs. Of course to many users, the idea of setting up a multi-media server sounds like it would be a nightmare&#8230;especially on the Linux platform. That couldn&#8217;t be further from the truth.</p><p><a
title="Firefly Media Server" href="http://www.fireflymediaserver.org/" target="_blank">The Firefly Media Server</a> (formerly mt-daap) is a fast DAAP server that is simple to install and even easier to configure. Firefly resides on a single Linux machine that doesn&#8217;t have to be a powerhouse. In fact, you can install this lightweight server on Ubuntu Server and you&#8217;re almost ready to go. In this article you will see how to do just that &#8211; install and configure Firefly Media Server on Ubuntu Server.</p><p><span
id="more-17860"></span><strong>Features</strong></p><p>The Firefly server has all of the features you will want in a DAAP server:</p><ul><li><span
style="background-color: #ffffff">Supports Unix/POSIX</span></li><li><span
style="background-color: #ffffff">Beta for Windows in the works</span></li><li><span
style="background-color: #ffffff">On the fly transcoding of OGG, FLAC, Apple Lossless, and WM</span></li><li><span
style="background-color: #ffffff">User-created smart playlist support</span></li><li><span
style="background-color: #ffffff">Integrates with iTunes and many other DAAP-supporting media players</span></li><li><span
style="background-color: #ffffff">Serve streaming radio stations</span></li></ul><p><strong>Installation</strong></p><p>Since we are installing on a Ubuntu Server, the installation is simple:</p><ol><li><span
style="background-color: #ffffff">Open up a terminal (or just log into your servers&#8217; console)</span></li><li><span
style="background-color: #ffffff">Issue the command <em>sudo apt-get install mt-daap</em></span></li><li><span
style="background-color: #ffffff">Enter your user password</span></li></ol><p>That&#8217;s it. Now it&#8217;s time to set it up.</p><p><strong>Configuration file</strong></p><p>There is only one configuration file for Firefly: <strong>/etc/mt-daapd.conf</strong>. This file is quite easy to set up. For a basic DAAP server, out of the box, there is really only one option you must configure. If you open up the configuration file look for the line:</p><p><em>mp3_dir = /home/media/music</em></p><p>This is the line you will need to change to reflect the directory you will serve your media from. For my setup I created a new sub-directory in <strong>/opt </strong>called <strong>music</strong>. Do this with the command:</p><p><em>sudo mkdir /opt/media</em></p><p>Now you have to make that directory readable by the DAAP server with the command:</p><p><em>sudo chmod ug+r -R /opt/media</em></p><p>Now all files and sub-directories created with the <strong>/opt/media</strong> directory will have the proper permissions such that the DAAP server can serve up the files.</p><p>Of course what you have just set up is a very basic DAAP server. There are a lot of other options within the configuration file you can set up, such as:</p><ul><li><span
style="background-color: #ffffff">servername: This is the name your DAAP server will broadcast. By default the server will be listed as Firefly <em>RELEASE_NUMBER HOSTNAME</em> (Where <em>RELEASE_NUMBER </em>is the release number of the Firefly installation and <em>HOSTNAME</em> is the hostname of the server.)</span></li><li><span
style="background-color: #ffffff">password protection: This will cause any user attempting to access the DAAP server to have to enter a password in order to see the files. </span></li><li><span
style="background-color: #ffffff">port: If you need to use a port other than the default (3689), configure it here.</span></li><li><span
style="background-color: #ffffff">extensions: The file types you want to allow to be served by your DAAP server.</span></li><li><span
style="background-color: #ffffff">Valid codectypes: These are the configurations for the format conversion. There are already lines for this in the configuration file &#8211; you just have to uncomment the ones you want to add for internal conversion.</span></li><li><span
style="background-color: #ffffff">rescan_interval: If you want to enable background scanning you need to uncomment this entry and set an interval. This will enable you to add new files without having to restart the DAAP server to pick up the new files. Very handy if you frequently add new files.</span></li></ul><p>There are other configuration options, but those are the ones you will want to focus on first.</p><p><strong>Start the daemon</strong></p><p>After your configuration file is complete, go ahead and move your media files into the directory and then start the server with the command:</p><p><em>sudo /etc/init.d/mt-daap start</em></p><p>With the server up and running you can fire up a DAAP enabled client, like iTunes or Songbird (Note: Songbird requires the addition of a DAAP add on), and you should automatically see the files on the DAAP server.</p><p><strong>Final thoughts</strong></p><p>Setting up a DAAP server is a great idea for a small internal network where you want to be able to share out a multi-media library. Anyone looking to set this up, and has a Linux server up and running, would do well to give Firefly a try. The simplicity, size, and speed of this server makes it the perfect candidate.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/10/29/set-up-a-linux-media-server/feed/</wfw:commentRss> <slash:comments>14</slash:comments> </item> </channel> </rss>
