Commit graph

77 commits

Author SHA1 Message Date
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
badaix
47d01960bf use less raw pointers 2017-11-05 13:24:26 +01:00
Niklas Grebe
d34fbef34f Add cache parameter to Librespot integration 2017-10-21 18:23:01 +02:00
badaix
27baee7994 fix dry out time 2017-10-16 22:07:26 +02:00
Tommy Goode
50381bacaf Making the amount of silence played configurable as dryout_ms. 2017-10-09 18:54:51 +02:00
Tommy Goode
f49a2f1bb0 Play up to 2 seconds of silence before going idle. This helps keep clients in sync during short idle periods, e.g. song changes. 2017-10-09 18:54:51 +02:00
badaix
a490402721 x-out spotify username and password 2017-10-07 10:33:10 +02:00
badaix
0ea51d95f3 switch to AixLog 2017-09-16 16:53:37 +02:00
Johannes Pohl
c8c9111a04 Update process.hpp 2017-08-04 14:10:12 +02:00
badaix
ce55f15c02 update logger 2017-07-24 18:59:49 +02:00
badaix
fa3f78b08d move string utils in namespace utils::string 2017-06-05 12:48:59 +02:00
Jörg Krause
1353d01a5a Add optional params onstart/onstop to spotify 2017-03-30 13:19:00 +02:00
badaix
5579eabfe0 replace gettimeofday with chronos::systemtimeofday 2017-03-14 19:33:14 +01:00
Tommy Goode
e355a559eb Use "which" instead of "whereis" to find the streaming executable. 2017-02-28 01:45:45 -06:00
Tommy Goode
1401ef76bd Making the librespot "username" and "password" params optional, and only throwing an error if one is provided without the the other. 2017-02-08 00:25:23 -06:00
badaix
fdb292edb4 2017 2017-02-04 11:56:40 +01:00
badaix
db92e80e9b merge with master 2017-02-04 11:00:15 +01:00
Timo Gurr
97bb0da717 librespot upstream changed the backend name from stdout to pipe
The stdout backend has been merged, but also been renamed in a later commit:
9c3541c41b
2017-01-07 03:31:57 +01:00
Johannes Pohl
8cf069642d don't log repeated exceptions 2016-11-24 17:21:39 +01:00
badaix
835127b18d bump version 0.10.0 2016-11-17 11:53:32 +01:00
badaix
043f76e35e removed trailing whitespaces 2016-11-14 22:48:07 +01:00
badaix
fa65490192 log error if not compiled with stdout 2016-11-14 22:47:34 +01:00
badaix
756dd428f0 leave no_delay option default 2016-11-10 09:14:13 +01:00
badaix
60ed5b46d4 log shairport messages 2016-11-09 23:55:41 +01:00
badaix
06ce37be1c fixed queue::abort 2016-11-09 21:57:24 +01:00
badaix
935899b0a2 fixed deadlock in server shutdown 2016-11-09 11:45:35 +01:00
badaix
341466ceb5 Force unique stream name, use name as id 2016-11-09 10:25:26 +01:00
badaix
d76aac0de7 airplay multi instance 2016-11-09 10:20:53 +01:00
badaix
d41d314e27 abortable sleep 2016-11-06 18:51:29 +01:00
badaix
7353383313 fixed exception during server shutdown 2016-11-06 13:15:19 +01:00