DAAP Server
1. Introduction
2. Installing Fire Fly Server
3. Configuring Fire Fly Server
3.1 Scan Music Library
4. Last.fm Support
Introduction
I wanted to setup a simple music server so I could stream audio to my wifes laptop. This has been tested on Ubuntu and Debian.Installing Fire Fly Server
The FireFly Media Server seemed the most simplest and most suitable media server for this proof of concept, although it lacks some feature I would like such as audio matching play lists using something like http://www.musicip.com/.aptitude install mt-daapd
Configuring Fire Fly Server
I haven't dug very deep into the configuration yet.nano /etc/mt-daapd.confChange the password and path to your music files.
/etc/init.d/mt-daapd restart
Scan Music Library
Browse to :- http://localhost:3689/index.html
- Username : admin
- Password : what ever you setup or my-daapd by default
Automating Scans
Re-scan * http://localhost:3689/xml-rpc?method=rescan Full rescan * http://localhost:3689/xml-rpc?method=rescan&full=1 If you are doing it from a remote system, you may need to use username and password as well: * http://user:password@localhost:9999?xml-rpc?method=rescanLast.fm Support
I no longer embed Last.fm support in my Firefly servers, this is here for reference only.aptitude install lastfmsubmitd sqlite3When prompted...
- User name of Last.fm account: your last.fm user
- Password for Last.fm account: your last.fm password
- Group that may send submissions: lastfm
nano /usr/local/bin/firefly-to-lastfm.shSample Set the permissions appropriately.
sudo chmod 755 /usr/local/bin/firefly-to-lastfm.shPlay some music (complete tracks) via the Fire Fly server, then as root run the script.
/usr/local/bin/firefly-to-lastfm.shNow login to you Last.fm account as check your profile to make sure the tracks you just listened to have been added. Finally, create a cron job to submit you recently played music to Last.fm.
ln -s /usr/local/bin/firefly-to-lastfm.sh /etc/cron.hourly/References
- http://fireflyclient.sourceforge.net/
- http://forums.fireflymediaserver.org/viewtopic.php?t=4754
- http://forums.fireflymediaserver.org/viewtopic.php?p=19025#19025
- http://www.red-bean.com/~decklin/software/lastfmsubmitd/
- http://forums.fireflymediaserver.org/viewtopic.php?t=7198
$Id: DaapServer,v 1.21 2008/07/19 17:37:10 martin Exp $
Wiki Index All Recent Edit Top

