Hello Thanks for the great work.
For some reason Librespot is not playing on any of my snapclients.. I have test all clients using mopidy server and they do work.. So its not my snapclients..
My snapserver seems to be working as i see when i start it, my clients receive data..
Librespot works as i can use it to stream music from my phone to libreelec.. It seems that (after digging) Librespot is not piping audio to the sink file...
snapclient log:
Code
2020-04-02 15-04-35 [Notice] Connected to 192.168.4.30
2020-04-02 15-04-35 [Info] My MAC: "0e:f3:b2:40:25:d1", socket: 6
2020-04-02 15-04-35 [Info] ServerSettings - buffer: 1000, latency: 0, volume: 100, muted: 0
metadata:{"STREAM":"AirPlay"}
2020-04-02 15-04-35 [Info] Codec: flac
2020-04-02 15-04-35 [Notice] sampleformat: 44100:16:2
2020-04-02 15-04-35 [Info] frames: 1323
2020-04-02 15-04-35 [Info] Last time sync older than a minute. Clearing time buffer
2020-04-02 15-04-35 [Info] Last time sync older than a minute. Clearing time buffer
2020-04-02 15-04-35 [Info] Failed to get chunk
2020-04-02 15-04-35 [Info] age > 200: -972
2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -972 < -15, sleep: -972
2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -972 < -15, sleep: -942
2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -942 < -15, sleep: -912
2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -912 < -15, sleep: -882
2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -882 < -15, sleep: -852
Display More
snapserver log:
Code
ose:~ # pactl list sinks
Sink #1
State: SUSPENDED
Name: librespot_sink
Description: Null Output
Driver: module-null-sink.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 15
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: librespot_sink.monitor
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Null Output"
device.class = "abstract"
device.icon_name = "audio-card"
Formats:
pcm
Sink #2
State: SUSPENDED
Name: Snapserver
Description: Snapserver
Driver: module-pipe-sink.c
Sample Specification: s16le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 17
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: Snapserver.monitor
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.string = "/tmp/snapkodi"
Display More
Please let me know if you need any further logs etc.