File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,10 @@ which passes arguments to [librespot](https://github.com/librespot-org/librespot
123
123
# By default, the volume normalization is enabled, add alternative volume
124
124
# arguments here if you'd like, but these should be fine.
125
125
#VOLUME_ARGS="--enable-volume-normalisation --linear-volume --initial-volume=100"
126
+
127
+ # Backend could be set to pipe here, but it's for very advanced use cases of
128
+ # librespot, so you shouldn't need to change this under normal circumstances.
129
+ #BACKEND_ARGS="--backend alsa"
126
130
```
127
131
128
132
After editing restart the daemon by running: ` sudo systemctl restart raspotify `
Original file line number Diff line number Diff line change 28
28
# By default, the volume normalization is enabled, add alternative volume
29
29
# arguments here if you'd like, but these should be fine.
30
30
#VOLUME_ARGS="--enable-volume-normalisation --linear-volume --initial-volume=100"
31
+
32
+ # Backend could be set to pipe here, but it's for very advanced use cases of
33
+ # librespot, so you shouldn't need to change this under normal circumstances.
34
+ #BACKEND_ARGS="--backend alsa"
Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ Environment="DEVICE_NAME=raspotify (%H)"
13
13
Environment ="BITRATE=160"
14
14
Environment ="CACHE_ARGS=--disable-audio-cache"
15
15
Environment ="VOLUME_ARGS=--enable-volume-normalisation --linear-volume --initial-volume=100"
16
+ Environment ="BACKEND_ARGS=--backend alsa"
16
17
EnvironmentFile =-/etc/default/raspotify
17
- ExecStart =/usr/bin/librespot --name ${DEVICE_NAME} --backend alsa --bitrate ${BITRATE} $CACHE_ARGS $VOLUME_ARGS $OPTIONS
18
+ ExecStart =/usr/bin/librespot --name ${DEVICE_NAME} $BACKEND_ARGS --bitrate ${BITRATE} $CACHE_ARGS $VOLUME_ARGS $OPTIONS
18
19
19
20
[Install]
20
21
WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments