Open flaviotordini opened 8 years ago
Could you use the properties()
method to get the information you need?
One casts to the specific File or Tag implementations in order to deal with the specifics of the file format. So no, I cannot just use the generic property map.
A library that requires RTTI to work should be marked broken.
An environment that disables RTTI and forces library developers to reinvent the wheel should be marked broken.
TagLib clients check for a File or Tag implementation by casting, eg:
if (TagLib::MPEG::File *f = dynamic_cast<TagLib::MPEG::File*>(file))
But dynamic_cast is only available when RTTI is enabled. Is there a way of using TagLib without dynamic_cast? If not, consider this a feature request.