mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-30 01:16:16 +02:00
Rename MetaTags to MetaData
This commit is contained in:
parent
607f1db77f
commit
8e1f92acb1
13 changed files with 54 additions and 62 deletions
|
@ -45,7 +45,6 @@
|
|||
#include "common/str_compat.hpp"
|
||||
#include "common/utils.hpp"
|
||||
#include "common/version.hpp"
|
||||
// #include "metadata.hpp"
|
||||
|
||||
#include <boost/asio/ip/host_name.hpp>
|
||||
#include <boost/asio/signal_set.hpp>
|
||||
|
@ -130,7 +129,6 @@ int main(int argc, char** argv)
|
|||
int exitcode = EXIT_SUCCESS;
|
||||
try
|
||||
{
|
||||
string meta_script;
|
||||
ClientSettings settings;
|
||||
string pcm_device(player::DEFAULT_DEVICE);
|
||||
|
||||
|
@ -175,8 +173,6 @@ int main(int argc, char** argv)
|
|||
else
|
||||
mixer_mode = op.add<Value<string>>("", "mixer", "software|script|none|?[:<options>]", "software");
|
||||
|
||||
auto metaStderr = op.add<Switch>("e", "mstderr", "send metadata to stderr");
|
||||
|
||||
// daemon settings
|
||||
#ifdef HAS_DAEMON
|
||||
int processPriority(-3);
|
||||
|
@ -265,8 +261,6 @@ int main(int argc, char** argv)
|
|||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
// XXX: Only one metadata option must be set
|
||||
|
||||
settings.logging.filter = logfilterOption->value();
|
||||
if (logfilterOption->is_set())
|
||||
{
|
||||
|
@ -430,9 +424,7 @@ int main(int argc, char** argv)
|
|||
|
||||
LOG(INFO, LOG_TAG) << "Version " << version::code << (!version::rev().empty() ? (", revision " + version::rev(8)) : ("")) << "\n";
|
||||
|
||||
// Setup metadata handling
|
||||
// auto meta(metaStderr ? std::make_unique<MetaStderrAdapter>() : std::make_unique<MetadataAdapter>());
|
||||
auto controller = make_shared<Controller>(io_context, settings); //, std::move(meta));
|
||||
auto controller = make_shared<Controller>(io_context, settings);
|
||||
controller->start();
|
||||
|
||||
int num_threads = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue