Note that mt-daapd has been rebranded Firefly Media Server (although it is still available as mt-daapd in the ipkg feed). Additional NSLU2 specific install / configuration information for Firefly is available on the project web site http://wiki.fireflymediaserver.org/NSLU2_Installation - richdunlop
The package mt-daapd is an iTunes server for your NSLU2. Running it enables you to keep all your music on the drive connected to the NSLU2 and listen to it simply by opening iTunes on any Mac or PC in the same network. No need to map a drive.
Mt-daapd depends on the separate packages libid3tag and zlib. Don't worry, just follow the steps below, and they will automatically be installed by ipkg. Just remember to always start mt-daapd with the start script '
Note: as of package mt-daapd_0.2.1.1-r2_armeb.ipk running on openslug-2.6, files are located in different places, please check your current version for actual location (ilg).
End user Howto
If this is failing, please scroll down to the trouble shooting section.
To add more music, simply repeat the steps 5 to 8.
Most users will be happy putting music in the folder and listening to it via their iTunes. If you want to play around with mt-daapd a bit more, have a look at the following pointers:
Note: If you want to use the Web Interface to modify the configuration you need to set permission. To do so (in a telnet session): "# chmod 447 /opt/etc/mt-daapd/mt-daapd.conf" and to restart mt-daapd "# /opt/etc/init.d/S60mt-daapd"
An upgrade might be required if a newer version of mt-daapd is released. Also, as part of upgrading to a newer version of Unslung, the ipkg might lose the information about which vrsion of mt-daapd was previously installed. As a consequence, you may be forced to to install with the
A good start to troubleshoot the mt-daapd is to edit
Sometimes the default log output does not reveal enough information. You can add another command line parameter to the start of mt-daapd to enable more debug information: -dn where n is between 0 and 9. A good value to start with is -d2. You can add this parameter to the start script '/opt/etc/init.d/S60mt-daapd' so that mt-daapd will always print a little bit more information when things go wrong. You should use extreme values such as '-d9' only when you have a small folder with a few songs, otherwise the log file will be huge and it will not be easy to locate meaningful information.
You might get this error in the log '/var/log/mt-daapd.log':
The log file may contain no errors, but report that it has
If the log file looks fine but you still don't see the mt-daapd shared library in your iTunes, then maybe your personal firewall is blocking some required traffic. At some point during the initial communication between mt-daapd server and the iTunes client, those two seem to swap roles: iTunes becomes the server, and mt-daapd is contacting it via UDP on port 5353. So check your firewall and allow iTunes to get incoming traffic via UDP from your NSLU2 on this port.
If you don't see any songs in iTunes from your NSLU2, check the "run as" setting in the mt-daapd.conf file, you may need to change it to a user that has permissions to access your MP3s. What works well is if you always run the chmod setting as above ... you might want to even put that in your mt-daapd startup script.
You might want to play with the command line parameters of mt-daapd. However, running the binary manually from the command line is likely to give you the following error message:
Some users experience missing songs in mt-daapd. Running it with the command line parameter '-d2' (for more debug output) revealed the error Bad mp3 header in xxx.mpr: bad layer_index. This was a bug in an earlier version of mt-daapd, and should not happen with the current version from ipkg. If you spot this issue in your log file, try updating to the current version of mt-daapd. A "ipkg update" and "ipkg install mt-daapd" should do it. If you want to be more "bleeding-edge", you can also try installing nightly snapshots from http://nightlies.mt-daapd.org and please report back into the author any issues.
Pinnacle Soundbridge - beta version of mt-daapd
Pinnacle distributes the Roku Soundsbridge throughout parts of Europe. Their versions are slightly cheaper, but dont include daap protocol due to not having a license from Apfel. Hence you need to use the roku protocol which is NOT in the stable 0.2.x build. Thus you need a recent beta, but the web download link may well point to a so new version that the libs aint available for the unslung in time. And the standard feeds dont have the beta.
As of 25-Jul-2009 the instruction below don't work as http://ipkg.fireflymediaserver.org/armeb doesn't exist. The following works (after much blood sweat and tears!). Everything as root.
The last step is needed so mt-daapd can write it's songs database. There's probably a better way to do this (e.g. put the songs.db in a public folder by changing the db_parms parameter described below).
Now edit the config file:
And add the following line:
This beta mt-daapd has quite some improvements over the stable, like its way faster indexing of large music collections (factor 10 observed easily) and certain transcoding options for ogg, flac etc. which may make it worthwhile for non Pinnacle users as well.
(not working at 25-06-2009) Nasty thing, but theres an easy way to install the newest working beta version for NSLU - I took me a while to find this:
Why Mp3's Won't Play
Before v0.2.4, mt-daapd was unable to play MP3s with ID3v2 Tags, they will be detected by iTunes but it will not play with mt-daapd. More information on this can be found here http://wiki.mt-daapd.org/wiki/Transcoding_HOWTO. If you cannot or don't want to upgrade to a newer version of mt-daapd, simply remove the ID3v2 tags, as described in the howto.
Help & Support
For additional help with installation and configuration issues, please visit the project web site. Further documentation and a forum are available to aid with set-up and usage.
view · edit · print · history · Last edited by blunto.
Based on work by blunto, Reedy, fcarolo, urtlnomis, mas, richdunlop, Fred Wenzel, etherkidd, andreas, jt, Steve Jackson, Dietmar Zlabinger, JBK, Liviu Ionescu, tman, velociped, Albert Smith, Steve Peters, rpedde, kaste, ka6sox, kai, bcoombs, and Bob Walchli.
Originally by kaste.
Page last modified on July 25, 2009, at 01:02 AM