Restored recommendations based on acoustic similarities (using musicnn), fixes #301
This commit is contained in:
@@ -187,7 +187,7 @@ namespace lms::scanner
|
||||
{
|
||||
constexpr std::size_t writeBatchSize{ 50 };
|
||||
|
||||
while ((forceFullBatch && imageAssociations.size() >= writeBatchSize) || !imageAssociations.empty())
|
||||
while ((forceFullBatch && imageAssociations.size() >= writeBatchSize) || (!forceFullBatch && !imageAssociations.empty()))
|
||||
{
|
||||
auto transaction{ session.createWriteTransaction() };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user