Skip to content

Snapcast server starts, no Spotify connect device appears though #8

@febs

Description

@febs

Using ubuntu server on a raspberry Pi 3B+.

Using mazzolino/librespot-snapserver:arm as per the other issue. As expected and thescribed in #7 , the default image won't run.

No spotify connect device is added to the list, though. Other spotify connect devices (using raspotify) are showing up correctly, for what it matters.

If ran without detaching the terminal, here's what I get. I see no line related to librespot.
ubuntu@ubuntu:~$ sudo docker run --name snapserver --net host --rm -e DEVICE_NAME=Snapcast mazzolino/librespot-snapserver:arm

2021-01-06 11-08-29.830 [Info] (main) Adding source: pipe:///tmp/snapfifo?name=default
2021-01-06 11-08-29.831 [Notice] (init) Settings file: "/root/.config/snapserver/server.json"
2021-01-06 11-08-29.833 [Error] (Avahi) Failed to create client: Daemon not running
2021-01-06 11-08-29.834 [Info] (PcmStream) PcmStream: default, sampleFormat: 48000:16:2
2021-01-06 11-08-29.834 [Info] (PcmStream) Stream: default, metadata={
2021-01-06 11-08-29.834 [Info] (PcmStream) "STREAM": "default"
2021-01-06 11-08-29.834 [Info] (PcmStream) }
2021-01-06 11-08-29.834 [Info] (Server) onMetaChanged (default)
2021-01-06 11-08-29.835 [Info] (PipeStream) PipeStream mode: create
2021-01-06 11-08-29.835 [Info] (Server) Stream: {"fragment":"","host":"","path":"/tmp/snapfifo","query":{"chunk_ms":"20","codec":"flac","name":"default","sampleformat":"48000:16:2"},"raw":"pipe:////tmp/snapfifo?chunk_ms=20&codec=flac&name=default&sampleformat=48000:16:2","scheme":"pipe"}
2021-01-06 11-08-29.837 [Error] (PosixStream) Exception: end of file
2021-01-06 11-08-29.838 [Info] (ControlServer) Creating TCP acceptor for address: 0.0.0.0, port: 1705
2021-01-06 11-08-29.838 [Info] (ControlServer) Creating HTTP acceptor for address: 0.0.0.0, port: 1780
2021-01-06 11-08-29.838 [Info] (StreamServer) Creating stream acceptor for address: 0.0.0.0, port: 1704
2021-01-06 11-08-29.839 [Info] (main) number of threads: 4, hw threads: 4
2021-01-06 11-08-30.242 [Notice] (StreamServer) StreamServer::NewConnection: 192.168.8.129
2021-01-06 11-08-30.247 [Info] (Server) Hello from 15133707-0ad4-46b4-862c-1d9a7ce7cfa1, host: SM-A405FN, v0.22.0, ClientName: Snapclient, OS: Android 10, Arch: arm64-v8a, Protocol version: 2

How can I help debug this?
Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions