6 namespace media_player {
8 static const char *
const TAG =
"media_player";
52 ESP_LOGW(TAG,
"MediaPlayerCall: Setting both command and media_url is not needed.");
58 ESP_LOGW(TAG,
"MediaPlayerCall: Volume must be between 0.0 and 1.0.");
69 ESP_LOGD(TAG,
" Command: %s", command_s);
105 ESP_LOGW(TAG,
"'%s' - Unrecognized command %s", this->
parent_->
get_name().
c_str(), command.c_str());
126 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.