0.10.0-7 Fix und stuff

This commit is contained in:
2026-03-15 08:30:26 +00:00
parent 3e191a654e
commit 25d5339ada
13 changed files with 701 additions and 55 deletions

View File

@@ -5094,6 +5094,13 @@ class PipelineService extends EventEmitter {
statusText: this.snapshot.statusText
});
const DRIVE_ACTIVE_STATES = new Set(['ANALYZING', 'RIPPING', 'MEDIAINFO_CHECK', 'CD_ANALYZING', 'CD_RIPPING']);
if (DRIVE_ACTIVE_STATES.has(state)) {
diskDetectionService.suspendPolling();
} else if (DRIVE_ACTIVE_STATES.has(previous)) {
diskDetectionService.resumePolling();
}
await this.persistSnapshot();
const snapshotPayload = this.getSnapshot();
wsService.broadcast('PIPELINE_STATE_CHANGED', snapshotPayload);