From 2bbb91769d1d7df4548cbedfff671e0c7365f090 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 8 Jun 2025 07:50:07 +0100 Subject: [PATCH] Generate better dominant colors async after record import --- lib/music_library/records.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/music_library/records.ex b/lib/music_library/records.ex index ff93c58f..7a950874 100644 --- a/lib/music_library/records.ex +++ b/lib/music_library/records.ex @@ -329,6 +329,8 @@ defmodule MusicLibrary.Records do def create_record(attrs \\ %{}) do with {:ok, record} <- do_create_record(attrs) do + generate_dominant_colors_async(record) + record |> Record.artist_ids() |> Enum.each(fn artist_id ->