Sunday, March 9, 2014

MT-DAAPD with FLAC and OGG support

Serve your music files to MAC, Windows, Linux, Android and Iphone. Basically you can listen to them from any platform . It is a great little application. We will install it with FLAC and OGG support thus we will not use the repository edition but compile it.

Dependencies 

Check the dependencies before you start

equo install dev-db/sqlite  media-libs/libid3tag media-libs/libvorbis media-libs/flac

Download, Compile, Install

Download mt-daapd

wget http://ftp.momo-i.org/pub/other/mt-daapd-svn-1696.tar.gz

or you can download from here

https://drive.google.com/file/d/0ByyLo2VHCtYpQ01ZYVF2VE5MTk0/edit?usp=sharing

then open the tar file and build

tar -xvzf mt-daapd-svn-1696.tar.gz
cd mt-daapd-svn-1696/
./configure --enable-flac --enable-ogg --enable-sqlite3
make
make install

Configuration File

Edit the configuration file

nano /usr/local/mt-daapd-svn-1696/contrib/mt-daapd.conf 

Do not forget to change database to sqlite3 and change passwords in the configuration file.

You can start the server by showing the path to the config

 /usr/local/sbin/mt-daapd -c /usr/local/mt-daapd-svn-1696/contrib/mt-daapd.conf -P /var/run/mt-daapd.pid -f

The -f in the end runs it in the foreground so you can see the errors. After clearing all the warnings and errors you can remove the -f and read my next post about writing a custom service for mt-daapd to start at boot.

You can check the web interface to check if everything works as expected.
http://localhost:3689/

No comments:

Post a Comment