🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Don't cancel Scan on context cancellation
Deluan70effa09e829
diff --git a/scanner/scanner.go b/scanner/scanner.goindex 41a7925da..b6b17c8ed 100644--- a/scanner/scanner.go+++ b/scanner/scanner.go@@ -140,6 +140,7 @@ func (s *scanner) startProgressTracker(mediaFolder string) (chan uint32, context}func (s *scanner) RescanAll(ctx context.Context, fullRescan bool) error {+ ctx = context.WithoutCancel(ctx)if !isScanning.TryLock() {log.Debug("Scanner already running, ignoring request for rescan.")return ErrAlreadyScanning