6 namespace media_player {
8 static const char *
const TAG =
"media_player";
48 ESP_LOGW(TAG,
"MediaPlayerCall: Setting both command and media_url is not needed.");
54 ESP_LOGW(TAG,
"MediaPlayerCall: Volume must be between 0.0 and 1.0.");
65 ESP_LOGD(TAG,
" Command: %s", command_s);
101 ESP_LOGW(TAG,
"'%s' - Unrecognized command %s", this->
parent_->
get_name().
c_str(), command.c_str());
122 this->state_callback_.add(std::move(callback));
value_type const & value() const
constexpr const char * c_str() const
Implementation of SPI Controller mode.
const StringRef & get_name() const
bool str_equals_case_insensitive(const std::string &a, const std::string &b)
Compare strings for equality in case-insensitive manner.