diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-09 21:49:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-10 19:27:18 +0100 |
| commit | a8bb229f6f67beef856f132de0c0e26d95d265c8 (patch) | |
| tree | f24f39f7274afd02dc8b16f1b6a25fc1e7d50a50 | |
| parent | f04d06bb16e792f66a1dd2f3e277581d1b9c43f9 (diff) | |
Replace %c with nothing in KDM filenames if the cinema is not known.
| -rw-r--r-- | src/lib/screen.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/screen.cc b/src/lib/screen.cc index 6f9e53b45..73ccffdd8 100644 --- a/src/lib/screen.cc +++ b/src/lib/screen.cc @@ -105,6 +105,8 @@ kdm_for_screen ( dcp::NameFormat::Map name_values; if (cinema) { name_values['c'] = cinema->name; + } else { + name_values['c'] = ""; } name_values['s'] = screen->name; name_values['f'] = film->name(); |
