musikr: reformat

This commit is contained in:
Alexander Capehart
2025-03-04 09:50:37 -07:00
parent fe770337e6
commit 518cd28c03
+4 -4
View File
@@ -30,8 +30,6 @@
#include "taglib/vorbisfile.h" #include "taglib/vorbisfile.h"
#include "taglib/wavfile.h" #include "taglib/wavfile.h"
bool parseMpeg(const std::string &name, TagLib::File *file, bool parseMpeg(const std::string &name, TagLib::File *file,
JMetadataBuilder &jBuilder) { JMetadataBuilder &jBuilder) {
auto *mpegFile = dynamic_cast<TagLib::MPEG::File*>(file); auto *mpegFile = dynamic_cast<TagLib::MPEG::File*>(file);
@@ -101,7 +99,8 @@ bool parseFlac(const std::string &name, TagLib::File *file,
try { try {
jBuilder.setXiph(*xiphComment); jBuilder.setXiph(*xiphComment);
} catch (std::exception &e) { } catch (std::exception &e) {
LOGE("Unable to parse Xiph comment in %s: %s", name.c_str(), e.what()); LOGE("Unable to parse Xiph comment in %s: %s", name.c_str(),
e.what());
} }
} }
auto pics = flacFile->pictureList(); auto pics = flacFile->pictureList();
@@ -120,7 +119,8 @@ bool parseOpus(const std::string &name, TagLib::File *file,
try { try {
jBuilder.setXiph(*tag); jBuilder.setXiph(*tag);
} catch (std::exception &e) { } catch (std::exception &e) {
LOGE("Unable to parse Xiph comment in %s: %s", name.c_str(), e.what()); LOGE("Unable to parse Xiph comment in %s: %s", name.c_str(),
e.what());
} }
} }
return true; return true;