some log cleanup
This commit is contained in:
+1
-2
@@ -114,6 +114,7 @@ func (m *AutoEQManager) FetchIndex(ctx context.Context) ([]AutoEQProfileMetadata
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
log.Printf("Successfully fetched %d AutoEQ profiles", len(profiles))
|
||||
|
||||
// Cache in memory and disk
|
||||
m.indexCacheMutex.Lock()
|
||||
@@ -359,7 +360,6 @@ func (m *AutoEQManager) fetchProfileFromNetwork(ctx context.Context, path string
|
||||
// The file is named "{HeadphoneName} FixedBandEQ.txt"
|
||||
encodedFileName := url.PathEscape(headphoneName + " FixedBandEQ.txt")
|
||||
profileURL := autoEQBaseURL + encodedPath + "/" + encodedFileName
|
||||
log.Printf("Fetching profile from: %s", profileURL)
|
||||
|
||||
ctx, cancel := context.WithTimeout(ctx, m.timeout)
|
||||
defer cancel()
|
||||
@@ -375,7 +375,6 @@ func (m *AutoEQManager) fetchProfileFromNetwork(ctx context.Context, path string
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
||||
log.Printf("Profile fetch response: %d", resp.StatusCode)
|
||||
if resp.StatusCode == http.StatusNotFound {
|
||||
return nil, ErrProfileNotFound
|
||||
}
|
||||
|
||||
@@ -50,8 +50,6 @@ func (ab *AutoEQBrowser) fetchAllProfiles() error {
|
||||
return fmt.Errorf("failed to fetch AutoEQ index: %w", err)
|
||||
}
|
||||
|
||||
log.Printf("Successfully fetched %d AutoEQ profiles", len(profiles))
|
||||
|
||||
// Convert to SearchResult format for display
|
||||
ab.allProfileResults = sharedutil.MapSlice(profiles, ab.profileToSearchResult)
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user