ML-177: implementation

This commit is contained in:
Claudio Ortolina
2026-05-10 20:38:45 +01:00
parent e322f75079
commit ba62d54cc5
5 changed files with 277 additions and 17 deletions
@@ -31,6 +31,7 @@ defmodule MusicLibraryWeb.CollectionJSON do
genres: record.genres,
release_date: record.release_date,
purchased_at: record.purchased_at,
selected_release_id: record.selected_release_id,
artists: Enum.map(record.artists, & &1.name),
title: record.title,
cover_url: url(~p"/api/v1/assets/#{Transform.new(hash: record.cover_hash)}"),