[DB] Experimental debug version of track clustering
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user