mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-27 06:57:03 +02:00
Add mpd status mapping
This commit is contained in:
parent
6e6b63ec26
commit
283c3d2c9b
3 changed files with 68 additions and 8 deletions
|
@ -255,7 +255,7 @@ void PcmStream::onControlMsg(const std::string& msg)
|
|||
{
|
||||
jsonrpcpp::notification_ptr notification = dynamic_pointer_cast<jsonrpcpp::Notification>(entity);
|
||||
LOG(INFO, LOG_TAG) << "Notification method: " << notification->method() << ", params: " << notification->params().to_json() << "\n";
|
||||
if (notification->method() == "Stream.OnMetadata")
|
||||
if (notification->method() == "Player.Metadata")
|
||||
{
|
||||
setMeta(notification->params().to_json());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue