fix: remove track limit completely from library search

- Backend now supports limit=0 meaning "no limit"
- Frontend passes limit=0 to fetch all tracks
- Search now works across entire library regardless of size
- Virtualization handles rendering efficiently
This commit is contained in:
vicrodh committed 2026-01-23 01:53:37 -06:00
1 parent 3dc2e94002
commit 9504294907
3 files changed
+13 -5

No files matched your search

@@ -706,7 +706,7 @@
console.log('[LocalLibrary] Calling library_search');
tracks = await invoke<LocalTrack[]>('library_search', {
query,
limit: 100000, // No practical cap - virtualization handles large lists
limit: 0, // 0 = no limit, virtualization handles any list size
excludeNetworkFolders: shouldExcludeNetworkFolders()
});
console.log('[LocalLibrary] Received tracks:', tracks.length);