Summary: | files without extensions not recognized | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | m0nk <dschr> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | mitchell |
Priority: | NOR | ||
Version: | 2.3-GIT | ||
Target Milestone: | 2.3.1 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | See files without extensions in Play Media/related dialogs. |
Description
m0nk
2009-09-05 12:01:23 UTC
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. |