• Aryan Noshirvnai's avatar
    Home feed: dedupe songs/albums across uploaders, drop uploader attribution · 44617a06
    Aryan Noshirvnai authored
    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
    44617a06
Name
Last commit
Last update
alembic Loading commit data...
deploy Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
alembic.ini Loading commit data...
docker-compose.yml Loading commit data...
requirements-remix.txt Loading commit data...
requirements.txt Loading commit data...
setup.sh Loading commit data...