You are not logged in.


Thursday, February 13th 2003, 6:55pm

Is this bug still in 3.1?

I think I've found a bug in Noatun, but I'm still using KDE 3.0. Can anyone else reproduce this in 3.1, before I file a bug report?

I have the following entry in /opt/kde/share/mimelnk/magic, so Konqueror can recognise the audio/x-scpls mimetype without the file extension:
[code:1]0 string \<!DOCTYPE\ XMLPlaylist audio/x-scpls[/code:1]

However, the Open File dialogue on the Noatun playlist plugin only recognises playlist files as such if they have the .pls or extension. As far as I was aware all KDE apps were meant to respect the magic file. Also, the --playlist <file> command line option fails if the file doesn't end with .pls.

Is this still the case with KDE 3.1?


Friday, February 14th 2003, 8:54am

I think you misunderstand what the mimetypes do.

If you go into KControl and associate audio/x-scpls with Noatun, and then find a playlist file and doubleclick on it, Noatun should open that playlist.

The filter box at the bottom of the open file dialog is simply list of default things to look for, not a comprehensive list of all the filetypes an app can possibly handle. It's editable though, so just type * or use the dropdown box to change to that, and select your playlist.


Friday, February 14th 2003, 12:06pm

But the Open File dialogue in the Noatun playlist is the only one I've noticed that goes solely by the extension to determine what files to display. I realise you can edit the filetype box, but it's an inconvenience. If in Noatun proper you select Ogg Vorbis as the filetype, it will display *.ogg files and Ogg files without an extension, determined to be Ogg from information in the magic file.

Yes I realise you can associate Noatun with the playlist mimetype, but it does not work if the playlist has no extension. Konqueror recognises it as a playlist file from info in the magic file and opens it using Noatun, but Noatun does not recognis it as a playlist file, and so adds the file to the playlist as if it were a music file. If not all apps respect the magic file this is inconsistent behavior, something people expect to avoid when using a single desktop environment and apps writen specifically for it.

Is this still the behavior in KDE 3.1?