rendered paste body FLAC::Metadata::VorbisComment::Entry NewEntry;
if (!NewEntry.set_field_name(Name.String().c_str()))
{
std::stringstream os;
os << "Error setting field name: '" << Name.String() << "'";
CErrorLog::Log(os.str());
}
if (!NewEntry.set_field_value(Value.c_str(),Value.length()))
{
std::stringstream os;
os << "Error setting field value: '" << Value << "' for '" << Name.String() << "'";
CErrorLog::Log(os.str());
}
if (!m_TagBlock->insert_comment(m_TagBlock->get_num_comments(),NewEntry))
{
std::stringstream os;
os << "Error inserting comment: '" << Value << "' for '" << Name.String() << "'";
CErrorLog::Log(os.str());
}