Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42673 - JuK won't play Ogg Vorbis files
Summary: JuK won't play Ogg Vorbis files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL: http://bugs.kde.org/show_bug.cgi?id=6...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 17:21 UTC by Mario Doria
Modified: 2004-12-01 21:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Doria 2004-02-23 17:21:53 UTC
After emerging kdemultimedia-3.2.0 and installing JuK, it does not play Ogg Vorbis files.

As noted in the URL above, it seems to be fixed by a simple change, as follows: 

--- mediafiles.cpp.new  2004-02-23 19:16:25.246902608 -0600
+++ mediafiles.cpp      2004-02-23 19:17:01.255777004 -0600
@@ -25,7 +25,7 @@
     QStringList mimeTypes();

     static const char mp3Type[]  = "audio/x-mp3";
-    static const char oggType[]  = "application/ogg";
+    static const char oggType[]  = "application/x-ogg";
     static const char flacType[] = "audio/x-flac";
     static const char m3uType[]  = "audio/x-mpegurl";


Reproducible: Always
Steps to Reproduce:
1. emerge kdemultimedia-3.2.0
2. Open JuK
3. Try to play a Ogg Vorbis file

Actual Results:  
The file won't appear in the playlist.


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 i686 Intel(R) Celeron(R) CPU 2.20GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm
gif gphoto2 gpm gtk2 imlib java jikes jpeg kde libg++ libwww mad maildir mikmod
mmx motif moznocalendar moznoirc mpeg ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd
truetype video_cards_i810 x86 xml2 xmms xv zlib"
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-03-20 10:40:36 UTC
This seems to be a reappearance of Bug 30325 and http://bugs.kde.org/show_bug.cgi?id=64024 after juk was put into kdemultimedia...
Comment 2 Dominik Stadler (RETIRED) gentoo-dev 2004-03-20 10:49:54 UTC
This is still present in KDE 3.2.1.
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2004-05-12 13:14:57 UTC
From looking at the code this seems to be still present in KDE 3.2.2. I can play ogg-files from inside juk, but not from konqueror.
Comment 4 Mario Doria 2004-05-20 09:57:42 UTC
After reading the page I found this: http://www.vorbis.com/faq.psp. So JuK was right from the start, problem is it sometimes fails when playing ogg encoded files.

"What is the MIME content type for an Ogg Vorbis stream? 

application/ogg.

The official mimetype was approved in February 2003. The experimental application/x-ogg may still be out there, though. "
Comment 5 Mario Doria 2004-12-01 21:53:38 UTC
I found out that if the file I am trying to play, for example "music.ogg", DOES NOT have the ".ogg" extension, JuK will crash. If the file is in the format of "name.ogg", JuK will hapilly play it.