Commit graph

498 commits

Author SHA1 Message Date
badaix
08d0ce58f2 add dummy control session for websockets 2019-09-28 16:57:58 +02:00
badaix
45df7fdb42 control socket on the stack 2019-09-28 11:50:32 +02:00
badaix
1974afc176 switch from deprecated io_service to io_context 2019-09-28 10:53:58 +02:00
badaix
c4a61dff47 async control server 2019-09-28 10:43:11 +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
7a250192b4 fix get strings from json 2019-09-18 22:56:01 +02:00
badaix
6e9071731c update jsonrpc++ to v1.2.1 2019-09-18 22:22:23 +02:00
Johannes Pohl
7daf049b66
Merge pull request #449 from maweki/ddns-length
Add "snapcastjsonrpc" as mdns name
2019-09-17 21:47:28 +02:00
Mario Wenzel
506966f5e8 Add "snapcastjsonrpc" as mdns name
Service name is one byte too long. Added an alternative version
without removing the previous one for backwards compatibility.

Fixes #243
2019-03-09 10:28:21 +01:00
cb1
c8dd119cb8
encoderFactory.cpp: Fix HAS_VORBIS_ENC
Change HAS_VORBIS_ENC to HAS_VORBISENC
2018-12-19 15:09:07 +01:00
badaix
f2405c4a82 bump version to v0.15.0 2018-07-07 21:32:13 +02:00
badaix
dff17ca2fc enqueue command messages at the end 2018-07-05 22:50:53 +02:00
badaix
297d74aae9 fix rare deadlock
in case of pending control request for ungraceful disconnected clients
2018-07-03 22:52:39 +02:00
badaix
e7e529c818 update jsonrpc++ to v1.2.0 2018-07-01 20:51:18 +02:00
badaix
ede7603cbf update to popl v1.2.0, add groff message 2018-06-24 22:39:30 +02:00
badaix
64c820e159 fix typo 2018-05-07 18:36:27 +02:00
badaix
8cd45def3f update manpages 2018-05-07 18:35:00 +02:00
badaix
cbbd8bb6f9 additional linker flags can be defined with "ADD_LDFLAGS" 2018-05-02 19:39:28 +02:00
badaix
74715c7183 update changelog 2018-04-27 17:22:08 +02:00
badaix
9aeca1a461 CMake building of client and server optional, support for FreeBSD 2018-04-27 00:17:54 +02:00
badaix
9259257490 small code clean-ups 2018-04-25 14:13:43 +02:00
badaix
3ff49c81b2 add support for IPv4v6 and IPv4 + IPv6 2018-04-25 14:08:11 +02:00
jonahquark81
962ff983cb Fix compilation errors on FreeBSD 2018-04-25 13:39:06 +02:00
badaix
4b68c6c109 bump version number to v0.14.0 2018-04-12 23:45:44 +02:00
badaix
08906403d1 move base64 into streamreader 2018-03-16 21:08:17 +01:00
badaix
b26bd41aff move pcmChunk implementation into header 2018-03-16 18:29:13 +01:00
badaix
54a8ca824f move message dir into common 2018-03-16 00:19:52 +01:00
badaix
c06a753606 Merge branch 'develop' of https://github.com/badaix/snapcast into develop 2018-03-04 20:38:23 +01:00
badaix
4dba2cb6b5 update changelog to v0.13.0 2018-03-04 20:38:20 +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
badaix
5440579edd update comment in default files 2018-03-04 11:32:27 +01:00
badaix
cc494257fe fix makefile 2018-03-03 00:23:33 +01:00
badaix
76424397ae change mail address 2018-03-02 08:41:25 +01:00
badaix
a3f309e0da include jsonrpc++ into the project 2018-03-02 08:28:24 +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
2299e20cfc CMake works on MacOS 2018-02-10 17:34:07 +01:00
badaix
6bbcc83cb1 update json.hpp to 3.1.0 2018-02-06 22:38:45 +01:00
Johannes Pohl
84b03c98af
Merge pull request #236 from PhoGGy/master
Fix Buildroot server compilation error
2018-02-04 21:08:20 +01:00
badaix
113e71b67b merge with develop 2018-02-04 17:43:38 +01:00
badaix
fc075555ea fix CMake compile errors 2018-02-04 13:11:07 +01:00
badaix
39b880e650 fix compile errors 2018-02-03 21:55:54 +01:00
Jörg Krause
0dd803007a Initial CMake support 2018-02-03 21:29:45 +01:00
Jörg Krause
9abeac8365 Allow building server and client without FLAC support
Allows building the server and the client without FLAC support:

```
readelf -d ./bin/snapserver | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libjsonrpcpp.so]
 0x00000001 (NEEDED)                     Shared library: [libavahi-common.so.3]
 0x00000001 (NEEDED)                     Shared library: [libavahi-client.so.3]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
```

Note, that the current client and server Makefiles always enable FLAC
support.
2018-02-03 21:29:45 +01:00
Jörg Krause
a5ffa356fe Allow buidling server without Ogg support
Allow to build an Ogg-less snapserver:

```
 0x00000001 (NEEDED)                     Shared library: [libjsonrpcpp.so]
 0x00000001 (NEEDED)                     Shared library: [libFLAC.so.8]
 0x00000001 (NEEDED)                     Shared library: [libavahi-common.so.3]
 0x00000001 (NEEDED)                     Shared library: [libavahi-client.so.3]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
```
2018-02-03 21:29:00 +01:00