41 Commits

Author SHA1 Message Date
5c41afd9e3 Fix linter warnings 2025-06-06 10:21:48 +02:00
d5677b6f78 Reformat code 2025-01-09 15:06:35 +01:00
4321a9d9d1 Add JWT class 2024-12-19 22:44:51 +01:00
e57dc0888f Fix mixer script 2024-04-02 21:53:36 +02:00
fcac07b07a Change log severity for retries 2024-03-24 23:37:18 +01:00
275a53a845 Remove PosixStream layer 2024-03-13 20:27:13 +01:00
abe6dea35a Tweak Airplay (#1102)
Signed-off-by: Christian König <ckoenig@posteo.de>
Co-authored-by: Johannes Pohl <johannes.pohl@badaix.de>
2023-07-14 10:59:53 +02:00
e1c8250876 Reformat code 2022-12-29 19:10:38 +01:00
3f208d260e Use utils::file::exists instead of std::filesystem 2021-12-18 22:48:39 +01:00
01e35e9004 Remove utils::file::exists 2021-12-18 15:16:59 +01:00
d326252268 Rename PcmListener to PcmStream::Listener
Reorganize include order
2021-12-12 12:19:46 +01:00
8e1f92acb1 Rename MetaTags to MetaData 2021-12-09 22:09:32 +01:00
12aeb5859c Use strand executors 2021-09-18 11:11:34 +02:00
befc8da440 Add support for cover raw images 2021-09-06 22:19:35 +02:00
004ea21e3f Make metadata part of the properties 2021-09-01 18:18:36 +02:00
f817602a50 Rename "meta" to "metadata" 2021-06-22 14:35:38 +02:00
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
e37d81f73c Fix double quotes in Airplay device name 2021-04-30 11:01:54 +02:00
7597f15d24 Tidy up code 2021-02-11 08:33:36 +01:00
f5d4fcaf43 Tidy up 2021-02-10 18:36:40 +01:00
ae16e74f60 Add shairport-sync password support 2020-12-31 11:42:49 +01:00
296a2f4dea Remove metadata pipe on behalf of shairport sync 2020-12-05 20:26:48 +01:00
f1e672d375 Modernize: replace typedef with using 2020-09-21 16:26:04 +02:00
c1c521b260 Reformat code 2020-05-31 13:46:26 +02:00
76ef652ea8 Revert error message 2020-05-20 19:34:15 +01:00
0168bb17ab Retry reading metadata on bad file descriptor 2020-05-20 19:26:02 +01:00
0c25a7a42d Reformat code 2020-02-25 22:14:19 +01:00
302ea576ce Add support for cover art 2020-02-25 21:41:44 +01:00
6ad6467e73 Reformat code 2020-02-03 09:10:33 +01:00
c6cbc24163 Correct argument escaping of --name paramter
Previously, the "" were treated as part of the devicename. This lead to Airplay names which included the "".
Instead, we must quote the whole argument, so that the name does not contain "".
2020-01-29 23:13:19 +01:00
0aed04f9b3 Fix reading from the metadata pipe, remove old code
We must not open the pipe with O_NONBLOCK, because it might not be ready yet.
2020-01-29 23:13:19 +01:00
31a9e30666 Use unique metadata pipe per AirplayStream 2020-01-29 13:06:30 +01:00
05575f46e6 Fix automatic port selection
- shairport-sync sends a different message since 3.0 when the port cannot be opened (945483d9c3)
- to send logs to stderr, the --use-stderr parameter is needed since 3.3 (https://github.com/mikebrady/shairport-sync/blob/master/RELEASENOTES.md#version-33)
2020-01-29 11:38:50 +01:00
a7808cfec3 Overwrite sample format for airplay before ctor is called 2020-01-28 18:41:18 +01:00
7b268b83df Remove unused shared_from_this 2020-01-08 21:22:56 +01:00
d80c87351c Small fixes and reformats 2020-01-05 21:51:59 +01:00
9353c61d7b Use helper function for async_wait
PosixStream waits 100ms before reconnecting
2020-01-05 14:36:46 +01:00
9f2c256172 Airplay meta pipe reader uses asio event loop 2020-01-04 12:34:59 +01:00
6d7e25e9af Switch stream readers to use asio event loop 2020-01-03 22:40:34 +01:00
6e138ff49f Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
a30f548a31 rename files to snake_case 2019-10-12 18:28:29 +02:00