TagReaderTagLib: Formatting

This commit is contained in:
Jonas Kvinge
2023-03-26 04:14:03 +02:00
parent a3e9f152d8
commit ac59fff346

View File

@@ -32,19 +32,21 @@
#include <taglib/tlist.h> #include <taglib/tlist.h>
#include <taglib/tstring.h> #include <taglib/tstring.h>
#include <taglib/tstringlist.h> #include <taglib/tstringlist.h>
#include <taglib/tpropertymap.h>
#include <taglib/audioproperties.h> #include <taglib/audioproperties.h>
#include <taglib/attachedpictureframe.h>
#include <taglib/textidentificationframe.h>
#include <taglib/unsynchronizedlyricsframe.h>
#include <taglib/popularimeterframe.h>
#include <taglib/xiphcomment.h> #include <taglib/xiphcomment.h>
#include <taglib/commentsframe.h>
#include <taglib/tag.h> #include <taglib/tag.h>
#include <taglib/apetag.h> #include <taglib/apetag.h>
#include <taglib/apeitem.h> #include <taglib/apeitem.h>
#include <taglib/apeproperties.h> #include <taglib/apeproperties.h>
#include <taglib/id3v2tag.h> #include <taglib/id3v2tag.h>
#include <taglib/id3v2frame.h> #include <taglib/id3v2frame.h>
#include <taglib/attachedpictureframe.h>
#include <taglib/textidentificationframe.h>
#include <taglib/unsynchronizedlyricsframe.h>
#include <taglib/popularimeterframe.h>
#include <taglib/uniquefileidentifierframe.h>
#include <taglib/commentsframe.h>
#include <taglib/flacfile.h> #include <taglib/flacfile.h>
#include <taglib/oggflacfile.h> #include <taglib/oggflacfile.h>
#include <taglib/flacproperties.h> #include <taglib/flacproperties.h>
@@ -841,7 +843,7 @@ bool TagReaderTagLib::SaveFile(const spb::tagreader::SaveFileRequest &request) c
const QByteArray cover_data = LoadCoverDataFromRequest(request); const QByteArray cover_data = LoadCoverDataFromRequest(request);
std::unique_ptr<TagLib::FileRef> fileref(factory_->GetFileRef(filename));; std::unique_ptr<TagLib::FileRef> fileref(factory_->GetFileRef(filename));
if (!fileref || fileref->isNull()) return false; if (!fileref || fileref->isNull()) return false;
if (save_tags) { if (save_tags) {
@@ -1477,6 +1479,7 @@ bool TagReaderTagLib::SaveSongPlaycountToFile(const QString &filename, const spb
#endif // Q_OS_LINUX #endif // Q_OS_LINUX
return ret; return ret;
} }
void TagReaderTagLib::SetRating(TagLib::Ogg::XiphComment *xiph_comment, const spb::tagreader::SongMetadata &song) const { void TagReaderTagLib::SetRating(TagLib::Ogg::XiphComment *xiph_comment, const spb::tagreader::SongMetadata &song) const {