Initial release v1.0.0
This commit is contained in:
17
docs/scripts/reset-analysis-for-new-moods.sql
Normal file
17
docs/scripts/reset-analysis-for-new-moods.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
-- Reset all enhanced tracks for re-analysis to populate new mood fields
|
||||
-- (moodParty, moodAcoustic, moodElectronic)
|
||||
|
||||
-- Option 1: Reset only enhanced tracks (faster - already have ML models loaded)
|
||||
UPDATE "Track"
|
||||
SET
|
||||
"analysisStatus" = 'pending',
|
||||
"moodParty" = NULL,
|
||||
"moodAcoustic" = NULL,
|
||||
"moodElectronic" = NULL
|
||||
WHERE "analysisMode" = 'enhanced';
|
||||
|
||||
-- Check how many tracks will be re-analyzed
|
||||
SELECT COUNT(*) as tracks_to_reanalyze FROM "Track" WHERE "analysisStatus" = 'pending';
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user