From a3cd985e22decfd3c1c52c1a107a0f1be08679ae Mon Sep 17 00:00:00 2001 From: badaix Date: Tue, 31 Jan 2023 09:27:47 +0100 Subject: [PATCH] Remove StreamTags message --- client/controller.cpp | 8 ---- common/message/factory.hpp | 4 +- common/message/message.hpp | 7 +-- common/message/stream_tags.hpp | 80 ---------------------------------- doc/binary_protocol.md | 18 -------- server/stream_server.hpp | 1 - 6 files changed, 3 insertions(+), 115 deletions(-) delete mode 100644 common/message/stream_tags.hpp diff --git a/client/controller.cpp b/client/controller.cpp index 13bc8919..ca913a92 100644 --- a/client/controller.cpp +++ b/client/controller.cpp @@ -259,14 +259,6 @@ void Controller::getNextMessage() player_->setVolume(serverSettings_->getVolume() / 100., serverSettings_->isMuted()); // } } - // else if (response->type == message_type::kStreamTags) - // { - // if (meta_) - // { - // auto stream_tags = msg::message_cast(std::move(response)); - // meta_->push(stream_tags->msg); - // } - // } else { LOG(WARNING, LOG_TAG) << "Unexpected message received, type: " << response->type << "\n"; diff --git a/common/message/factory.hpp b/common/message/factory.hpp index e0014393..7c921c03 100644 --- a/common/message/factory.hpp +++ b/common/message/factory.hpp @@ -1,6 +1,6 @@ /*** This file is part of snapcast - Copyright (C) 2014-2022 Johannes Pohl + Copyright (C) 2014-2023 Johannes Pohl This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -75,8 +75,6 @@ static std::unique_ptr createMessage(const BaseMessage& base_messag return createMessage(base_message, buffer); case message_type::kServerSettings: return createMessage(base_message, buffer); - // case message_type::kStreamTags: - // return createMessage(base_message, buffer); case message_type::kTime: return createMessage