From a2b3ee451bdfbaa07026553daf64a378c39d90e2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 1 Oct 2025 00:30:00 +0200 Subject: Allow film audio analysis without a _directory. --- src/lib/film.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/film.cc b/src/lib/film.cc index 9a8d36072..c6a6f3cce 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -296,7 +296,13 @@ Film::info_file(DCPTimePeriod period) const boost::filesystem::path Film::audio_analysis_path(shared_ptr playlist) const { - auto p = dir("analysis"); + boost::filesystem::path p; + + if (_directory) { + p = dir("analysis"); + } else { + p = boost::filesystem::temp_directory_path(); + } Digester digester; for (auto content: playlist->content()) { -- cgit v1.2.3