Skip to content

Commit

Permalink
Update default config with new librespot volume-ctrl option
Browse files Browse the repository at this point in the history
Adapts to the changes from librespot-org/librespot#447
  • Loading branch information
lumaxis committed Oct 8, 2020
1 parent 5b0fc28 commit 509cdd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion raspotify/etc/default/raspotify
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

# By default, the volume normalization is enabled, add alternative volume
# arguments here if you'd like, but these should be fine.
#VOLUME_ARGS="--enable-volume-normalisation --linear-volume --initial-volume=100"
#VOLUME_ARGS="--enable-volume-normalisation --volume-ctrl=linear --initial-volume=100"

# Backend could be set to pipe here, but it's for very advanced use cases of
# librespot, so you shouldn't need to change this under normal circumstances.
Expand Down
2 changes: 1 addition & 1 deletion raspotify/lib/systemd/system/raspotify.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ExecStartPre=/bin/mkdir -m 0755 -p /var/cache/raspotify ; /bin/chown raspotify:r
Environment="DEVICE_NAME=raspotify (%H)"
Environment="BITRATE=160"
Environment="CACHE_ARGS=--disable-audio-cache"
Environment="VOLUME_ARGS=--enable-volume-normalisation --linear-volume --initial-volume=100"
Environment="VOLUME_ARGS=--enable-volume-normalisation --volume-ctrl=linear --initial-volume=100"
Environment="BACKEND_ARGS=--backend alsa"
EnvironmentFile=-/etc/default/raspotify
ExecStart=/usr/bin/librespot --name ${DEVICE_NAME} $BACKEND_ARGS --bitrate ${BITRATE} $CACHE_ARGS $VOLUME_ARGS $OPTIONS
Expand Down

0 comments on commit 509cdd7

Please sign in to comment.