Firefly Media Server

From SME Server
Revision as of 18:26, 3 January 2011 by Perelandra (talk | contribs) (added possible solution for broken yum dependency)
Jump to navigation Jump to search
Important.png Note:
This How-to is based on the forum post here, until this How-to gets converted in to a contrib and has a place in the Contribs.org Bugzilla bug tracking system, please report bugs in the original forum discussion.


Description

Firefly Media Server, previously known as "mt-daapd" is a service to stream digital music to Roku Soundbridge devices and iTunes. Read more...

This how-to will install Firefly Media Server to allow music stored on an SME server to be available to the local LAN.

The original RPM was produced by Gerald Schwarzecker and updated in Q1-2009 by Mark Leman to the use Firefiy media server version svn-1696.

Installation

Configure the dag repository

Extra packages are required which are available in the dag repository.

The following command will configure the dag repository on SME Server. EDIT NOT COMPLETE!


To create an entry in the database for the epel repository we open put the following commands in a terminal window or in a shell window:

/sbin/e-smith/db yum_repositories set epel repository \

Name 'SME Server - epel' \
BaseURL 'http://<http://download.fedoraproject.org/pub/epel/7/$basearch' \
EnableGroups yes \
GPGCheck yes \
Visible no \
status disabled

To enable the changes:

    signal-event yum-modify

Just to be sure, give yum a fresh start:

    yum clean all

After adding it to the database we have to update the changes to the configuration file:

signal-event yum-modify

Enable Multicast traffic

Enable Multicast network traffic discussed here...

mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq 
touch /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/40DenyMulticast 
signal-event remoteaccess-update 

Download RPM

wget http://www.leman.net/rpms/mt-daapd-svn.1696-3.sme7.0.i386.rpm

Install

Yum will automatically pull in the required dependencies from the Dag repository.

yum install mt-daapd-svn.1696-3.sme7.0.i386.rpm --enablerepo=dag
signal-event post-upgrade; signal-event reboot

If yum is complaining about a missing dependency for libFLAC.so.4 you might find the solution here

Usage

When the server comes back from reboot you should be able to find Firefly's web control panel by browsing from your LAN:

http://your-server:3689

The user name is anything. The password is 'mt-daapd'.

Navigate to the 'configuration' page to change the password and add some music directories, for example if you create an ibay called 'music' then the path you enter in the mt-daapd control panel under "Configuration / Music Folder" is:

/home/e-smith/files/ibays/music/files/

Source RPM

The source RPM is here http://www.leman.net/rpms/mt-daapd-svn.1696-3.sme7.0.src.rpm