mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
46 lines
1.2 KiB
INI
46 lines
1.2 KiB
INI
[HTTP]
|
|
|
|
WEB_PORT = 42010
|
|
|
|
[Third Party Services]
|
|
|
|
LASTFM_API_KEY = "ASK" # 'ASK' signifies that the user has not yet indicated to not use any key at all.
|
|
LASTFM_API_SECRET = "ASK"
|
|
FANARTTV_API_KEY = "ASK"
|
|
SPOTIFY_API_ID = "ASK"
|
|
SPOTIFY_API_SECRET = "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
|
|
|
|
[Database]
|
|
|
|
DB_CACHE_SIZE = 8192 # how many MB on disk each database cache should have available.
|
|
|
|
[Local Images]
|
|
|
|
USE_LOCAL_IMAGES = true
|
|
LOCAL_IMAGE_ROTATE = 3600 # when multiple images are present locally, how many seconds we wait between rotation
|
|
|
|
[Web Interface]
|
|
|
|
# what range is shown per default for the tile view on the start page
|
|
# can be week, month, year, alltime
|
|
DEFAULT_RANGE_CHARTS_ARTISTS = year
|
|
DEFAULT_RANGE_CHARTS_TRACKS = year
|
|
# same for pulse view
|
|
# can be day, week, month, year
|
|
DEFAULT_STEP_PULSE = month
|
|
|
|
[Fluff]
|
|
|
|
# how many scrobbles a track needs to aquire this status
|
|
SCROBBLES_GOLD = 250
|
|
SCROBBLES_PLATINUM = 500
|
|
SCROBBLES_DIAMOND = 1000
|
|
# name for comparisons
|
|
NAME = "Generic Maloja User"
|
|
|
|
[Misc]
|
|
|
|
EXPERIMENTAL_FEATURES = no
|