X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fcinema_kdms.cc;h=aaeb0d9056f3f89b94b9c62c731b4a8edd7912ef;hb=314db80ccee82ef4854400ee7b4e3f4123ec2ef7;hp=2b6a51e4179a95ac3d0b3727cdcdd641be96963b;hpb=769ce034cbb2f95f01dba3d22f7bd554ecb14f3e;p=dcpomatic.git diff --git a/src/lib/cinema_kdms.cc b/src/lib/cinema_kdms.cc index 2b6a51e41..aaeb0d905 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");