mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 00:29:35 +02:00
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.
This commit is contained in:
parent
034c7f5f98
commit
d444052233
11 changed files with 166 additions and 2 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "decoder/decoder.h"
|
||||
#include "message/message.h"
|
||||
#include "message/serverSettings.h"
|
||||
#include "message/streamTags.h"
|
||||
#include "player/pcmDevice.h"
|
||||
#ifdef HAS_ALSA
|
||||
#include "player/alsaPlayer.h"
|
||||
|
@ -73,6 +74,7 @@ private:
|
|||
std::unique_ptr<Decoder> decoder_;
|
||||
std::unique_ptr<Player> player_;
|
||||
std::shared_ptr<msg::ServerSettings> serverSettings_;
|
||||
std::shared_ptr<msg::StreamTags> streamTags_;
|
||||
std::shared_ptr<msg::CodecHeader> headerChunk_;
|
||||
std::mutex receiveMutex_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue