Added "refresh=true" API param to artist, track and album detail to retrieve up-to-date data if needed

This commit is contained in:
Eliot Berriot 2019-07-22 12:12:57 +02:00
parent 2c697ae2cc
commit 4a277c17bb
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
9 changed files with 191 additions and 3 deletions

View file

@ -722,3 +722,6 @@ SUBSONIC_DEFAULT_TRANSCODING_FORMAT = (
# extra tags will be ignored
TAGS_MAX_BY_OBJ = env.int("TAGS_MAX_BY_OBJ", default=30)
FEDERATION_OBJECT_FETCH_DELAY = env.int(
"FEDERATION_OBJECT_FETCH_DELAY", default=60 * 24 * 3
)