So here goes: https://github.com/vladkorotnev/MPD
This fork can:
- Play SunVox files (only at 44100/16 for now, but still this helps save disk space by storing SunVox projects instead of WAV/FLAC files!)
- Read SunVox file title and duration
- (Somehow buggy) Seek forward and backward
- Writing the Autoconf files properly (in the commits you can see I went pretty hard on them and just unconditionally built the SunVox plugin in)
- Maybe it would be a good idea to make it use the dynamically linked SunVox library (via dlopen), but I couldn't get it to build, it would keep on telling me about unresolved references to sv_* functions. If it's possible, it would be good to place the path to the library into the decoder config section of mpd.conf.
- Once it's done the proper way, we could submit a pull request to the upstream MPD repository, and build packages for various distros.
- If it's accepted into the upstream, eventually there will be no need to build our own packages, but it will be necessary to package libsunvox.