Commit graph

685 commits

Author SHA1 Message Date
badaix
0256409189 Add autoplay option for librespot 2020-03-02 21:12:27 +01:00
badaix
bcf48a2b4e Fix compiler warning 2020-03-02 18:50:22 +01:00
badaix
61de7fab5d Fix compiler warning 2020-03-01 19:07:22 +01:00
badaix
2b14641704 Makre resync more tolerant 2020-03-01 18:54:00 +01:00
badaix
63ad64dfff Pass encoded chunks as shared_ptr 2020-02-29 21:48:12 +01:00
badaix
d9d403d729 Fix crash during shutdown 2020-02-29 19:59:01 +01:00
badaix
a8998997e9 Change stream reader to use actual chunk duration
e.g. a configured chunk_ms of 11 will read a 44.1kHz stream in chunks of 485 frames (=10.9977ms)
2020-02-29 19:24:47 +01:00
badaix
0956a24d2e Small fix in queue cleanup 2020-02-28 08:15:14 +01:00
badaix
5cd42b7847 Raise version number to 0.19.0 2020-02-27 22:05:53 +01:00
badaix
31c0dd5287 Fix timesync 2020-02-27 21:25:47 +01:00
badaix
17f8a1e14b Don't delete "on air" messages 2020-02-27 20:49:59 +01:00
badaix
4cb67c7960 Fix message queueing 2020-02-27 20:44:13 +01:00
badaix
c445deb95a Pop message from queue before sending it 2020-02-27 18:19:02 +01:00
badaix
ae9ecf00e3 Fix compile error 2020-02-26 19:43:09 +01:00
badaix
92088eb9c2 Drop PCM chunks that are too old 2020-02-26 19:35:19 +01:00
badaix
7376c7709c Settings can be overwritten on command line
make pidfile and persistant data dir confgurable
2020-02-25 23:40:23 +01:00
badaix
0c25a7a42d Reformat code 2020-02-25 22:14:19 +01:00
Christian Flach
2efe44517a Fix 'Bad Address' error when sending large messages 2020-02-25 21:41:44 +01:00
Christian Flach
302ea576ce Add support for cover art 2020-02-25 21:41:44 +01:00
badaix
9af7445da2 Add log tags 2020-02-23 19:12:27 +01:00
badaix
0d4c58fb63 Setting http.doc_root can be empty 2020-02-23 19:12:11 +01:00
badaix
33679a5548 Fix missing sentinel in function call warning 2020-02-22 16:46:06 +01:00
badaix
1bc8f74c41 Change SampleFormat variables to getters 2020-02-18 22:47:04 +01:00
Jean-Philippe Menil
3e91984d3e fix missing include 2020-02-16 21:04:27 +01:00
badaix
549fcba40f Use realloc to avoid memleak 2020-02-14 08:42:10 +01:00
badaix
83ab1cb260 Small time sync fix 2020-02-09 19:51:48 +01:00
badaix
08902ae0a5 Remove call to gettimeofday 2020-02-09 12:22:26 +01:00
badaix
5a3abc31ed Remove unused lambda parameter 2020-02-08 16:01:22 +01:00
badaix
384e71b7c9 Save server config deferred 2020-02-08 12:17:12 +01:00
badaix
6ad6467e73 Reformat code 2020-02-03 09:10:33 +01:00
Johannes Pohl
e7e57d63cd
Merge pull request #539 from cmfcmf/librespot-killall
Add option to not kill all librespot instances
2020-02-02 19:58:27 +01:00
Johannes Pohl
a894520599
Merge branch 'develop' into airplay-metadata 2020-02-02 16:41:16 +01:00
Felix Geyer
f6f107af28 cmake: properly link against libatomic when needed
Similar to CMAKE_REQUIRED_FLAGS, CMAKE_CXX_LINK_FLAGS is not an
appropriate variable for linking against libraries.
2020-02-02 16:20:23 +01:00
Felix Geyer
322f270839 Fix typos in log messages 2020-02-02 16:16:51 +01:00
Christian Flach
678f102a98
Add option to not kill all librespot instances 2020-01-30 14:19:12 +01:00
Christian Flach
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
Christian Flach
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
Christian Flach
4fe4310ff2
Add expat to cmake and build requirements 2020-01-29 14:11:09 +01:00
Christian Flach
31a9e30666
Use unique metadata pipe per AirplayStream 2020-01-29 13:06:30 +01:00
Christian Flach
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
Christian Flach
a7808cfec3 Overwrite sample format for airplay before ctor is called 2020-01-28 18:41:18 +01:00
badaix
862f08da9f Update version number to v0.18.1 2020-01-28 00:13:35 +01:00
badaix
3a7f1573f2 Less debug logging 2020-01-28 00:06:54 +01:00
badaix
a9b042f78e Fix crash during client disconnect 2020-01-26 16:02:23 +01:00
badaix
1f1c00981b Raise version number to v0.18.0 2020-01-22 21:24:40 +01:00
badaix
4bc02a8f55 Remove unused process.hpp 2020-01-21 23:01:48 +01:00
badaix
d44f3be4ed Add more comments to snapserver.conf 2020-01-21 22:54:39 +01:00
badaix
99cf9f8e81 Remove -Wno-psabi compiler flag 2020-01-20 21:23:05 +01:00
badaix
f94687827e Add -Wno-psabi to Makefiles 2020-01-20 21:10:06 +01:00
badaix
0a40d8de63 Fix memory leak in ogg encoder 2020-01-12 15:46:16 +01:00