Add favorites/Liked Songs, a global home feed, and rules-based search upgrades
Playlist gains a structurally-flagged is_liked_playlist column, lazily created per user on first favorite; is_liked is computed (not stored) and threaded through every endpoint that returns the caller's own songs. New GET /home/feed powers a global landing feed (latest songs, new albums, lightweight non-personalized suggestions) distinct from the per-user Library page. Library search gains album matching, a recency modifier, a curated mood/genre synonym table, and a difflib-based typo-tolerance fallback - deliberately rules-based rather than an LLM call, per direction to build it the way search worked before AI. Co-Authored-By:Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
Showing
src/api/routers/home.py
0 → 100644
tests/test_home.py
0 → 100644
Please
register
or
sign in
to comment