dcp::NameFormat::Map name_values;
name_values['f'] = kdm.content_title_text();
+ name_values['r'] = recipient.name;
name_values['i'] = kdm.cpl_id();
return make_shared<KDMWithMetadata>(name_values, CinemaID(0), recipient.emails, kdm);
add_label_to_sizer(table, this, _("Filename format"), true, 0, wxALIGN_TOP | wxTOP | wxLEFT | wxRIGHT);
dcp::NameFormat::Map titles;
titles['f'] = wx_to_std(_("film name"));
+ titles['r'] = wx_to_std(_("recipient name"));
dcp::NameFormat::Map ex;
ex['f'] = "Bambi";
+ ex['r'] = "Pathé";
_filename_format = new NameFormatEditor(this, Config::instance()->dkdm_filename_format(), titles, ex, ".xml");
table->Add(_filename_format->panel(), 1, wxEXPAND);