Kodi Community Forum

Full Version: Cannot play musepack files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have tried to playback musepack (.mpc) files with XBMC Atlantis under hardy and intrepid with bad results in both cases.

Whenever I click an MPC file, nothing happens, and this library missing error is reported in XBMC's log file:

Code:
18:27:20 T:3067406176 M:578797568   DEBUG: Loading: /usr/share/xbmc/system/players/paplayer/libmpcdec-i486-linux.so
18:27:20 T:3067406176 M:578797568   ERROR: Unable to load /usr/share/xbmc/system/players/paplayer/libmpcdec-i486-linux.so, reason: /usr/share/xbmc/system/players/paplayer/libmpcdec-i486-linux.so: cannot open shared object file: No such file or directory
18:27:20 T:3067406176 M:578797568   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://2/12/12/121.mpc
18:27:20 T:3067406176 M:578969600   ERROR: Playlist Player: skipping unplayable item: 0, path [musicdb://2/12/12/121.mpc]

I have tried softlinking my libmpc lib (placed in /usr/lib/libmpcdec.so.3) to the paplayer directory, but then I get this error:

Code:
20:58:35 T:3067352928 M: 69599232 WARNING: Unable to resolve: libmpcdec-i486-linux.so Open, reason: /usr/share/xbmc/system/players/paplayer/libmpcdec-i486-linux.so: undefined symbol: Open
20:58:35 T:3067352928 M: 69599232   ERROR: Unable to resolve exports from dll Q:\system\players\paplayer\libmpcdec-i486-linux.so
20:58:35 T:3067352928 M: 69599232   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://2/5/4/42.mpc
20:58:35 T:3067352928 M: 69599232   ERROR: Playlist Player: skipping unplayable item: 11, path [musicdb://2/5/4/42.mpc]

I have searched in the SVN repository and in the packages for the linux version of the library, but none of the Atlantis releases seems to have it.

Any idea how to solve this?

Thanks.
Looks like either an oversight in the build process or something that hasn't been implemented on linux (probably the former). Please open a trac ticket with full details required to reproduce the problem.

Using the "normal" libmpc isn't going to work as it doesn't have the filesystem wrapper stuff we require.
Fixed in SVN, I've created a ticket and attached a lib you can try if you're using Ubuntu 8.10. (Works for me).
Tested the attached lib also under Ubuntu 8.04 and works fine. Thanks for the quick answer Wink