Update fallback cover art

Track the file inside the Record module to aid recompilation
This commit is contained in:
Claudio Ortolina
2024-11-21 18:33:44 +00:00
parent 4581666282
commit c97064fd70
2 changed files with 5 additions and 2 deletions
+5 -2
View File
@@ -137,9 +137,12 @@ defmodule MusicLibrary.Records.Record do
end
end
@fallback_cover_data :code.priv_dir(:music_library)
@fallback_cover_path :code.priv_dir(:music_library)
|> Path.join("/cover-not-found.jpg")
|> File.read!()
@external_resource @fallback_cover_path
@fallback_cover_data File.read!(@fallback_cover_path)
def fallback_cover_data, do: @fallback_cover_data
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB