tagparser: Parse tracks when saving
This commit is contained in:
@@ -260,11 +260,19 @@ bool TagReaderTagParser::SaveFile(const QString &filename, const spb::tagreader:
|
|||||||
taginfo.setPath(QFile::encodeName(filename).toStdString());
|
taginfo.setPath(QFile::encodeName(filename).toStdString());
|
||||||
#endif
|
#endif
|
||||||
taginfo.open(false);
|
taginfo.open(false);
|
||||||
|
|
||||||
taginfo.parseContainerFormat(diag, progress);
|
taginfo.parseContainerFormat(diag, progress);
|
||||||
if (progress.isAborted()) {
|
if (progress.isAborted()) {
|
||||||
taginfo.close();
|
taginfo.close();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
taginfo.parseTracks(diag, progress);
|
||||||
|
if (progress.isAborted()) {
|
||||||
|
taginfo.close();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
taginfo.parseTags(diag, progress);
|
taginfo.parseTags(diag, progress);
|
||||||
if (progress.isAborted()) {
|
if (progress.isAborted()) {
|
||||||
taginfo.close();
|
taginfo.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user