[haiku-development] How to Identify a file?

  • From: Fredrik Modéen <fredrik@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 18 Oct 2007 09:04:32 +0200 (CEST)

Hi

I'm looking for a "easy" way of identify what type of file a specific
entry_ref are. thought BFile could give me that but didn't find it.

I want to make the Media Player "see" different files. If I drop files on
the Media Player I don't want png files etc to be added to the play list
and If I drop a saved play list on the Media Player I want different
things happen than with mp3 file.

I was thinking of suporting
- m3u list
- Zeta play list
- perhaps our own? don't know how that one would look like..

-- 
MVH
Fredrik Modéen


Other related posts: