summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-03-01 20:05:46 +0000
committerCarl Hetherington <cth@carlh.net>2016-03-01 20:05:46 +0000
commitfc487d8428b5cf7b05c5c2586341c714c8e8db32 (patch)
tree07aec4c591d12cc44e16180bf62002cd66b4eabe /src/lib
parent2383ca831a84c358302459f1e4461f887e69535a (diff)
parenta5bb775f62a7d0925c830b1e0404d49f998109ca (diff)
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/content_factory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc
index e1535c510..c3278e30e 100644
--- a/src/lib/content_factory.cc
+++ b/src/lib/content_factory.cc
@@ -101,9 +101,9 @@ content_factory (shared_ptr<const Film> film, boost::filesystem::path path)
LOG_GENERAL ("Checking file %1", i->path());
- if (boost::starts_with (i->path().leaf().string(), "._")) {
+ if (boost::starts_with (i->path().leaf().string(), "._") || i->path().leaf().string() == ".DS_Store") {
/* We ignore these files */
- LOG_GENERAL ("Ignored %1 (starts with {._})", i->path());
+ LOG_GENERAL ("Ignored %1 (starts with {._}, or .DS_Store)", i->path());
continue;
}