[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#30541: noatun (arts?) fails to play mp3 files named something.wav
From:       Neil Stevens <neil () qualityassistant ! com>
Date:       2001-08-11 10:36:23
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic