Search code examples
cerror-handlingtaglibid3-tag

Taglib errors/warnings


I'm using the c bindings for taglib 1.6.3. When opening a file with taglib_file_new, messages are printed to stderr. How can I control and use these messages? In particular, I would like to catch and handle some of the errors, and secondly I want to TURN OFF the verbose logging to stderr.


Solution

  • Unfortunately, you can't catch them, but if you compile TagLib in release mode (cmake -DCMAKE_BUILD_TYPE=Release), the messages won't be printed.