Version: (using KDE 4.3.0) Compiler: gcc OS: Linux Installed from: SuSE RPMs Amarok doesn't recognize (audio-)files without extension. They don't show up in the 'open media' dialog, until you type in the first letters (filter?). When loaded, amarok doesn't read in the meta information (taglib?), but plays the track.
I guess you are using 2.2-git, right?
Yes, but it doesn't depend on the version. It didn't work in 2.0.1, too. And I'm on SVN/Git since then.
(In reply to comment #2) > Yes, but it doesn't depend on the version. It didn't work in 2.0.1, too. And > I'm on SVN/Git since then. Well, we always set the version to the most recent where that occurs, hence 2.2-git. BTW, this never worked in Amarok 2.x anyway, strange that nobody reported it earlier, seems that people mostly have extensions in their filenames.
Created attachment 37338 [details] See files without extensions in Play Media/related dialogs. Not sure why exactly this patch fixes the bug (it seems to me that the other way should have worked too), but it does. Maybe someone who knows more about KFileDialog can enlighten me.
Erm, I'd like to emphasize that Amarok does not support files without extensions, as TagLib uses the extension. Detecting the right file type without extension requires opening and reading the file itself, which takes considerably longer. So I doubt it will ever be supported, or at least not in the near future.
Is there a use-case for files without extensions? Why is it important to support them?
Why to support them: I have no idea. All my music files have extensions. This just looked like something I would know how to fix, so I did. I suppose maybe you could use Amarok to test whether or not a file was a playable media file, but it seems like the 'file' command is more suited for that purpose.
But this isn't a fix, you're just changing the filter to show all files -- which means *all* files, not just media files without an extension.