1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Adjusted API due to Last.FM's recent changes, made additions easier

This commit is contained in:
Krateng
2019-05-05 11:56:09 +02:00
parent cd8f98fc1f
commit 1caf274020
4 changed files with 99 additions and 76 deletions

View File

@@ -6,6 +6,7 @@ API_PORT = 42011
[Third Party Services]
LASTFM_API_KEY = "ASK" # "ASK" signifies that the user has not yet indicated to not use any key at all.
FANARTTV_API_KEY = "ASK"
CACHE_EXPIRE_NEGATIVE = 30 # after how many days negative results should be tried again
CACHE_EXPIRE_POSITIVE = 300 # after how many days positive results should be refreshed