Skip to content

Commit 6102a8d

Browse files
committed
MimeDetector log mimes
1 parent 1fdbe17 commit 6102a8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AudioTools/CoreAudio/AudioMetaData/MimeDetector.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class MimeDetector : public MimeSource {
110110
Check check_to_add{mime, check};
111111
check_to_add.is_active = isActvie;
112112
checks.push_back(check_to_add);
113+
LOGI("MimeDetector for %s: %s", mime, isActvie ? "active" : "inactive");
113114
}
114115

115116
// /// Define the callback that will notify about mime changes
@@ -291,6 +292,7 @@ class MimeDetector : public MimeSource {
291292
for (auto& check : checks) {
292293
if (StrView(check.mime).startsWith(mimePrefix)) {
293294
check.is_active = active;
295+
LOGI("MimeDetector for %s: %s", check.mime, check.is_active ? "active" : "inactive");
294296
result++;
295297
}
296298
}

0 commit comments

Comments
 (0)