diff options
| author | Mart Jansink <mart@gofilex.nl> | 2018-02-12 15:38:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-14 23:28:26 +0000 |
| commit | e46ae44d2c7271faf0ae14a1c5b97db6ec457354 (patch) | |
| tree | 17a12c17f59246bcb379997174b15f0bb3d43bea /src/lib/cinema_kdms.cc | |
| parent | e85799ff00274388b87a1492d7d7f401c0d7757d (diff) | |
Make the KDM's id available to the filename format.
Diffstat (limited to 'src/lib/cinema_kdms.cc')
| -rw-r--r-- | src/lib/cinema_kdms.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/cinema_kdms.cc b/src/lib/cinema_kdms.cc index 316deed2f..d4c1017bb 100644 --- a/src/lib/cinema_kdms.cc +++ b/src/lib/cinema_kdms.cc @@ -65,6 +65,7 @@ CinemaKDMs::make_zip_file (boost::filesystem::path zip_file, dcp::NameFormat nam } name_values['s'] = i.screen->name; + name_values['i'] = i.kdm.id (); string const name = name_format.get(name_values, ".xml"); if (zip_add (zip, name.c_str(), source) == -1) { throw runtime_error ("failed to add KDM to ZIP archive"); |
