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

67 lines
2.1 KiB
INI
Raw Normal View History

# 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]
2019-05-10 14:15:40 +03:00
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"
2019-05-10 14:15:40 +03:00
SPOTIFY_API_ID = "ASK"
SPOTIFY_API_SECRET = "ASK"
CACHE_EXPIRE_NEGATIVE = 30 # after how many days negative results should be tried again
2019-03-29 20:40:55 +03:00
CACHE_EXPIRE_POSITIVE = 300 # after how many days positive results should be refreshed
2019-12-12 23:24:13 +03:00
THUMBOR_SERVER = None
THUMBOR_SECRET = ""
2019-04-03 17:43:09 +03:00
# 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
2019-04-15 13:26:12 +03:00
[Database]
2019-05-09 17:58:25 +03:00
DB_CACHE_SIZE = 8192 # how many MB on disk each database cache should have available.
INVALID_ARTISTS = ["[Unknown Artist]","Unknown Artist","Spotify"]
2019-12-15 17:43:56 +03:00
REMOVE_FROM_TITLE = ["(Original Mix)","(Radio Edit)","(Album Version)","(Explicit Version)"]
USE_PARSE_PLUGINS = no
2019-04-15 13:26:12 +03:00
2019-04-03 17:43:09 +03:00
[Local Images]
2019-04-07 14:22:33 +03:00
USE_LOCAL_IMAGES = true
2019-04-03 17:43:09 +03:00
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
2019-05-10 14:35:06 +03:00
2019-09-20 19:53:00 +03:00
# display top tiles on artist and track chart pages
CHARTS_DISPLAY_TILES = false
[Fluff]
# how many scrobbles a track needs to aquire this status
SCROBBLES_GOLD = 250
SCROBBLES_PLATINUM = 500
SCROBBLES_DIAMOND = 1000
# name for comparisons
2019-12-06 01:23:48 +03:00
NAME = None
2019-05-10 14:35:06 +03:00
[Misc]
EXPERIMENTAL_FEATURES = no
2020-01-22 00:00:42 +03:00
USE_PYHP = no #not recommended at the moment
FEDERATION = yes #does nothing yet
2019-12-06 20:34:29 +03:00
UPDATE_AFTER_CRASH = no #update when server is automatically restarted
2020-02-28 18:23:59 +03:00
DAILY_RESTART = 2 # hour of day. no / none means no daily restarts