1 Attachment(s)
How-to: Compile mt-daapd for your Roku/Pinnacle soundbridge
Note: this is a draft version. Please respond with your advice.
What I did to compile mt-daapd
Prerequisite: firmware of KCFurge installed. Updated all my packages, installed package optware-devel
Sollie mentioned he had to update buildroot:
Quote:
ipkg install -force-overwrite buildroot
Download mt-daapd-svn-1586.tar.gz from http://www.fireflymediaserver.org/
Put it somewhere you can reach it within the WL-700gE. I putted mine in my home-dir.
Currently (22-1-2008) the newest one is release 1696, which I took.
Quote:
telnet asus
sudo bash
It is vital to run configure as root, so sudo bash is needed.
On the command line, and in your .profile, add this:
Quote:
LD_LIBRARY_PATH="/opt/lib:/shares/lib"
PATH_SEPARATOR=:
CONFIG_SHELL=/opt/bin/bash
AWK=/opt/bin/gawk
export PATH_SEPARATOR CONFIG_SHELL AWK LD_LIBRARY_PATH
Do this with joe .profile
(I love joe as editor, it has wordstar-like commands, and these still stick in my fingers from the 80´s. You may love nano or vi, or don't know what)
Run:
Quote:
tar -xvzf mt-daapd-svn-xxxx.tar.gz
to 'unzip' this
It's needed to change the first line of configure from "#!/bin/sh" to "#!/opt/bin/bash"
Do this with joe configure
Now, try
Quote:
./configure --prefix=/opt --enable-sqlite3 --enable-oggvorbis --enable-flac
You may need other --enable options, but these are for ogg/vorbis and flac support. Have a look in the configure file for more.
If it runs without errors you are as lucky as I was.
Then, give make supreme command:
After that make sure you have removed the old mt-daapd that you may have installed:
Maybe you like to keep your old mt-daapd.conf, do so first, but keep in mind that newer mt-daapds need newer config files.
Quote:
ipkg remove mt-daapd
There might be an install-sh script for which you need to change the first line from "#!/bin/sh" to "#!/opt/bin/bash"
Now run
Most likely you need to reconfigure mt-daapd.conf. There is an up-to-date template in mt-daapd-svn-9999/contrib. 9999 is your buildnumber, say 1696. Use that as a start.
To start mt-daapd at bootup, at this to your rc.local:
Quote:
if [ -x /opt/sbin/mt-daapd ]; then
/opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-daapd.conf
fi
Of course, disable the antique mt-daapd the Asus provides:
in the beginning of your rc.local:
Quote:
# Sleep for a little bit to not interfere with normal system startup
# before we kill a bunch of Asus processes.
sleep 5
# Stop Asus mt-daapd
killall -q mt-daapd &
Also, disable the Media Server in the webinterface of the Asus.
If you don't let mt-daapd run as root, give the account you gave to mt-daapd the correct rights: for instance Sollie had to use this command, to have write permission:
Quote:
chown guest /opt/var/mt-daapd
if you need a more extended buglevel, add -dx after the line, with x=1,2,...,9
I.E:
/opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-daapd.conf -d5
You can reach the web interface with http://asus:3689/index.html where 'asus' is the hostname or the ip address of your NAS
To allow transcoding for flac and ogg to work, change the first line of /opt/sbin/mt-daapd-ssc.sh
to
#!/opt/bin/bash
If your ogg files produce noise only, proceed. If not, be happy.
With package ivorbis-tools (1.0-6) the ogg-files are transcoded the big-endian way, that should be the little-endian way. Result is noise.
If you have this problem, try this: download the attached oggdec.bin.zip. Unzip this and copy oggdec.bin as oggdec to /opt/bin/oggdec. It will overwrite what you got from your ivorbis-package.
Make sure it is executable:
Quote:
chmod +x /opt/bin/oggdec
use the right mt-daapd.conf
Quote:
Originally Posted by
sollie
I cant get it running. i build it without errors, but there was no mt-daapd.conf. So i copied one from a firefly.ipkg. When i start it, nothing happens.
Sollie.
Ok, you have been bitten by the wrong .conf. There is an up-to-date template in mt-daapd-svn-1571/contrib. Use that as a start.
Hmm, I should have said so to begin with.
Good luck
Marc
Sollie: your help is appreciated
Sollie,
As you promised to help with ogg-streaming, please have a look at this post:
http://forums.fireflymediaserver.org...f27cc3a5#12343
Then, please try to do this yourself. It is not so difficult.
You must use --prefix=/opt as an extra.
When I try to configure vorbis-tools it fails. Now I hope this is due to my dumb setup, and that it will run smoothly with your setup.
Please have a try and report what you get or don't get.
Good luck,
Marc
two mt-daapd in repository?
I see in the ipkg repository here http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/ that there are 2 versions of the mt-daapd, one is pretty recent. Anybody knows the differences? Or did anybody in this thread, who managed to compile, make an ipkg already?
It's still a bit unclear to me if this mt-daapd (one of the two in the rep) supports correctly the Pinnacle Soundbridge or not. I'm ready to compile as well if needed but if a package is there, much better...
Thanks
Ping
UPDATE: after some more googling, I seem to understand that even the 0.2.4-2 does not support the Pinnacle Soundbridge (but probably works with the Roku?). Anybody here can confirm?
How to install the libz.so
I'm trying to replace my media server with mt-daapd.
When I try to start mt-daapd, it needs libz.so.
When I try to install this lib with ipkg, it answers that a symlink could not be created.
How to ????:confused:
No Soundbridge for me anymore.
I have decided not to wait any longer for an update of mt-daapd. I will sell or give away my Pinnacle Soundbridge, because it has no native OGG Vorbis support.
No device in my household will be allowed anymore if it does not have OGG Vorbis support.
In stead I have bought a Ziova Clearstream CS-510. That one does OGG Vorbis, but it has a very weak wireless encryption (WEP), with WPA only as a promise in the manual. Nevertheless, I will give it some credit and wait (again) for a FW-update with WPA2.
Sollie, am I right that you own a Ziova Clearstream too?
I have searched for media and music servers *a lot* and still did not find one that does this:
- Wireless WPA2
- OGG Vorbis
- music without TV
- video and photo's
- No Windows-dependancy
The Ziova at least fulfills the most and promises to fulfill all.
I found a nice site about media servers and streaming: http://www.mpcclub.com/
Marc