-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml.example
More file actions
79 lines (63 loc) · 2.63 KB
/
config.toml.example
File metadata and controls
79 lines (63 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# CLIAMP configuration
# Copy to ~/.config/cliamp/config.toml
# Default volume in dB (range: -30 to 6)
volume = 0
# Repeat mode: "off", "all", or "one"
repeat = "off"
# Start with shuffle enabled
shuffle = false
# Start with mono output (L+R downmix)
mono = false
# Shift+Left/Right seek jump in seconds (6-600)
seek_large_step_sec = 30
# Output sample rate in Hz (0=auto, 22050, 44100, 48000, 96000, 192000)
# 0 = auto-detect from system default output device (recommended for USB audio)
# Higher values preserve more detail from hi-res files but use more CPU
# sample_rate = 0
# Speaker buffer size in milliseconds (50-500)
# Lower = less latency, higher = more stable
buffer_ms = 100
# Resample quality (1-4, where 4 is best)
# Only matters when a file's native rate differs from sample_rate
resample_quality = 4
# PCM bit depth for FFmpeg-decoded formats (m4a, aac, alac, opus, wma, webm)
# 16 = standard (default), 32 = lossless (preserves up to 24-bit audio)
# Native formats (mp3, flac, wav, ogg) are always decoded at full precision
bit_depth = 16
# EQ preset: "Flat", "Rock", "Pop", "Jazz", "Classical",
# "Bass Boost", "Treble Boost", "Vocal", "Electronic", "Acoustic"
# Leave empty or "Custom" to use manual eq values below
eq_preset = "Flat"
# 10-band EQ gains in dB (range: -12 to 12)
# Bands: 70Hz, 180Hz, 320Hz, 600Hz, 1kHz, 3kHz, 6kHz, 12kHz, 14kHz, 16kHz
# Only used when eq_preset is "Custom" or empty
eq = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
# Default provider on startup: "radio", "navidrome", or "spotify"
# provider = "radio"
# UI theme name (check ~/.config/cliamp/themes/ for available themes)
# theme = "Tokyo Night"
# Visualizer mode: Bars, Bricks, Columns, Wave, Scatter, Flame, Retro, or None
# visualizer = "Bars"
# ---
# Spotify (optional)
# A Spotify Premium account and a registered app at
# developer.spotify.com/dashboard are required.
# Add redirect URI: http://127.0.0.1:19872/login
# [spotify]
# client_id = "your-spotify-app-client-id"
# ---
# Navidrome / Subsonic server (optional)
# When configured, cliamp opens the playlist browser on startup and streams
# tracks directly from your server.
# These values take precedence over the NAVIDROME_URL / NAVIDROME_USER /
# NAVIDROME_PASS environment variables when both are present.
# [navidrome]
# url = "https://music.example.com"
# user = "alice"
# password = "secret"
#
# Album browse sort order for the Navidrome browser (press N to open).
# Valid values: alphabeticalByName, alphabeticalByArtist, newest, recent,
# frequent, starred, byYear, byGenre
# This is updated automatically when you press [s] inside the browser.
# browse_sort = alphabeticalByName