[prev in list] [next in list] [prev in thread] [next in thread]
List: taglib-devel
Subject: Re: How to find the file type.
From: Michael Pyne <pynm0001 () comcast ! net>
Date: 2005-08-02 23:11:48
Message-ID: 200508021911.48554.pynm0001 () comcast ! net
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Monday 01 August 2005 16:56, Mark Bryars wrote:
> I'm writing a small utility at the moment using taglib, but i'd like to
> be able to find out what the file type of the file is, without assuming
> its the extension, is there a function to do this? I've not seen one, am
> I being blind or dense?
I believe that the rationale is that this is out of the scope of this kind of
library. i.e. most development environments already provide code to detect
the file type of a file (e.g. KMimeType::findByContent() if you are
programming for KDE).
GNOME (but not GTK+) also has a similar mechanism. I'd paste the function
names but my eyes are already burning. It's documented at
http://developer.gnome.org/doc/API/2.0/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime.html
Regards,
- Michael Pyne
[Attachment #5 (application/pgp-signature)]
_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic