Remove use of Film in KDM stuff.
[dcpomatic.git] / src / tools / dcpomatic_kdm_cli.cc
index 713db3ce558e4982740b01ca43ef6cda47bb1a98..aa3022c30a5c205edb037732b62befc9ee108f46 100644 (file)
@@ -282,13 +282,13 @@ int main (int argc, char* argv[])
                                );
 
                        if (zip) {
-                               CinemaKDMs::write_zip_files (film, CinemaKDMs::collect (screen_kdms), output);
+                               CinemaKDMs::write_zip_files (film->name(), CinemaKDMs::collect (screen_kdms), output);
 
                                if (verbose) {
                                        cout << "Wrote ZIP files to " << output << "\n";
                                }
                        } else {
-                               ScreenKDM::write_files (film, screen_kdms, output);
+                               ScreenKDM::write_files (film->name(), screen_kdms, output);
 
                                if (verbose) {
                                        cout << "Wrote KDM files to " << output << "\n";