From cafd757e8aebfa6da59d176d3d16f9b26627cd70 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 9 Jul 2021 01:07:50 +0200 Subject: [PATCH] Print AU blacklist after scanning --- libs/ardour/plugin_manager.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 5ebc7211d2..4321e0cc1d 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -570,6 +570,17 @@ PluginManager::refresh (bool cache_only) BootMessage (_("Discovering AU Plugins")); } au_refresh (cache_only); + + if (!cache_only) { + string fn = Glib::build_filename (ARDOUR::user_cache_directory(), AUV2_BLACKLIST); + if (Glib::file_test (fn, Glib::FILE_TEST_EXISTS)) { + try { + std::string bl = Glib::file_get_contents (fn); + PBD::info << _("Audio Unit Blacklist: ") << "\n" << bl << "-----" << endmsg; + } catch (Glib::FileError const& err) { + } + } + } #endif /* unset concealed plugins */