summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/spotifyd/spotifyd.conf91
1 files changed, 91 insertions, 0 deletions
diff --git a/.config/spotifyd/spotifyd.conf b/.config/spotifyd/spotifyd.conf
new file mode 100644
index 0000000..7acc541
--- /dev/null
+++ b/.config/spotifyd/spotifyd.conf
@@ -0,0 +1,91 @@
1[global]
2# Your Spotify account name.
3username = "jdlugosz963"
4
5# Your Spotify account password.
6# password = "password"
7
8# A command that gets executed and can be used to
9# retrieve your password.
10# The command should return the password on stdout.
11#
12# This is an alternative to the `password` field. Both
13# can't be used simultaneously.
14password_cmd = "secret-tool lookup servis spotify account jdlugosz963"
15
16# If set to true, `spotifyd` tries to look up your
17# password in the system's password storage.
18#
19# This is an alternative to the `password` field. Both
20# can't be used simultaneously.
21use_keyring = true
22
23#
24# If set to true, `spotifyd` tries to bind to the session dbus
25# and expose MPRIS controls. When running headless, without a dbus session,
26# then set this to false to avoid binding errors
27#
28use_mpris = true
29
30# The audio backend used to play the your music. To get
31# a list of possible backends, run `spotifyd --help`.
32backend = "alsa" # use portaudio for macOS [homebrew]
33
34# The alsa audio device to stream audio to. To get a
35# list of valid devices, run `aplay -L`,
36# device = "alsa_audio_device" # omit for macOS
37
38# The alsa control device. By default this is the same
39# name as the `device` field.
40# control = "alsa_audio_device" # omit for macOS
41
42# The alsa mixer used by `spotifyd`.
43# mixer = "PCM" # omit for macOS
44
45# The volume controller. Each one behaves different to
46# volume increases. For possible values, run
47# `spotifyd --help`.
48volume_controller = "alsa" # use softvol for macOS
49
50# A command that gets executed in your shell after each song changes.
51# on_song_change_hook = "command_to_run_on_playback_events"
52
53# The name that gets displayed under the connect tab on
54# official clients. Spaces are not allowed!
55device_name = "gentoo"
56
57# The audio bitrate. 96, 160 or 320 kbit/s
58bitrate = 320
59
60# The directory used to cache audio data. This setting can save
61# a lot of bandwidth when activated, as it will avoid re-downloading
62# audio files when replaying them.
63#
64# Note: The file path does not get expanded. Environment variables and
65# shell placeholders like $HOME or ~ don't work!
66cache_path = "cache_directory"
67
68# If set to true, audio data does NOT get cached.
69no_audio_cache = true
70
71# Volume on startup between 0 and 100
72# NOTE: This variable's type will change in v0.4, to a number (instead of string)
73initial_volume = "90"
74
75# If set to true, enables volume normalisation between songs.
76volume_normalisation = true
77
78# The normalisation pregain that is applied for each song.
79normalisation_pregain = -10
80
81# The port `spotifyd` uses to announce its service over the network.
82zeroconf_port = 1234
83
84# The proxy `spotifyd` will use to connect to spotify.
85# proxy = "http://proxy.example.org:8080"
86
87# The displayed device type in Spotify clients.
88# Can be unknown, computer, tablet, smartphone, speaker, t_v,
89# a_v_r (Audio/Video Receiver), s_t_b (Set-Top Box), and audio_dongle.
90device_type = "speaker"
91