summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-12 14:19:13 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-12 14:19:27 +0200
commitfcb32ed8013ed35f179f2dc213df72bc84150d30 (patch)
tree8e9cbf23a24d46b86521476d5b61fadc66ffca34 /src/lib/dcp_content.cc
parentace084a4b7595deea9d2bd019e9123a76a0fa1a9 (diff)
Ignore .AppleDouble folders inside DCPs.
Diffstat (limited to 'src/lib/dcp_content.cc')
-rw-r--r--src/lib/dcp_content.cc2
1 files changed, 1 insertions, 1 deletions
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());
}