Supposing new audio and image types will be created, I want my filter to separate the images and audio files. Is there a way to recognize then?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In short … no.
In long, assuming we have no knowledge of media files and types [ie no knowledge of file extensions, data format, etc], the only means to identify a kind of file is to probe its data and identify it – which requires intimate knowledge of the media format, something we do not have.
However, if our operating system contains these media files, chances are someone within the system does know how to open or manipulate them. Therefore it is logical to assume this application would register the media type [and other metadata such as file extension, default player, etc] with the system.
So if you are keen on remaining dynamic, you should probably find a means of communicating with the underlying system for media events [such as when a new media format is encountered and registered].