Force rescan for Better detection of embedded covers for vorbis/opus ogg files. ref #71

This commit is contained in:
emeric
2020-06-25 16:36:07 +02:00
parent a01b8f28af
commit 6546f44cb2
+7 -1
View File
@@ -40,7 +40,7 @@
namespace Database {
#define LMS_DATABASE_VERSION 23
#define LMS_DATABASE_VERSION 24
using Version = std::size_t;
@@ -261,6 +261,12 @@ CREATE TABLE "user_backup" (
// Just increment the scan version of the settings to make the next scheduled scan rescan everything
ScanSettings::get(*this).modify()->incScanVersion();
}
else if (version == 23)
{
// Better cover detection
// Just increment the scan version of the settings to make the next scheduled scan rescan everything
ScanSettings::get(*this).modify()->incScanVersion();
}
else
{
LMS_LOG(DB, ERROR) << "Database version " << version << " cannot be handled using migration";