Browse Source

failed attempt to fix "Can't play this right now" by changing device name

Fabian Peter Hammerle 3 years ago
parent
commit
050d1713f4
1 changed files with 4 additions and 3 deletions
  1. 4 3
      docker-compose.yml

+ 4 - 3
docker-compose.yml

@@ -9,15 +9,16 @@ services:
     image: docker.io/fphammerle/librespot
     group_add: [29] # stat --format='%g %n' /dev/snd/*
     command: librespot
-      --cache /var/cache/librespot
       --name librespot-docker-compose-test
       --device-type computer
-      --verbose
+      --cache /var/cache/librespot
       --backend alsa
-      --device surround21
+      --device surround21:CARD=PCH,DEV=0
       --enable-volume-normalisation
       --volume-ctrl linear
       --initial-volume 25
+      --autoplay
+      --verbose
     read_only: yes
     volumes:
     - type: volume