Files
lidify/frontend/lib
Daniel Thiberge e3fe3c6f48 fix: address Copilot review feedback on pagination PR
- Add MAX_LIMIT=10000 constant to prevent DoS attacks while supporting
  large libraries through pagination
- Apply MAX_LIMIT to /library/artists, /library/albums, /library/tracks
- Add trackCount field to artists endpoint (fixes "Most Tracks" sort)
- Add /library/tracks/shuffle endpoint for server-side shuffle
- Update frontend to use server-side shuffle instead of fetching 10k tracks

The shuffle endpoint uses Fisher-Yates algorithm and samples random tracks
for large libraries to avoid loading the entire database into memory.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 14:23:53 -05:00
..
2025-12-25 18:58:06 -06:00
2025-12-25 18:58:06 -06:00
2025-12-25 18:58:06 -06:00
2025-12-25 18:58:06 -06:00
2025-12-25 18:58:06 -06:00
2025-12-25 18:58:06 -06:00
2025-12-25 18:58:06 -06:00
2025-12-25 18:58:06 -06:00
2025-12-25 18:58:06 -06:00