Commit graph

106 commits

Author SHA1 Message Date
badaix
daf4591d55 Switch PipeStream to read from stream_descriptor 2019-12-03 00:21:32 +01:00
badaix
eb94867b57 Improve check for systime vs streamtime 2019-12-01 22:56:49 +01:00
badaix
f35efe568a Rename buffer parameter 2019-12-01 22:07:03 +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
3cb9902bbe Rename experimental.tcp to tcp 2019-11-28 22:31:03 +01:00
badaix
fd616956cb Add client mode to TcpStream 2019-11-28 20:07:43 +01:00
badaix
43c58febd7 Add stream buffer to AsioStream 2019-11-28 20:05:54 +01:00
badaix
22262bd203 Delete UDP stream 2019-11-27 23:03:13 +01:00
badaix
40c910104b Path component in URI is optional 2019-11-27 22:59:12 +01:00
badaix
a625a5d806 Fix crash in TCP stream disconnect 2019-11-27 22:58:32 +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
0ad3f1a57d Fix compile error 2019-11-24 21:13:34 +01:00
badaix
646c7593c1 Add experimental TCP and UDP streams 2019-11-24 18:24:39 +01:00
badaix
6e138ff49f Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
badaix
cdc5dd2bac remove unused function 2019-11-17 15:57:07 +01:00
badaix
07e8290ee4 Add namespace for encoder and decoder 2019-11-04 14:53:02 +01:00
badaix
08a0def6c5 rename spotify to librespot 2019-10-13 19:32:11 +02:00
badaix
7fda592d13 enable extra warnings 2019-10-13 19:01:56 +02:00
badaix
0b21a5daee rename files to snake_case 2019-10-13 18:43:32 +02:00
badaix
d3b8ad5aa5 fix includes 2019-10-13 13:18:24 +02:00
badaix
a30f548a31 rename files to snake_case 2019-10-12 18:28:29 +02:00
badaix
7cb595db28 move aixlog and popl to common 2019-10-09 22:11:43 +02:00
badaix
b2a48663c1 reformat code 2019-10-04 18:30:43 +02:00
Pablo I. Pousada Rial
b26d892950 merge 506de22 from master
Dynamic stream creation and deletion via JSON-RPC API #443
2019-10-03 18:28:08 +02:00
badaix
6b729ad61c reformat code 2019-09-25 19:07:23 +02:00
badaix
8b231c7cc6 modernize with clang-tidy 2019-09-25 19:02:33 +02:00
badaix
88b49ad2a0 reformat code 2019-09-24 22:52:31 +02:00
badaix
b20add3815 add clang-format file
reformat code
2019-09-24 22:42:36 +02:00
zteifel
b733f646ea Replace onstart and onstop with onevent
Update to replace onstart and onstop parameters with librespots onevent parameter.

https://github.com/librespot-org/librespot/issues/185
2019-09-23 19:45:39 +02:00
badaix
9259257490 small code clean-ups 2018-04-25 14:13:43 +02:00
jonahquark81
962ff983cb Fix compilation errors on FreeBSD 2018-04-25 13:39:06 +02:00
badaix
08906403d1 move base64 into streamreader 2018-03-16 21:08:17 +01:00
Johannes Pohl
077e9dd9fb
Merge pull request #359 from pizzaboy75/master
Add volume parameter to Librespot integration
2018-03-04 15:23:33 +01:00
pizzaboy75
324a799e20
Add volume parameter to Librespot integration 2018-02-28 13:30:08 +01:00
pizzaboy75
b1165ff2cd
Add volume parameter to Librespot integration
Make use of the new "--initial-volume" parameter in librespot
2018-02-28 13:27:40 +01:00
badaix
44046821c1 update date in copyright 2018-02-19 20:04:28 +01:00
badaix
6bbcc83cb1 update json.hpp to 3.1.0 2018-02-06 22:38:45 +01:00
badaix
fc075555ea fix CMake compile errors 2018-02-04 13:11:07 +01:00
Jörg Krause
f28018ada7 Allow including installed jsonrpcpp from a system directory 2018-02-03 21:28:47 +01:00
Frafall
cf7accf704 Minor update of Spotify metadata description 2017-12-05 07:45:21 +01:00
Frafall
fdcdf8e350 Cleaned up compile of airplay, use 'make HAS_EXPAT=1' to
enable metadata interface of airplayStream (Shairport-sync).
2017-12-05 07:38:43 +01:00
frafall
4583c90be4 Relocated base64 code to common 2017-12-02 05:30:15 +01:00
frafall
c820f01ca7 Added metadata support for Shairplay-sync/Airplay interface 2017-12-01 20:29:38 +01:00
frafall
ce17b0010a Modified metadata interface to be tag independent, added JSON api. 2017-11-30 11:07:23 +01:00
frafall
67083975b0 Support for text tags through snapcast.
Only added tags Spotify stream input from modified librespot
for now.
2017-11-29 14:36:28 +01:00
frafall
af3ea660b9 Basic metadata working librespot/server/client. Still missing client hooks.
The librespot metadata api kinda messy, no clear API. For now I addded
printing of artist in Librespot, should publish patch
2017-11-25 05:13:04 +01:00
frafall
d444052233 Added basics for maintaining metadata by stream on server and pushing to clients.
Modified Spotify stream handler to get the track name from Libreelec's stderr.
Note, to support artist/album (or album art) we need to modify Libreelec
to print these.
2017-11-20 20:44:54 +01:00