Koozali.org: home of the SME Server

Firefly / mt-daapd

Offline markleman

  • **
  • 66
  • +0/-0
    • http://www.leman.net
Firefly / mt-daapd
« on: December 19, 2008, 12:23:19 AM »
Hi,
Has anyone got a copy of Gerald Schwarzecker mt-daapd RPMs? All the links in these forums fail and his web site appears to be down, my usual approch of Googling for the exact file name has also failed  :sad:.

The latest version appears to be:
mt-daapd-svn-1498-1.sme7.1.i386.rpm & mt-daapd-svn-1498-1.sme7.1.src.rpm

I have the later svn-1586 version of mt-daapd / Firefly media server built from source and running on my Centos test box but have had to disable the firewall as a quick and dirty hack to contact it.

I would like to install mt-daapd / Firefly media server on my SME7.4 box but this obviously needs more careful firewall control  :smile:. Hopefully if I can find the src rpm I can update it to svn-1586.

Thanks, Mark Leman

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Firefly / mt-daapd
« Reply #1 on: December 19, 2008, 01:23:25 AM »
Regards,
William

IF I give advise.. It's only if it was me....

Offline markleman

  • **
  • 66
  • +0/-0
    • http://www.leman.net
Re: Firefly / mt-daapd
« Reply #2 on: December 19, 2008, 11:32:12 AM »
Thanks,
I see if I can update the rpm to the latest stable SVN version of firefly :-)

Offline jester

  • *
  • 496
  • +1/-0
Re: Firefly / mt-daapd
« Reply #3 on: February 08, 2009, 12:55:53 PM »
Hi Markleman,
Have you had a chance to update the rpm's ?!

jester.

Offline markleman

  • **
  • 66
  • +0/-0
    • http://www.leman.net
Re: Firefly / mt-daapd
« Reply #4 on: February 11, 2009, 01:24:39 PM »
Hi Jester,
I spent a lot of time over Xmas failing to get the RPM to rebuild with later SVN releases of mt-daapd and pushed the project to the side for a while :-(. However your message prompted me to have another go last night (*) and I have made considerable progress :-).

I rebuilt the RPM with the latest mt-daapd SVN nightly build (1696) which is not listed as a stable build, but now I know what was preventing compilation I could revert back to the older svn-1586 which is listed as stable.

I discovered that all the dependences can be met from the rpmforge repository which makes installation considerably easier.

I will write up my results here tonight and if others test it OK I will make a 'how to' Wiki page.

Regards,
Mark Leman

* Note to self - whilst learning how to rebuild RPMs is 'fun', staying up to 2am doing it makes it harder to get out of bed in the morning ;-)

Offline jester

  • *
  • 496
  • +1/-0
Re: Firefly / mt-daapd
« Reply #5 on: February 11, 2009, 02:41:26 PM »
Great!
Sounds familiar, coffee as thick as syrup is your biggest friend for those situations ;)

jester.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Firefly / mt-daapd
« Reply #6 on: February 11, 2009, 07:25:07 PM »
Hi Jester,
I spent a lot of time over Xmas failing to get the RPM to rebuild with later SVN releases of mt-daapd and pushed the project to the side for a while :-(. However your message prompted me to have another go last night (*) and I have made considerable progress :-).
Are you considering having your contrib in SME Contribs CVS and repository as well. This way you could benefit from peer code review and also benefit from a controlled build environment and even more easy installation through the smecontribs repository.

For more information have a look at http://wiki.contribs.org/Package_Modification
« Last Edit: February 11, 2009, 07:28:09 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline markleman

  • **
  • 66
  • +0/-0
    • http://www.leman.net
Re: Firefly / mt-daapd
« Reply #7 on: February 12, 2009, 01:19:55 AM »
Are you considering having your contrib in SME Contribs CVS and repository as well. This way you could benefit from peer code review and also benefit from a controlled build environment and even more easy installation through the smecontribs repository.

For more information have a look at http://wiki.contribs.org/Package_Modification

Yes I would aim to, but one step at time ;-). Having been a keen SME user and admin for several years this is my first attempt to develop anything and building/repackaging RPMs is quite a steep learning curve!

I also have another minor SME project that needs to be completed.... I have set up gpsd on our work SME box to take time and PPS signal from a GPS receiver and feed NTPd. I would like to build an sme-gpsd.rpm to pull in a generic gpsd.rpm and do the appropriate setups that I originally did by hand... but I digress.

Offline markleman

  • **
  • 66
  • +0/-0
    • http://www.leman.net
Re: Firefly / mt-daapd
« Reply #8 on: February 12, 2009, 01:56:44 AM »
============= IMPORTANT ============
This is my first attempt at rebuilding an RPM
It will contain faults - Do not use on a production server
These are brief notes I made during install.
Please give me feed back and constructive criticism
===================================


Configure the rpmforge repository for use - there is a better way to do this with 'db yum_repositories' but I have not mastered that yet so this will do for now.
Code: [Select]
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
wget http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
rpm -i rpmforge-release-0.3.6-1.el4.rf.*.rpm

Edit the rpmforge.repo file so it is not enabled by default
Code: [Select]
nano /etc/yum.repos.d/rpmforge.repo and change
Code: [Select]
enabled = 1to
Code: [Select]
enabled = 0
Move the rpmforge.repo to the right place for SME
Code: [Select]
mv /etc/yum.repos.d/rpmforge.repo /etc/yum.smerepos.d/

Fix problems with multicast discussed in http://forums.contribs.org/index.php/topic,33226.0/all.html
Code: [Select]
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

Fetch my RPM, install and reboot:
Code: [Select]
wget http://www.leman.net/rpms/mt-daapd-svn.1696-3.sme7.0.i386.rpm
yum install mt-daapd-svn.1696-3.sme7.0.i386.rpm --enablerepo=rpmforge
signal-event post-upgrade; signal-event reboot

When the server comes back you should be able to find it's web control panel:

http://your-server:3689
user name is anything
password is mt-daapd

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

Mark Leman

Offline markleman

  • **
  • 66
  • +0/-0
    • http://www.leman.net
Re: Firefly / mt-daapd
« Reply #9 on: April 02, 2009, 12:15:47 AM »
Having been running this with not apparent problems for some time now I feel confident enough (*) to have created a how-to page based on the previous post : http://wiki.contribs.org/Firefly_Media_Server.

Please try it and let me know.

Mark Leman

* several others have downloaded the RPM and no one has complained :-)

Offline qmanblue

  • 5
  • +0/-0
Re: Firefly / mt-daapd
« Reply #10 on: April 26, 2009, 02:23:51 AM »
Thank you for the excellent directions. While I am very familiar with sever OS, alas I am fairly new to LINUX and SME in particular. A few questions.

I want to use Ibays to house my music files so that these can both be played via itunes (or my Roku Sound bridge), and be accessible for copy to my portable devices.

However, in order to do this I must specify the i-bay as a path in firefly.  What exactly is the general path structure for an i-bay?

Also, I noticed in the interface that the bonjour service is not running, but the firefly server on my SME server seems to be seen by my roku.  Is bonjour supposed to be stopped?  if not, how should config be edited to auto start the service?


Offline qmanblue

  • 5
  • +0/-0
Re: Firefly / mt-daapd
« Reply #11 on: April 26, 2009, 04:13:59 AM »
 :P update - I have figured the path to the ibay, and all is well.  I am still curious about bonjour?

Offline markleman

  • **
  • 66
  • +0/-0
    • http://www.leman.net
Re: Firefly / mt-daapd
« Reply #12 on: April 27, 2009, 10:47:07 PM »
Hi qmanblue,
Glad you liked it and that you found the answer to your path problem :P.

So that others reading this forum can also find the answer: If you create an ibay called 'music' then the path you enter in the mt-daapd control panel under Configuration / Music Folder is:

Code: [Select]
/home/e-smith/files/ibays/music/files/

As with any ibay you can navigate to it in windows at
Code: [Select]
\\your-server-name\your-ibay-name
and copy your music files and folders to the ibay.

Mark Leman

Offline markleman

  • **
  • 66
  • +0/-0
    • http://www.leman.net
Re: Firefly / mt-daapd
« Reply #13 on: April 27, 2009, 11:25:26 PM »
:P update - I have figured the path to the ibay, and all is well.  I am still curious about bonjour?

When I installed Firefly I also noticed that it reported "Server Status - Bonjour Stopped", at the time I searched the fireflymediaserver.org forums and found several others reporting the same, but it still works! It might be because this compile of firefily is configured to use an internal mDNS responder rather than an external one like avahi, the web control page reports "Bonjour Stopped" - but this is just surmise on my part.

Mark Leman

Offline markleman

  • **
  • 66
  • +0/-0
    • http://www.leman.net
Re: Firefly / mt-daapd
« Reply #14 on: August 28, 2009, 01:34:34 AM »
Also try http://your-server-ip:3689/applet.html which is a java based DAAP client that will run in your browser and is IIRC included in the firefly install.
« Last Edit: August 28, 2009, 02:17:59 AM by markleman »