badaix / snapcast

Synchronous multiroom audio player
GNU General Public License v3.0
6.21k stars 456 forks source link

Can't run snapclient on Vero 4K (OSMC) #1151

Closed daniel-sousa-me closed 1 year ago

daniel-sousa-me commented 1 year ago

Describe the bug When I try to run snapclient it gives an error and quits. The soundcard I'm selecting works with aplay

Environment details

Attach logfile if applicable


2023-08-18 15-08-05.917 [Info] (Avahi) (Browser) NEW: service 'Snapcast' of type '_snapcast._tcp' in domain 'local'
2023-08-18 15-08-05.920 [Info] (Avahi) (Browser) NEW: service 'Snapcast' of type '_snapcast._tcp' in domain 'local'
2023-08-18 15-08-05.923 [Info] (Avahi) (Browser) CACHE_EXHAUSTED
2023-08-18 15-08-05.924 [Info] (Avahi) Service 'Snapcast' of type '_snapcast._tcp' in domain 'local':
2023-08-18 15-08-05.924 [Info] (Avahi)  sala.local:1704 (172.17.0.1)
2023-08-18 15-08-05.924 [Debug] (Avahi)         TXT=
2023-08-18 15-08-05.924 [Debug] (Avahi)         Proto=0
2023-08-18 15-08-05.924 [Debug] (Avahi)         cookie is 0
2023-08-18 15-08-05.924 [Debug] (Avahi)         is_local: 1
2023-08-18 15-08-05.924 [Debug] (Avahi)         our_own: 0
2023-08-18 15-08-05.924 [Debug] (Avahi)         wide_area: 0
2023-08-18 15-08-05.924 [Debug] (Avahi)         multicast: 1
2023-08-18 15-08-05.924 [Debug] (Avahi)         cached: 1
2023-08-18 15-08-05.928 [Info] (Controller) Found server 172.17.0.1:1704
2023-08-18 15-08-05.928 [Info] (Connection) Resolving host IP for: 172.17.0.1
2023-08-18 15-08-05.928 [Info] (Connection) Connecting
2023-08-18 15-08-05.929 [Notice] (Connection) Connected to 172.17.0.1
2023-08-18 15-08-05.929 [Info] (Connection) My MAC: "c4:4e:ac:28:61:7e", socket: 8
2023-08-18 15-08-06.179 [Debug] (Connection) outstanding async_write
2023-08-18 15-08-06.184 [Info] (Controller) ServerSettings - buffer: 1000, latency: 0, volume: 100, muted: 0
metadata:{"STREAM":"alsa"}
2023-08-18 15-08-06.185 [Info] (Controller) Codec: flac, sampleformat: 44100:16:2
2023-08-18 15-08-06.185 [Info] (Player) Player name: alsa, device: plughw:CARD=AMLMESONAUDIO,DEV=1, description: AML-MESONAUDIO, 
2023-08-18 15-08-06.185 [Info] (Player) Hardware device with all software conversions, idx: 16, sharing mode: unspecified, parameters: <none>
2023-08-18 15-08-06.186 [Info] (Player) Mixer mode: software, parameters: <none>
2023-08-18 15-08-06.186 [Info] (Player) Sampleformat: 44100:16:2, stream: 44100:16:2
2023-08-18 15-08-06.186 [Info] (Alsa) Using buffer_time: 80 ms, fragments: 4
2023-08-18 15-08-06.187 [Error] (Alsa) Exception: Can't set buffer time: Invalid argument, code: 0
2023-08-18 15-08-06.188 [Debug] (Connection) Disconnecting
2023-08-18 15-08-06.188 [Debug] (Connection) Disconnected
2023-08-18 15-08-06.189 [Fatal] (Snapclient) Exception: Can't set buffer time: Invalid argument
2023-08-18 15-08-06.189 [Notice] (Snapclient) Snapclient terminated.```
daniel-sousa-me commented 1 year ago

Nevermind. I installed the latest version (0.27.0-1) and now it works.