Dependencies
Check the dependencies before you startequo install dev-db/sqlite media-libs/libid3tag media-libs/libvorbis media-libs/flac
Download, Compile, Install
Download mt-daapdwget 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 filenano /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