/*
- Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2017 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
#include "version.h"
#include "emailer.h"
#include "environment_info.h"
+#include <libxml++/libxml++.h>
#include <boost/foreach.hpp>
#include "i18n.h"
using std::list;
using boost::shared_ptr;
-/** @param film Film thta the problem is with, or 0 */
+/** @param film Film thta the problem is with, or 0.
+ * @param from Email address to use for From:
+ * @param summary Summary of the problem.
+ */
SendProblemReportJob::SendProblemReportJob (
shared_ptr<const Film> film,
string from,
body += "---<8----\n\n";
add_file (body, "ffprobe.log");
- add_file (body, "metadata.xml");
+
+ body += "---<8----\n";
+ body += _film->metadata()->write_to_string_formatted("UTF-8");
+ body += "---<8----\n";
}
list<string> to;