Update fallback cover art
Track the file inside the Record module to aid recompilation
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user