I'm using Kubuntu 9.10 and was suffering from the same problem, except
that all speex 1.1.12 encoded files I tried (including the one in
example-content) didn't work either.

I did some investigation and found that other phonon based players (such
as Dragon Player) could play speex files propperly, so the problem must
be in Amarok and not further down the stack. I tried to read the Amarok
source code to find out what it did wrong, but I never managed to
figured it out. I did, however, find a workaround:

By default Ubuntu 9.10 will assign the non-standard mime type
audio/x-speex+ogg to Speex files, rather than the standard mime type
audio/ogg. As audio/x-speex+ogg is defined to be a sub-class of
audio/ogg there is nothing wrong with this. However, whatever Amarok is
doing wrong, it is only doing it for audio/x-speex+ogg, so if you
present speex files as audio/ogg to Amarok it will gladly hand them over
to phonon, and the files will work just fine, both playing them and
reading any tags.

What I did to get this to work was edit
/usr/share/mime/packages/freedesktop.org.xml as root, find the <mime-
type type="audio/x-speex+ogg"> element and comment it out. I then had to
update all generated files (sudo -i update-mime-database /usr/share/mime
; sudo -i kbuildsycoca4 --global --noincremental ; kbuildsycoca4
--noincremental) and re-start Amarok.

Hope this workaround helps everyone else having this problem.  Note that
you will probably have to repeat this procedure every time you upgrade
the shared-mime-info package.

-- 
Can't open .spx speex files in Amarok
https://bugs.launchpad.net/bugs/333454
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to