Commit graph

19 commits

Author SHA1 Message Date
badaix
2e64d81f79 Add control_script to stream sources
New parameter "control_script", starting a script on stream start.
Parameters "--snapcast-port" and "--stream" are passed to the script
2021-05-23 12:39:47 +02:00
badaix
f5d4fcaf43 Tidy up 2021-02-10 18:36:40 +01:00
badaix
f254d59832 Fix build on FreeBSD (Issue #752) 2020-12-31 11:48:01 +01:00
badaix
7c1c257501 Reduce log level 2020-09-27 11:06:15 +02:00
badaix
ecd5f57b0c Log chunk age 2020-08-10 22:18:09 +02:00
badaix
bab52d314a Fix compilation on macOS 2020-08-08 15:35:43 +02:00
badaix
0a03ddb46b Fix compile error on macOS 2020-08-08 15:17:15 +02:00
badaix
ebae6c128f Log size of the pipe 2020-08-08 14:46:25 +02:00
badaix
6d7e25e9af Switch stream readers to use asio event loop 2020-01-03 22:40:34 +01:00
badaix
aa3ce3d5ab Rename stream parameter "read_ms" to "chunk_ms" 2019-12-07 14:58:19 +01:00
badaix
210ab80f71 Switch from deadline_timer to steady_timer 2019-12-05 23:01:18 +01:00
badaix
daf4591d55 Switch PipeStream to read from stream_descriptor 2019-12-03 00:21:32 +01:00
badaix
0341174d5d Reformat code 2019-12-01 22:06:50 +01:00
badaix
a47849a571 Clean up AsioStream reader code 2019-12-01 11:38:55 +01:00
badaix
5c1f35d6db Reintroduce player state 2019-11-27 21:33:25 +01:00
badaix
48e76ea58d Add abstract AsioStream class 2019-11-27 20:44:34 +01:00
badaix
b6a4ffa758 Server can run on a single thread
Number of threads can be configure in snapserver.conf:
[server]
threads = 1
2019-11-25 23:00:44 +01:00
badaix
6e138ff49f Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
badaix
a30f548a31 rename files to snake_case 2019-10-12 18:28:29 +02:00
Renamed from server/streamreader/pipeStream.cpp (Browse further)