Commit 44617a06 authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Home feed: dedupe songs/albums across uploaders, drop uploader attribution

Every section (New Songs, New Albums, Suggestions) is now deduped by
(title, artist)/(album, artist) identity - the same song or album tagged by
several different users used to eat one display slot per uploader, now
shows once. Albums merge across uploaders by picking a single
representative copy (the caller's own if they have one, so the card still
navigates directly instead of needing a claim; otherwise the most recent) -
never literally merging different people's track data together.

No uploader identity (username) is attached to any global-feed entry
anymore - the feed reads as one shared pool of music. New `is_liked` field
lets the frontend show a real favorite heart on Home rows; the helper that
computes it (liked_song_ids) moved out of library.py into
services/favorites.py so home.py can reuse it without importing another
router's private function, same reasoning give_from_shared_library was
already split out for.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent 1bf26cb9
Pipeline #1212 failed with stage
in 15 minutes and 1 second