-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathspotifyd.conf
68 lines (54 loc) · 2.29 KB
/
spotifyd.conf
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
[global]
# Your Spotify account name.
username = "i2gc0er1oynd3y6y6gqzqs824"
# If set to true, `spotifyd` tries to look up your
# password in the system's password storage.
#
# Note, that the `password` field will take precedence, if set.
use_keyring = true
# If set to true, `spotifyd` tries to bind to dbus (default is the session bus)
# and expose MPRIS controls. When running headless, without the session bus,
# you should set this to false, to avoid errors. If you still want to use MPRIS,
# have a look at the `dbus_type` option.
use_mpris = true
# The bus to bind to with the MPRIS interface.
# Possible values: "session", "system"
# The system bus can be used if no graphical session is available
# (e.g. on headless systems) but you still want to be able to use MPRIS.
# NOTE: You might need to add appropriate policies to allow spotifyd to
# own the name.
dbus_type = "session"
# The audio backend used to play music. To get
# a list of possible backends, run `spotifyd --help`.
backend = "alsa"
# The alsa audio device to stream audio. To get a
# list of valid devices, run `aplay -L`,
device = "default"
# The volume controller. Each one behaves different to
# volume increases. For possible values, run
# `spotifyd --help`.
volume_controller = "alsa"
# The name that gets displayed under the connect tab on
# official clients. Spaces are not allowed!
device_name = "archXPS"
# The audio bitrate. 96, 160 or 320 kbit/s
bitrate = 320
# The directory used to cache audio data. This setting can save
# a lot of bandwidth when activated, as it will avoid re-downloading
# audio files when replaying them.
#
# Note: The file path does not get expanded. Environment variables and
# shell placeholders like $HOME or ~ don't work!
cache_path = "/home/pkrones/.cache/spotifyd"
# The maximal size of the cache directory in bytes
max_cache_size = 5000000000
# Volume on startup between 0 and 100
initial_volume = "100"
# If set to true, enables volume normalisation between songs.
volume_normalisation = true
# After the music playback has ended, start playing similar songs based on the previous tracks.
autoplay = true
# The displayed device type in Spotify clients.
# Can be unknown, computer, tablet, smartphone, speaker, t_v,
# a_v_r (Audio/Video Receiver), s_t_b (Set-Top Box), and audio_dongle.
device_type = "computer"