[DB] Experimental debug version of track clustering

This commit is contained in:
emeric
2016-04-28 12:38:30 +02:00
parent 795ce08043
commit 5b00229978
17 changed files with 1038 additions and 68 deletions
+7 -1
View File
@@ -26,7 +26,7 @@
#include "logger/Logger.hpp"
#include "cover/CoverArtGrabber.hpp"
#include "utils/Utils.hpp"
#include "utils/Checksum.hpp"
#include "utils/Path.hpp"
#include "Types.hpp"
#include "DatabaseUpdater.hpp"
@@ -288,6 +288,8 @@ Updater::process(boost::system::error_code err)
}
scanComplete().emit(stats);
if (_running)
processNextJob();
}
@@ -597,7 +599,11 @@ Updater::processAudioFile( const boost::filesystem::path& file, Stats& stats)
track.modify()->setCoverType( hasCover ? Track::CoverType::Embedded : Track::CoverType::None );
}
Track::id_type trackId = track.id();
transaction.commit();
_sigTrackChanged.emit(true, trackId);
}