Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Query supported file types (Read 2824 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Query supported file types

Hallo,

the user chooses the file extensions in the preferences/file types dialog, is there any way to query currently associated/supported the file extensions/types (mp3, ogg, flac, etc.) from a component ? 

Thank you in advance,

nRaecher

Query supported file types

Reply #1
You can enumerate the input_file_type service instances to get a list of supported file types.

Query supported file types

Reply #2
You can enumerate the input_file_type service instances to get a list of supported file types.

Sounds good, but can you give me a piece of code that shows me how to do this ? A sample or something ?

Edit : Found it myself in input_file_type.cpp, it works, thank you for the hint.