Add LastFm feed for a given user

This commit is contained in:
Claudio Ortolina
2024-11-04 09:17:01 +00:00
parent c9beef6bdd
commit 1abcc5e6ad
8 changed files with 202 additions and 0 deletions
+4
View File
@@ -20,6 +20,10 @@ if System.get_env("PHX_SERVER") do
config :music_library, MusicLibraryWeb.Endpoint, server: true
end
if api_key = System.get_env("LAST_FM_API_KEY") do
config :music_library, LastFm, api_key: api_key
end
if config_env() == :prod do
database_path =
System.get_env("DATABASE_PATH") ||