(*** This bug was imported into bugs.kde.org ***) Package: noatun Version: KDE 2.2 beta1 Hello. I have several CDs with mp3 files. Unfortunately files on CDs are named with .wav extension. But the actual audoi data is mp3 and mpg123 processes it correctly. Noatun from KDE 2.1 (compiled from sources) used to play those files correctly. Noatun from current KDE 2.2 (both compiled from sources and installed as binary debian packages) refuses to play the files. There is no sound and the following message appears in ~/.xsession-errors (this is where stdout of Xsession is redirected to): Audio File Library: WAVE MPEG layer 3 data format is not supported [error 0] The same message appears if I try to play the file using artsplay. Files play correctly (both by noatun and artsplay) if I rename them from *.wav to *.mp3 Seems that artsd/noatun decide about file format by the file name. Is that really correct ?.. Well the problem may be workarounded by renaming or symlinking files but IMHO these workarounds are ugly. Unix software should not depend on file name extensions should it ?
On Saturday August 11 2001 03:07 Nikita V.Youshchenko wrote: > Package: noatun > Version: KDE 2.2 beta1 > > Hello. > > I have several CDs with mp3 files. > Unfortunately files on CDs are named with .wav extension. But the > actual audoi data is mp3 and mpg123 processes it correctly. > > Noatun from KDE 2.1 (compiled from sources) used to play those files > correctly. > > Noatun from current KDE 2.2 (both compiled from sources and installed as > binary debian packages) refuses to play the files. > There is no sound and the following message appears in > ~/.xsession-errors (this is where stdout of Xsession is redirected to): > > Audio File Library: WAVE MPEG layer 3 data format is not supported > [error 0] > > The same message appears if I try to play the file using artsplay. > Files play correctly (both by noatun and artsplay) if I rename them from > *.wav to *.mp3 > > Seems that artsd/noatun decide about file format by the file name. Is > that really correct ?.. Well Noatun is working by mimetype now but the problem is that the KDE libraries mimetype system the system Noatun is using checks the filename before it checks the contents. > Well the problem may be workarounded by renaming or symlinking files > but IMHO these workarounds are ugly. Unix software should not depend on > file name extensions should it ? Well personally I wish filename manglings would be ignored but this is a point of disagreement. Thanks for the report. Maybe problems like these will make some people reconsider the issue. -- Neil Stevens neil@qualityassistant.com Don't think of a bug as a problem. Think of it as a call to action.
On Samstag 11. August 2001 12:36 Neil Stevens wrote: > Thanks for the report. Maybe problems like these will make some people > reconsider the issue. I suppose you use KMimeType::findByURL()? See the last parameter bool fast_mode = false Cheers Carsten Pfeiffer
out of date
Noatub refuses to open ANY sound type file, generating the same error message everytime. No problems at startup. It never worked properly.