From fcb32ed8013ed35f179f2dc213df72bc84150d30 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 12 Oct 2021 14:19:13 +0200 Subject: [PATCH] Ignore .AppleDouble folders inside DCPs. --- src/lib/dcp_content.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index b521234fc..eb1c5f42c 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -203,7 +203,7 @@ DCPContent::read_sub_directory (boost::filesystem::path p) if (boost::filesystem::is_regular_file(i.path())) { LOG_GENERAL ("Inside there's regular file %1", i.path().string()); add_path (i.path()); - } else if (boost::filesystem::is_directory (i.path())) { + } else if (boost::filesystem::is_directory(i.path()) && i.path().filename() != ".AppleDouble") { LOG_GENERAL ("Inside there's directory %1", i.path().string()); read_sub_directory (i.path()); } -- 2.30.2