Commit graph

60 commits

Author SHA1 Message Date
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
badaix
748c4c06b1 kill shairport-sync and librespot if already running 2016-11-05 14:07:50 +01:00
badaix
c897b437f9 added airplay stream 2016-11-05 13:39:47 +01:00
badaix
bd69940db6 wait 30s before process restart 2016-11-05 10:51:59 +01:00
Johannes Pohl
236786646b fixed stupid comparison. Thanks clang :) 2016-11-04 14:44:09 +01:00
badaix
161888eeee raised watchdog timeout to 130min 2016-11-04 10:35:17 +01:00
badaix
46b794498e added watchdog to restart librespot 2016-11-04 10:30:20 +01:00
badaix
5dc3a9c0b1 trim log lines, fixed sampleformat 2016-11-03 09:13:23 +01:00
Johannes Pohl
dd29f87951 added include for kill 2016-11-02 11:47:36 +01:00
badaix
7af0bdde65 added optional parameter "logStderr" to ProcessStream 2016-11-02 09:03:40 +01:00
badaix
ce8ed1e3f3 validate parameters 2016-11-01 22:24:32 +01:00
badaix
1cc4bc23e7 new parameter "devicename" (=Snapcast) 2016-11-01 18:57:23 +01:00
badaix
a98629563f fixed crash on stop
non-blocking read
2016-11-01 18:56:53 +01:00
badaix
e0d9de5904 spotify stream 2016-11-01 14:47:24 +01:00
badaix
50a4380616 process stream 2016-11-01 13:00:04 +01:00
badaix
f6e3c57ee5 getQuery convenience function 2016-10-30 14:55:34 +01:00
badaix
951548f412 portable sleep function 2016-10-28 10:10:58 +02:00
badaix
17879618c7 Added dummy classes for spotify stream reader 2016-10-27 13:58:13 +02:00