projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ace084a
)
Ignore .AppleDouble folders inside DCPs.
author
Carl Hetherington
<cth@carlh.net>
Tue, 12 Oct 2021 12:19:13 +0000
(14:19 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 12 Oct 2021 12:19:27 +0000
(14:19 +0200)
src/lib/dcp_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/dcp_content.cc
b/src/lib/dcp_content.cc
index b521234fcacbc1a8a87c472a7f743b08ea7995f4..eb1c5f42c2a3a5b525da1f01fe219fc72ef8e7fd 100644
(file)
--- 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());
}