SlimStreamer is an audio streaming software for Linux with multi-room functionality. SlimStreamer captures audio playback from ALSA and broadcasts it to connected Squeezebox devices (real or ‘virtual’ like squeezelite).
in the readme you write how to test slimstreamer with Squeezelite.
Is it actually possible to use it with a real Squeezebox device right now?
The readme also mentions missing support for auto discovery, so maybe real devices aren't supported yet?
In the Squeezebox I can only enter the IP address as far as I can tell.
From what I understand I'm not meant to run Logitech Media Server in parallel because slimstreamer will replicate its basic functionality? I get a "address/port in use" error if I try to run both which appears to confirm my understanding.
I have removed the connection to LMS in the Squeezebox, disabled LMS and added the IP again but it is not recognized by the Squeezebox.
I compiled slimstreamer from source on armhf (Raspberry Pi 4)
The output from slimstreamer looks more or less like in the readme, but there are various errors after the part that is quoted:
2020/06/29 20:50:06.363458 DEBUG [3070091280] (Streamer.hpp:119) {proto} - Streamer object was created (id=0x324f1f8)
2020/06/29 20:50:06.363517 DEBUG [3070091280] (Server.hpp:133) {conn} - TCP server object was created (id=0xe08c70)
2020/06/29 20:50:06.363530 DEBUG [3070091280] (Server.hpp:133) {conn} - TCP server object was created (id=0xe08d68)
2020/06/29 20:50:06.363543 DEBUG [3070091280] (Server.hpp:45) {conn} - UDP server object was created (id=0xaf72c8)
2020/06/29 20:50:06.363557 DEBUG [3070091280] (Scheduler.hpp:40) {slim} - Scheduler object was created (id=0x324fcf0)
2020/06/29 20:50:06.363826 INFO [3070091280] (SlimStreamer.cpp:382) - Streaming format is FLAC
2020/06/29 20:50:06.364028 INFO [3006026800] (SlimStreamer.cpp:389) - Starting SlimStreamer...
2020/06/29 20:50:06.364070 INFO [3006026800] (Server.hpp:148) {conn} - Starting TCP new server (id=0xe08c70, port=3483, max connections=10)...
2020/06/29 20:50:06.364225 INFO [3006026800] (Server.hpp:219) {conn} - Acceptor was started (id=0xb2900a08, port=3483)
2020/06/29 20:50:06.364281 DEBUG [3006026800] (Connection.hpp:44) {conn} - Connection object was created (id=0xb2900be8)
2020/06/29 20:50:06.364315 DEBUG [3006026800] (Connection.hpp:238) {conn} - Connection was started (id=0xb2900be8)
2020/06/29 20:50:06.364386 INFO [3006026800] (Server.hpp:190) {conn} - New connection was added (id=0xb2900be8, connections=1)
2020/06/29 20:50:06.364415 INFO [3006026800] (Server.hpp:155) {conn} - TCP server was started (id=0xe08c70)
2020/06/29 20:50:06.364441 INFO [3006026800] (Server.hpp:148) {conn} - Starting TCP new server (id=0xe08d68, port=9000, max connections=10)...
2020/06/29 20:50:06.364500 INFO [3006026800] (Server.hpp:219) {conn} - Acceptor was started (id=0xb2901350, port=9000)
2020/06/29 20:50:06.364530 DEBUG [3006026800] (Connection.hpp:44) {conn} - Connection object was created (id=0xb29014b0)
2020/06/29 20:50:06.364555 DEBUG [3006026800] (Connection.hpp:238) {conn} - Connection was started (id=0xb29014b0)
2020/06/29 20:50:06.364602 INFO [3006026800] (Server.hpp:190) {conn} - New connection was added (id=0xb29014b0, connections=1)
2020/06/29 20:50:06.364630 INFO [3006026800] (Server.hpp:155) {conn} - TCP server was started (id=0xe08d68)
2020/06/29 20:50:06.364656 INFO [3006026800] (Server.hpp:72) {conn} - Starting new UDP server (id=0xaf72c8, port=3483)...
2020/06/29 20:50:06.364706 INFO [3006026800] (Server.hpp:207) {conn} - UDP socket was opened (id=0xaf72dc, port=3483)
2020/06/29 20:50:06.364754 INFO [3006026800] (Server.hpp:88) {conn} - UDP server was started (id=0xaf72c8)
2020/06/29 20:50:06.364945 DEBUG [2995778608] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2995778608)
2020/06/29 20:50:06.375292 DEBUG [2985292848] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2985292848)
2020/06/29 20:50:06.385405 DEBUG [2974807088] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2974807088)
2020/06/29 20:50:06.395790 DEBUG [2964321328] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2964321328)
2020/06/29 20:50:06.405822 DEBUG [2953835568] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2953835568)
2020/06/29 20:50:06.416213 DEBUG [2945442864] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2945442864)
2020/06/29 20:50:06.426395 DEBUG [2937050160] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2937050160)
2020/06/29 20:50:06.436672 DEBUG [2928657456] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2928657456)
2020/06/29 20:50:06.446810 DEBUG [2920264752] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2920264752)
2020/06/29 20:50:06.457073 DEBUG [2911872048] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2911872048)
2020/06/29 20:50:06.467454 DEBUG [2903479344] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2903479344)
2020/06/29 20:50:06.477590 DEBUG [2895086640] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2895086640)
2020/06/29 20:50:06.487868 DEBUG [2886693936] (Source.hpp:117) {slim} - PCM data capture thread was started (id=2886693936)
2020/06/29 20:50:06.498744 INFO [3006026800] (SlimStreamer.cpp:391) - SlimStreamer was started
2020/06/29 20:50:07.424258 DEBUG [3006026800] (Streamer.hpp:411) {proto} - SlimProto session open callback (connection=0xb2900be8)
2020/06/29 20:50:07.424444 DEBUG [3006026800] (CommandSession.hpp:162) {proto} - SlimProto session object was created (id=0xb2902ff0)
2020/06/29 20:50:07.424472 DEBUG [3006026800] (Streamer.hpp:464) {proto} - New session was added (id=0xb2902ff0, sessions=1)
2020/06/29 20:50:07.424497 DEBUG [3006026800] (Connection.hpp:44) {conn} - Connection object was created (id=0xb2904298)
2020/06/29 20:50:07.424515 DEBUG [3006026800] (Connection.hpp:238) {conn} - Connection was started (id=0xb2904298)
2020/06/29 20:50:07.424585 INFO [3006026800] (Server.hpp:190) {conn} - New connection was added (id=0xb2904298, connections=2)
2020/06/29 20:50:07.424620 DEBUG [3006026800] (Connection.hpp:229) {conn} - Connection was opened (id=0xb2900be8)
2020/06/29 20:50:07.451238 INFO [3006026800] (CommandSession.hpp:469) {proto} - HELO command received
2020/06/29 20:50:07.489190 INFO [3006026800] (CommandSession.hpp:526) {proto} - SETD command received
2020/06/29 20:50:07.489380 ERROR [3006026800] (Streamer.hpp:404) {proto} - Error while processing SlimProto command: Message is too small for the fixed part of the command
2020/06/29 20:50:07.489634 DEBUG [3006026800] (Streamer.hpp:377) {proto} - SlimProto close callback (connection=0xb2900be8)
2020/06/29 20:50:07.489664 DEBUG [3006026800] (Connection.hpp:139) {conn} - Could not send data as socket is not opened (id=0xb2900be8)
2020/06/29 20:50:07.489693 DEBUG [3006026800] (CommandSession.hpp:173) {proto} - SlimProto session object was deleted (id=0xb2902ff0)
2020/06/29 20:50:07.489733 DEBUG [3006026800] (Streamer.hpp:615) {proto} - Session was removed (id=0xb2902ff0, total sessions=0)
2020/06/29 20:50:07.489750 DEBUG [3006026800] (Connection.hpp:250) {conn} - Connection was stopped (id=0xb2900be8)
2020/06/29 20:50:07.489798 DEBUG [3006026800] (Connection.hpp:182) {conn} - Connection was closed (id=0xb2900be8, error='Bad file descriptor')
2020/06/29 20:50:07.489838 DEBUG [3006026800] (Connection.hpp:51) {conn} - Connection object was deleted (id=0xb2900be8)
2020/06/29 20:50:07.489854 INFO [3006026800] (Server.hpp:203) {conn} - Connection was removed (connections=1)
2020/06/29 20:50:07.868908 DEBUG [3006026800] (Streamer.hpp:372) {proto} - HTTP session open callback (connection=0xb29014b0)
2020/06/29 20:50:07.868937 DEBUG [3006026800] (Connection.hpp:44) {conn} - Connection object was created (id=0xb2900be8)
2020/06/29 20:50:07.868944 DEBUG [3006026800] (Connection.hpp:238) {conn} - Connection was started (id=0xb2900be8)
2020/06/29 20:50:07.868978 INFO [3006026800] (Server.hpp:190) {conn} - New connection was added (id=0xb2900be8, connections=2)
2020/06/29 20:50:07.868997 DEBUG [3006026800] (Connection.hpp:229) {conn} - Connection was opened (id=0xb29014b0)
2020/06/29 20:50:07.879085 ERROR [3006026800] (Server.hpp:94) {conn} - Error while invoking 'on data' callback (id=0xe08d68, error=Missing client ID in streaming session request)
^C2020/06/29 20:50:08.864380 INFO [3070091280] (SlimStreamer.cpp:415) - Stopping SlimStreamer...
2020/06/29 20:50:08.864479 INFO [3006026800] (Server.hpp:93) {conn} - Stopping UDP server (id=0xaf72c8, port=3483)...
2020/06/29 20:50:08.864572 INFO [3006026800] (Server.hpp:165) {conn} - UDP socket was closed (id=0xaf72dc, port=3483)
2020/06/29 20:50:08.864602 INFO [3006026800] (Server.hpp:112) {conn} - UDP server was stopped (id=0xaf72c8, port=3483)
2020/06/29 20:50:08.864832 DEBUG [2995778608] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2995778608)
2020/06/29 20:50:08.865297 DEBUG [2985292848] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2985292848)
2020/06/29 20:50:08.865620 DEBUG [2974807088] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2974807088)
2020/06/29 20:50:08.865934 DEBUG [2964321328] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2964321328)
2020/06/29 20:50:08.866260 DEBUG [2953835568] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2953835568)
2020/06/29 20:50:08.866699 DEBUG [2945442864] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2945442864)
2020/06/29 20:50:08.867105 DEBUG [2937050160] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2937050160)
2020/06/29 20:50:08.867571 DEBUG [2928657456] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2928657456)
2020/06/29 20:50:08.868097 DEBUG [2920264752] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2920264752)
2020/06/29 20:50:08.868754 DEBUG [2911872048] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2911872048)
2020/06/29 20:50:08.869436 DEBUG [2903479344] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2903479344)
2020/06/29 20:50:08.870516 DEBUG [2895086640] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2895086640)
2020/06/29 20:50:08.871712 DEBUG [2886693936] (Source.hpp:149) {slim} - PCM data capture thread was stopped (id=2886693936)
2020/06/29 20:50:08.873052 WARNING [3006026800] (Server.hpp:189) {conn} - Error while receiving data: Operation canceled
2020/06/29 20:50:08.873085 INFO [3006026800] (Server.hpp:160) {conn} - Stopping TCP server...
2020/06/29 20:50:08.873173 INFO [3006026800] (Server.hpp:230) {conn} - Acceptor was stopped (id=0xb2900a08, port=3483)
2020/06/29 20:50:08.873203 INFO [3006026800] (Server.hpp:172) {conn} - TCP server was stopped (id=0xe08c70, port=3483, max connections=10)
2020/06/29 20:50:08.873223 INFO [3006026800] (Server.hpp:160) {conn} - Stopping TCP server...
2020/06/29 20:50:08.873290 INFO [3006026800] (Server.hpp:230) {conn} - Acceptor was stopped (id=0xb2901350, port=9000)
2020/06/29 20:50:08.873439 INFO [3006026800] (Server.hpp:172) {conn} - TCP server was stopped (id=0xe08d68, port=9000, max connections=10)
2020/06/29 20:50:08.873475 DEBUG [3006026800] (Connection.hpp:250) {conn} - Connection was stopped (id=0xb2904298)
2020/06/29 20:50:08.873500 DEBUG [3006026800] (Connection.hpp:182) {conn} - Connection was closed (id=0xb2904298, error='Operation canceled')
2020/06/29 20:50:08.873519 DEBUG [3006026800] (Connection.hpp:250) {conn} - Connection was stopped (id=0xb2900be8)
2020/06/29 20:50:08.873538 DEBUG [3006026800] (Connection.hpp:182) {conn} - Connection was closed (id=0xb2900be8, error='Operation canceled')
2020/06/29 20:50:08.873615 DEBUG [3006026800] (Streamer.hpp:310) {proto} - HTTP session close callback (connection=0xb29014b0)
2020/06/29 20:50:08.873639 WARNING [3006026800] (Streamer.hpp:325) {proto} - Did not find HTTP session by provided connection (0xb29014b0)
2020/06/29 20:50:08.873659 DEBUG [3006026800] (Connection.hpp:250) {conn} - Connection was stopped (id=0xb29014b0)
2020/06/29 20:50:08.873680 DEBUG [3006026800] (Connection.hpp:182) {conn} - Connection was closed (id=0xb29014b0, error='Operation canceled')
2020/06/29 20:50:08.873712 DEBUG [3006026800] (Connection.hpp:51) {conn} - Connection object was deleted (id=0xb2904298)
2020/06/29 20:50:08.873729 INFO [3006026800] (Server.hpp:203) {conn} - Connection was removed (connections=0)
2020/06/29 20:50:08.873748 DEBUG [3006026800] (Connection.hpp:51) {conn} - Connection object was deleted (id=0xb2900be8)
2020/06/29 20:50:08.873785 INFO [3006026800] (Server.hpp:203) {conn} - Connection was removed (connections=1)
2020/06/29 20:50:08.873803 DEBUG [3006026800] (Connection.hpp:51) {conn} - Connection object was deleted (id=0xb29014b0)
2020/06/29 20:50:08.873819 INFO [3006026800] (Server.hpp:203) {conn} - Connection was removed (connections=0)
2020/06/29 20:50:08.964661 INFO [3070091280] (SlimStreamer.cpp:432) - SlimStreamer was stopped
2020/06/29 20:50:08.964927 DEBUG [3070091280] (Scheduler.hpp:52) {slim} - Scheduler object was deleted (id=0x324fcf0)
2020/06/29 20:50:08.964950 DEBUG [3070091280] (Streamer.hpp:124) {proto} - Streamer object was deleted (id=0x324f1f8)
2020/06/29 20:50:08.968920 DEBUG [3070091280] (Server.hpp:50) {conn} - UDP server object was deleted (id=0xaf72c8)
2020/06/29 20:50:08.968943 DEBUG [3070091280] (Server.hpp:138) {conn} - TCP server object was deleted (id=0xe08d68)
2020/06/29 20:50:08.968956 DEBUG [3070091280] (Server.hpp:138) {conn} - TCP server object was deleted (id=0xe08c70)
I haven't tried with Squeezelite yet but I will do if it is expected to work with real devices.
If this is not possible right now: Any suggestions how to forward audio output to Squeezebox devices using other means?
Hello,
in the readme you write how to test slimstreamer with Squeezelite. Is it actually possible to use it with a real Squeezebox device right now? The readme also mentions missing support for auto discovery, so maybe real devices aren't supported yet? In the Squeezebox I can only enter the IP address as far as I can tell. From what I understand I'm not meant to run Logitech Media Server in parallel because slimstreamer will replicate its basic functionality? I get a "address/port in use" error if I try to run both which appears to confirm my understanding.
I have removed the connection to LMS in the Squeezebox, disabled LMS and added the IP again but it is not recognized by the Squeezebox.
I compiled slimstreamer from source on armhf (Raspberry Pi 4) The output from slimstreamer looks more or less like in the readme, but there are various errors after the part that is quoted:
I haven't tried with Squeezelite yet but I will do if it is expected to work with real devices. If this is not possible right now: Any suggestions how to forward audio output to Squeezebox devices using other means?