deemix-web-frontend/config.example.toml

42 lines
1.2 KiB
TOML
Raw Normal View History

2021-10-21 18:27:00 +02:00
[timer]
# the time before a downloaded file is cleaned off the data folder
deleteTimer = 1500000 # 25 minutes
[server]
port = 4500
# location of the zip utility binary
zipBinaryLocation = "zip"
zipArguments = "-0rD"
2021-10-21 20:21:51 +02:00
# whether the server is running through a reverse proxy or not (nginx, etc)
# thisll make it use x-forwarded-for and express's 'trust proxy'
proxy = false
2021-10-21 18:27:00 +02:00
[limits]
# the max amount of search results to send to the client
searchLimit = 15
[deemix]
# the format of the song to download
# can be "FLAC", "MP3_320", "MP3_128" or "DEFAULT"
2022-01-02 14:51:32 +01:00
# NOTE: if you set it to a format your account doesnt support, things will just.. silently break
# sorry
trackFormat = "MP3_128"
2021-10-21 18:27:00 +02:00
# templates for the folder and file names
trackNameTemplate = "%artist% - %title%"
albumTrackNameTemplate = "%tracknumber%. %artist% - %title%"
albumNameTemplate = "%artist% - %album%"
# create a m3u8 playlist file or not
createM3U8File = false
# cover art settings
# embed cover art in the music files themselves
embeddedArtworkPNG = true
embeddedArtworkSize = 800
# put the cover art file inside of the folder
saveArtwork = true
localArtworkSize = 1200
localArtworkFormat = "jpg"
jpegImageQuality = 80
2022-01-02 14:51:32 +01:00
removeDuplicateArtists = true