Skip to content

Commit 69891a0

Browse files
authored
#122 fix autoplay flag (#124)
1 parent dbc6e56 commit 69891a0

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ Just be careful to use the tag you have built.
311311

312312
Change Date|Major Changes
313313
---|---
314+
2025-03-27|Fix autoplay (see [#122](https://github.com/GioF71/librespot-docker/issues/122))
314315
2025-01-27|Build latest tag v0.6.0 instead of default branch
315316
2025-01-26|Added curl to the runtime dependencies (see [#113](https://github.com/GioF71/librespot-docker/issues/113))
316317
2025-01-03|Restored arm/v7 build

app/bin/run-librespot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,9 @@ if [ -n "$VOLUME_RANGE" ]; then
294294
fi
295295

296296
if [ "${AUTOPLAY^^}" = "Y" ]; then
297-
CMD_LINE="$CMD_LINE --autoplay"
297+
CMD_LINE="$CMD_LINE --autoplay=on"
298+
elif [ "${AUTOPLAY^^}" = "N" ]; then
299+
CMD_LINE="$CMD_LINE --autoplay=off"
298300
fi
299301

300302
if [ "${DISABLE_GAPLESS^^}" = "Y" ]; then

0 commit comments

Comments
 (0)