mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
56 lines
1.7 KiB
INI
56 lines
1.7 KiB
INI
# Do not change settings in this file
|
|
# Instead, simply write an entry with the same name in your own settings.ini file
|
|
# Category headers in [brackets] are only for organization and not necessary
|
|
|
|
[HTTP]
|
|
|
|
WEB_PORT = 42010
|
|
HOST = "::" # You most likely want either :: for IPv6 or 0.0.0.0 for IPv4 here
|
|
|
|
[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
|
|
|
|
# Can be 'YouTube', 'YouTube Music', 'Google Play Music', 'Spotify', 'Tidal', 'SoundCloud', 'Deezer', 'Amazon Music'
|
|
# Omit or set to none to disable
|
|
TRACK_SEARCH_PROVIDER = None
|
|
|
|
[Database]
|
|
|
|
DB_CACHE_SIZE = 8192 # how many MB on disk each database cache should have available.
|
|
INVALID_ARTISTS = ["[Unknown Artist]","Unknown Artist"]
|
|
|
|
[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
|