- _dcp_content_types.push_back (new DCPContentType (_("Feature"), libdcp::FEATURE, N_("FTR")));
- _dcp_content_types.push_back (new DCPContentType (_("Short"), libdcp::SHORT, N_("SHR")));
- _dcp_content_types.push_back (new DCPContentType (_("Trailer"), libdcp::TRAILER, N_("TLR")));
- _dcp_content_types.push_back (new DCPContentType (_("Test"), libdcp::TEST, N_("TST")));
- _dcp_content_types.push_back (new DCPContentType (_("Transitional"), libdcp::TRANSITIONAL, N_("XSN")));
- _dcp_content_types.push_back (new DCPContentType (_("Rating"), libdcp::RATING, N_("RTG")));
- _dcp_content_types.push_back (new DCPContentType (_("Teaser"), libdcp::TEASER, N_("TSR")));
- _dcp_content_types.push_back (new DCPContentType (_("Policy"), libdcp::POLICY, N_("POL")));
- _dcp_content_types.push_back (new DCPContentType (_("Public Service Announcement"), libdcp::PUBLIC_SERVICE_ANNOUNCEMENT, N_("PSA")));
- _dcp_content_types.push_back (new DCPContentType (_("Advertisement"), libdcp::ADVERTISEMENT, N_("ADV")));
+ _dcp_content_types = {
+ DCPContentType(_("Feature"), dcp::ContentKind::FEATURE, N_("FTR")),
+ DCPContentType(_("Short"), dcp::ContentKind::SHORT, N_("SHR")),
+ DCPContentType(_("Trailer"), dcp::ContentKind::TRAILER, N_("TLR")),
+ DCPContentType(_("Test"), dcp::ContentKind::TEST, N_("TST")),
+ DCPContentType(_("Transitional"), dcp::ContentKind::TRANSITIONAL, N_("XSN")),
+ DCPContentType(_("Rating"), dcp::ContentKind::RATING, N_("RTG")),
+ DCPContentType(_("Teaser"), dcp::ContentKind::TEASER, N_("TSR")),
+ DCPContentType(_("Policy"), dcp::ContentKind::POLICY, N_("POL")),
+ DCPContentType(_("Public Service Announcement"), dcp::ContentKind::PUBLIC_SERVICE_ANNOUNCEMENT, N_("PSA")),
+ DCPContentType(_("Advertisement"), dcp::ContentKind::ADVERTISEMENT, N_("ADV")),
+ DCPContentType(_("Episode"), dcp::ContentKind::EPISODE, N_("EPS")),
+ DCPContentType(_("Promo"), dcp::ContentKind::PROMO, N_("PRO"))
+ };