summaryrefslogtreecommitdiffstats
path: root/src/library/coverart.cpp
diff options
context:
space:
mode:
authorronso0 <ronso0@mixxx.org>2020-05-20 00:04:51 +0200
committerronso0 <ronso0@mixxx.org>2020-05-20 00:04:51 +0200
commit5b4d10046a474c069d46be72421b224ad70a5420 (patch)
tree0f7d14b6a0e17e6868c7db091710c15926941ac4 /src/library/coverart.cpp
parent5e3c7804cd603335013f838b0acf736fa1ccbb8d (diff)
disable repeated logging of missing coverart
Diffstat (limited to 'src/library/coverart.cpp')
-rw-r--r--src/library/coverart.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/library/coverart.cpp b/src/library/coverart.cpp
index 4e2e1ded37..491dbbe139 100644
--- a/src/library/coverart.cpp
+++ b/src/library/coverart.cpp
@@ -121,11 +121,14 @@ QImage CoverInfo::loadImage(
}
DEBUG_ASSERT(coverFile.isAbsolute());
if (!coverFile.exists()) {
- kLogger.warning()
- << "loadImage"
- << type
- << "cover does not exist:"
- << coverFile.filePath();
+ // Disabled because this code can cause high CPU and thus possibly
+ // xruns as it might print the warning repeatedly.
+ // ToDo: Print warning about missing cover image only once.
+ // kLogger.warning()
+ // << "loadImage"
+ // << type
+ // << "cover does not exist:"
+ // << coverFile.filePath();
return QImage();
}
SecurityTokenPointer pToken =