DAAP

From Indie IT Wiki
Jump to: navigation, search

Digital Audio Access Protocol

AKA

Firefly

Check Songs Database & If Broken How To Fix

You will need to ensure that no devices are accessing the DAAP share before proceeding.

To check the database:

Terminal:~$

cd /etc/init.d/
mt-daapd -f -d 9 -m

If you receive the following the database is broken:

Terminal:~$

Checking existence of /var/cache/mt-daapd gdbm fatal: read error

To fix:

Stop the service, remove the old database and then restart the service:

Terminal:~$

/etc/init.d/mt-daapd stop
mv /var/cache/mt-daapd/songs.gdb /var/cache/mt-daapd/songs.old
/etc/init.d/mt-daapd start

Stop/Start Service

Linux Terminal:~$

/etc/init.d/mt-daapd stop
/etc/init.d/mt-daapd start

The above was shamelessly borrowed from here.

Playlists

/etc/mt-daapd.playlist

Web Interface

server_IP_address:3689

For example:

192.168.0.1:3689

You will be asked for a username and password, leave the username empty and the password is that specified in the mt-daapd.conf file.

By default the password should be mt-daapd.