Comment 8 for bug 378390

Revision history for this message
scnaifeh (scnaifeh) wrote :

@Cirion: The simplest way is as follows (though it will rebuild and reinstall all of mt-daapd and not just the plugin):

1. open a terminal window

1.5 uninstall the current version of mt-daapd

sudo apt-get remove mt-daapd

This should leave your songs database and /etc/mt-daapd.conf intact.

2. cd to an appropriate working directory (e.g. ~/source) - if you don't already have one you'll need to create it.

3. run (don't need to be root for this one)

apt-get source mt-daapd

4. run

sudo apt-get build-dep mt-daapd

5. cd into mt-daapd-0.9~r1696.dfsg (created by the apt-get source command in step 3 in the current directory)

6. copy the ssc-ffmpeg.c.patched attached above from whereever you downloaded it to ./src/plugins/ssc-ffmpeg.c (if it asks for confirmation to overwrite the existing file, say yes), e.g.:

cp /path/to/ssc-ffmpeg.c.patched ./src/plugins/ssc-ffmpeg.c

7. run

dpkg-buildpackage -rfakeroot -uc -b

8. cd back to the parent of the mt-daapd build directory:

cd ..

9. run

sudo dpkg -i mt-daapd_0.9~r1696.dfsg-9_amd64.deb

(this is if you are running 64 bit ubuntu -- if you are running a 32 bit os, subsitute "i386" for the "amd64" in the above filename). When it asks if you want to overwrite/keep/merge your /etc/mt-daapd.conf file, hit keep (N or O).

Take a look at /var/log/mt-daapd to confirm that the ssc-ffmpeg plugin successfully loaded. You should now be good to go.