summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-05-04 11:57:16 +0100
committerCarl Hetherington <cth@carlh.net>2017-05-04 11:57:16 +0100
commit2ff11f911be705b33c272cee0c8a42594e7bcd84 (patch)
tree70b3f2cb3a48c7879ebbcd8870220c36e3420e02 /src/tools
parentbb80004d3201047a33dd251ea6c3f6de2b47cb3b (diff)
Nag about saving metadata.xml and DCP XMLs when making an encrypted DCP.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic.cc10
1 files changed, 10 insertions, 0 deletions
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 <tt>metadata.xml</tt> file within the film and the metadata files within the DCP.\n\n"
+ "You should ensure that these files are <span weight=\"bold\" size=\"larger\">BACKED UP</span> "
+ "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);