From 8c3dfd7a2ffd9408cab59ec3e89544ab710fb714 Mon Sep 17 00:00:00 2001 From: emeric Date: Mon, 4 Mar 2024 16:32:05 +0100 Subject: [PATCH] Fixed moods parsed as genres, fixes #429 --- src/libs/services/scanner/impl/ScanStepScanFiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/services/scanner/impl/ScanStepScanFiles.cpp b/src/libs/services/scanner/impl/ScanStepScanFiles.cpp index 6212b32e..622ed495 100644 --- a/src/libs/services/scanner/impl/ScanStepScanFiles.cpp +++ b/src/libs/services/scanner/impl/ScanStepScanFiles.cpp @@ -206,7 +206,7 @@ namespace Scanner // TODO: migrate these fields in dedicated tables in DB getOrCreateClusters("GENRE", track.genres); - getOrCreateClusters("MOOD", track.genres); + getOrCreateClusters("MOOD", track.moods); getOrCreateClusters("LANGUAGE", track.languages); getOrCreateClusters("GROUPING", track.groupings);