From 2ff11f911be705b33c272cee0c8a42594e7bcd84 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 4 May 2017 11:57:16 +0100 Subject: Nag about saving metadata.xml and DCP XMLs when making an encrypted DCP. --- src/tools/dcpomatic.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/tools') diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 1ced8923b..eca9d2689 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -497,6 +497,16 @@ private: } } + if (_film->encrypted ()) { + NagDialog::maybe_nag ( + this, + Config::NAG_ENCRYPTED_METADATA, + _("You are making an encrypted DCP. It will not be possible to make KDMs for this DCP unless you have copies of " + "the metadata.xml file within the film and the metadata files within the DCP.\n\n" + "You should ensure that these files are BACKED UP " + "if you want to make KDMs for this film.") + ); + } /* Remove any existing DCP if the user agrees */ boost::filesystem::path const dcp_dir = _film->dir (_film->dcp_name(), false); -- cgit v1.2.3