From: Carl Hetherington Date: Wed, 6 May 2020 18:14:46 +0000 (+0200) Subject: Ignore screen specifier when making containers. X-Git-Tag: v2.15.72~6^2~5 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=bcb5a3f8bc060240db5573ded03e1a0521977207 Ignore screen specifier when making containers. --- diff --git a/src/lib/kdm_with_metadata.cc b/src/lib/kdm_with_metadata.cc index f8718386f..08b6dbbab 100644 --- a/src/lib/kdm_with_metadata.cc +++ b/src/lib/kdm_with_metadata.cc @@ -146,7 +146,7 @@ write_directories ( BOOST_FOREACH (list const & i, cinema_kdms) { boost::filesystem::path path = directory; - path /= container_name_format.get(i.front()->name_values(), ""); + path /= container_name_format.get(i.front()->name_values(), "", "s"); if (!boost::filesystem::exists (path) || confirm_overwrite (path)) { boost::filesystem::create_directories (path); write_files (i, path, filename_format, confirm_overwrite); @@ -172,7 +172,7 @@ write_zip_files ( BOOST_FOREACH (list const & i, cinema_kdms) { boost::filesystem::path path = directory; - path /= container_name_format.get(i.front()->name_values(), ".zip"); + path /= container_name_format.get(i.front()->name_values(), ".zip", "s"); if (!boost::filesystem::exists (path) || confirm_overwrite (path)) { if (boost::filesystem::exists (path)) { /* Creating a new zip file over an existing one is an error */