musikr: reformat
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user