339 Commits

Author SHA1 Message Date
37984c16a1 Librespot stream sources can be added via RPC 2025-09-11 21:24:36 +02:00
c8bdb44f0a Add missing stream sources to README.md 2025-09-11 12:15:20 +02:00
aebd139e5f Fix compatibility with older PipeWire versions 2025-09-09 10:19:35 +02:00
56f6371db8 Cleanup 2025-09-08 10:50:07 +02:00
144de4b9a2 Make props local 2025-09-08 10:50:07 +02:00
3648485eba Pr aanno/1419 (#1420)
* initial: Support pipewire in snapclient

* code format

* clang warnings on -Wgnu-statement-expression and -Wc99-extensions

* fix #pragma GCC diagnostic in client/player/pipewire_player.cpp

* lint fix

* try the NOLINT stuff on ONE line (and ignore format)

* try NOLINTBEGIN
2025-09-02 21:31:01 +02:00
42365008c2 Ignore warning for clang 2025-08-28 21:13:40 +02:00
f3467ab0a2 Pipewire cleanup 2025-08-28 20:51:03 +02:00
94760fe492 pr-1371: Support pipewire in snapserver (#1418)
* pr-1371: Support pipewire in snapserver

* only use PipeWireStream when HAS_PIPEWIRE is true

* add pipewire to CI, cmake with -DBUILD_WITH_PIPEWIRE=ON

* add -Wno-error=gnu-statement-expression

* try -Wno-gnu-statement-expression as -Wno-error=gnu-statement-expression is not supported on gcc

* fixes for clang-tidy

* try nolint for the pw_stream_flags line

* .github/workflows/ci.yml: removed unwanted dependencies

* cmake: BUILD_WITH_PIPEWIRE default is OFF now

* more CI fixes: NOLINT, doxygen, #pragma GCC diagnostic

* #pragma GCC diagnostic ignored only on gcc

* PR code review fixes
2025-08-28 10:14:16 +02:00
180428283d Cleanup 2025-07-25 15:13:54 +02:00
c9e591ed45 read tcp port from parsed uri instance 2025-07-25 15:06:17 +02:00
e617654e17 Include process v1 headers for Boost version >= v1.88.0 2025-06-07 00:22:25 +02:00
7c27acb3c7 Add missing includes 2025-06-07 00:22:25 +02:00
0de502f565 Define BOOST_PROCESS_VERSION=1 globally 2025-06-07 00:22:25 +02:00
798e5cb142 Build failure with boost 1.88.0 #1367
fix compilation errors by including the deprecated boost process v1 APIs
2025-06-07 00:22:25 +02:00
76e35e3e18 Add documentation 2025-06-06 10:21:48 +02:00
f0985cbce4 Use callback function instead of class 2025-06-06 10:21:48 +02:00
efd050a716 Add documentation 2025-06-06 10:21:48 +02:00
f8e4e60f2f Remove MetadataAdapter 2025-06-06 10:21:48 +02:00
5c41afd9e3 Fix linter warnings 2025-06-06 10:21:48 +02:00
c5ea25a5ea Fixes 2025-06-06 10:21:48 +02:00
70d7b97026 Fix warnings 2025-06-06 10:21:48 +02:00
92cc5d4e10 Log auth error 2025-06-06 10:21:48 +02:00
fa83fc155d Make callbacks rvalues 2025-06-06 10:21:48 +02:00
11cdc979a6 Fix tidy issue 2025-06-06 10:21:48 +02:00
8d7e4ba278 Fix copy paste error in AirplayStream docs 2025-02-04 19:02:53 +01:00
648589a233 Remove README.meta 2025-02-04 19:01:33 +01:00
6c02252d84 Add client support for websockets 2025-01-24 21:30:19 +01:00
8e9806f35c controlscript must be located in plugin_dir 2025-01-21 22:25:04 +01:00
780d8f3f1a Fix crash while calling Stream.RemoveStream 2025-01-19 22:46:24 +01:00
d5677b6f78 Reformat code 2025-01-09 15:06:35 +01:00
58e82ef9e8 Provide cover art over HTTPS 2025-01-09 10:19:32 +01:00
cd67fb9645 Replace std::endl with "\n" 2025-01-07 20:29:16 +01:00
0b1b1e38bb Iclude boost as system headers to suppress warnings 2024-12-20 19:30:42 +01:00
11d7d98186 Reformat code 2024-12-19 22:44:51 +01:00
b5284301c5 Add custom URL prefix for HTTP URLs (#1260)
Co-authored-by: Johannes Pohl <johannes.pohl@badaix.de>
2024-12-19 22:44:51 +01:00
45f189432d Make some functions const 2024-12-19 22:44:51 +01:00
2b6ad6b90b Add some documentation 2024-12-19 22:44:51 +01:00
78cbd3cf5b Remove ImageCache instance from ServerSettings 2024-12-19 22:44:51 +01:00
c112058998 Pass complete Settings struct around 2024-12-19 22:44:51 +01:00
a704fd11d5 Fix pipe reconnect 2024-12-19 22:44:51 +01:00
4321a9d9d1 Add JWT class 2024-12-19 22:44:51 +01:00
a796bb2032 Use HTTPS, support for HTTP missing 2024-12-19 22:44:51 +01:00
b2fd2bf9ef use make_address from boost as from_string is deprecated (#1308)
Since boost 1.87.0 boost::asio::ip::address::from_string is no longer available

ref: c0d1cfce77

fixes:
    ../server/control_server.cpp: In member function 'void ControlServer::start()':
    ../server/control_server.cpp:164:111: error: 'from_string' is not a member of 'boost::asio::ip::address'
      164 |                                                                       tcp::endpoint(boost::asio::ip::address::from_string(address), tcp_settings_.port)));
          |                                                                                                               ^~~~~~~~~~~
    ../server/control_server.cpp:180:112: error: 'from_string' is not a member of 'boost::asio::ip::address'
      180 |                                                                        tcp::endpoint(boost::asio::ip::address::from_string(address), http_settings_.port)));
          |                                                                                                                ^~~~~~~~~~~
    ../server/streamreader/tcp_stream.cpp: In constructor 'streamreader::TcpStream::TcpStream(streamreader::PcmStream::Listener*, boost::asio::io_context&, const ServerSettings&, const streamreader::StreamUri&)':
    ../server/streamreader/tcp_stream.cpp:67:97: error: 'from_string' is not a member of 'boost::asio::ip::address'
       67 |         acceptor_ = make_unique<tcp::acceptor>(strand_, tcp::endpoint(boost::asio::ip::address::from_string(host_), port_));
          |                                                                                                 ^~~~~~~~~~~
    ../server/streamreader/tcp_stream.cpp: In member function 'virtual void streamreader::TcpStream::connect()':
    ../server/streamreader/tcp_stream.cpp:96:75: error: 'from_string' is not a member of 'boost::asio::ip::address'
       96 |         boost::asio::ip::tcp::endpoint endpoint(boost::asio::ip::address::from_string(host_), port_);
          |                                                                           ^~~~~~~~~~~
    ../server/stream_server.cpp: In member function 'void StreamServer::start()':
    ../server/stream_server.cpp:234:103: error: 'from_string' is not a member of 'boost::asio::ip::address'
      234 |                                                               tcp::endpoint(boost::asio::ip::address::from_string(address), settings_.stream.port)));
          |
2024-12-18 16:23:11 +01:00
2a9369274c Autoconnect ports once after connecting to Jack server 2024-06-20 23:12:18 +02:00
00e407bd4b Remove obsolete code 2024-06-19 18:44:47 +02:00
445a7a2e7c Subtract chunk duration from initial chunk timestamp
This brings it into line with all other StreamReaders.
2024-06-19 18:44:47 +02:00
642612782c Enable Jack error and debug messages 2024-06-19 18:44:47 +02:00
10f5ac41b5 Formatting and copyright 2024-06-19 18:44:47 +02:00
1f6bb07dd6 Use standard timestamping for JackStream chunks 2024-06-19 18:44:47 +02:00