Fix default filename formats.
authorCarl Hetherington <cth@carlh.net>
Tue, 16 Aug 2016 21:59:11 +0000 (22:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 16 Aug 2016 21:59:11 +0000 (22:59 +0100)
src/lib/config.cc

index 5df45ea082854d36ccf04cf0f2e91d53d4279d5b..4184a7d1d53aab035368ffef2220156b33bb26f4 100644 (file)
@@ -296,8 +296,8 @@ try
        _cinemas_file = f.optional_string_child("CinemasFile").get_value_or (path ("cinemas.xml").string ());
        _show_hints_before_make_dcp = f.optional_bool_child("ShowHintsBeforeMakeDCP").get_value_or (true);
        _kdm_filename_format = dcp::NameFormat (f.optional_string_child("KDMFilenameFormat").get_value_or ("KDM %f %c %s"));
-       _dcp_metadata_filename_format = dcp::NameFormat (f.optional_string_child("DCPMetadataFilenameFormat").get_value_or ("%t_%i"));
-       _dcp_asset_filename_format = dcp::NameFormat (f.optional_string_child("DCPAssetFilenameFormat").get_value_or ("%t_%i"));
+       _dcp_metadata_filename_format = dcp::NameFormat (f.optional_string_child("DCPMetadataFilenameFormat").get_value_or ("%t"));
+       _dcp_asset_filename_format = dcp::NameFormat (f.optional_string_child("DCPAssetFilenameFormat").get_value_or ("%t"));
 
        /* Replace any cinemas from config.xml with those from the configured file */
        if (boost::filesystem::exists (_cinemas_file)) {