Commit graph

244 commits

Author SHA1 Message Date
badaix
caef2b7b87 Clean up asio includes 2022-01-31 21:07:34 +01:00
badaix
4f29f000de Use namespace "boost::asio" instead of "net" 2022-01-30 22:07:13 +01:00
badaix
989eb6ec8e Reorder header includes 2022-01-30 21:45:00 +01:00
badaix
b4a41e0fd7 Fix access to a non existsing optional 2022-01-04 19:27:06 +01:00
badaix
36044237ce lower log level 2021-12-19 14:56:47 +01:00
badaix
610c0c5ea5 Add spotify logo as meta data 2021-12-19 14:56:47 +01:00
badaix
3f208d260e Use utils::file::exists instead of std::filesystem 2021-12-18 22:48:39 +01:00
badaix
01e35e9004 Remove utils::file::exists 2021-12-18 15:16:59 +01:00
badaix
da687c1585 Move meta_mpd.py to plug-ins directory 2021-12-18 14:53:11 +01:00
badaix
8d8061a946 Change control parameters to lower case 2021-12-17 18:43:10 +01:00
badaix
636b24a074 canControl must be true for property requests 2021-12-17 09:15:39 +01:00
badaix
114fe2c3bb Add missing error message 2021-12-16 23:35:11 +01:00
badaix
d326252268 Rename PcmListener to PcmStream::Listener
Reorganize include order
2021-12-12 12:19:46 +01:00
badaix
8e1f92acb1 Rename MetaTags to MetaData 2021-12-09 22:09:32 +01:00
badaix
9b0a3c41f3 Fix pragmas 2021-12-08 10:48:26 +01:00
badaix
c050c097b4 Ignore unknown pragmas for boost::process 2021-12-08 10:42:29 +01:00
badaix
d8fe7c89f1 Disable some more warnings for boost::process 2021-12-08 10:30:02 +01:00
badaix
4df05105a9 Fix data races 2021-09-23 20:32:44 +02:00
badaix
ee158b521d Fix thread races 2021-09-21 08:16:33 +02:00
badaix
2efd00d8ef Clean up mutexes 2021-09-18 13:42:43 +02:00
badaix
12aeb5859c Use strand executors 2021-09-18 11:11:34 +02:00
badaix
ffa742c49f Use executors with implicit strand 2021-09-11 23:12:31 +02:00
badaix
befc8da440 Add support for cover raw images 2021-09-06 22:19:35 +02:00
badaix
a5f79cdf90 Remove unused code 2021-09-03 20:33:53 +02:00
badaix
b348bb3379 Move properties and metatags into server dir 2021-09-01 21:12:29 +02:00
badaix
004ea21e3f Make metadata part of the properties 2021-09-01 18:18:36 +02:00
badaix
077a6fc1a4 Add control functions to PcmStream
-move json parsing to Server class
-improve error handling with the new ErrorCode object
2021-07-04 21:33:45 +02:00
badaix
41833d63fa Use recursive mutex 2021-06-29 08:44:54 +02:00
badaix
cee6b2cfee Enable control of meta streams 2021-06-28 22:25:21 +02:00
badaix
2cc9567847 Switch to C++17 2021-06-27 13:07:07 +02:00
badaix
3120a18326 Forward metadata and properties in meta stream 2021-06-27 13:00:35 +02:00
badaix
880ed00604 Use seconds for seek, make TrackId optional 2021-06-24 14:39:04 +02:00
badaix
0853c7c701 Make metadata thread safe, poll properties 2021-06-23 20:48:25 +02:00
badaix
1f51befbad Move StreamCtrl into separate file 2021-06-22 19:49:06 +02:00
badaix
f817602a50 Rename "meta" to "metadata" 2021-06-22 14:35:38 +02:00
badaix
4c2636f358 Return the streams response to "SetProperty" 2021-06-17 12:24:03 +02:00
badaix
0807641984 Fix update of swapped props/meta data 2021-06-10 11:59:26 +02:00
badaix
149c2ae9a2 Rename jsron RPC commands, add "Ready" and "Log" 2021-06-10 08:56:43 +02:00
badaix
de9e3496df Send control command as parameter 2021-06-07 23:50:20 +02:00
badaix
5c28809b43 Add reponse handlers for requests 2021-06-06 22:31:08 +02:00
badaix
bba3968f50 Change Stream.SetProperties to Stream.SetProperty 2021-06-05 23:00:12 +02:00
badaix
d93773f46c Scan logline with a regex 2021-06-04 16:57:09 +02:00
badaix
53e27e0d8b Comment out stream_tags 2021-06-04 10:32:33 +02:00
badaix
5a3559e8e4 Add properties to Stream info 2021-06-03 22:57:45 +02:00
badaix
7c11cb7559 Add support for Player.Properties 2021-05-30 22:20:49 +02:00
badaix
283c3d2c9b Add mpd status mapping 2021-05-28 09:06:23 +02:00
badaix
6e6b63ec26 Communicate via stdin/stdout with ctrl script 2021-05-26 23:57:59 +02:00
badaix
91ea368121 Add RPC "Stream.Control" command 2021-05-24 22:36:16 +02:00
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
b49016bbc4 Use librespot's log severity for log messages 2021-05-09 15:54:01 +02:00