amdl/config.example.toml
2025-04-26 18:40:13 -07:00

24 lines
721 B
TOML

[server]
# can be a port (int)...
# or a unix socket path (e.g. /tmp/sock)
port = 2000
[downloader]
# path to the ffmpeg binary
# will get from PATH if simply "ffmpeg"
ffmpeg_path = "ffmpeg"
# path to the yt-dlp binary
# will get from PATH if simply "yt-dlp"
ytdlp_path = "yt-dlp"
[downloader.cache]
# where to store downloaded files (music, lyrics, etc.)
# this directory will be created if it does not exist
directory = "cache"
# how long to keep downloaded files (in seconds)
ttl = 3600 # (1 hour)
[downloader.api]
# two letter language code (ISO 639-1), followed by a dash (-) and a two letter country code (ISO 3166-1 alpha-2)
# recommended to use something similar to your `ITUA` env variable
language = "en-US"