X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_factory.cc;h=c3278e30e1bf02f626f9f77dd6e408f9956acc69;hb=504c63b3d62038bc486ca8a09e77fbb403907edd;hp=e1535c510230f1a9ed9b33e5d775fb9ab5a881ca;hpb=bbee850539c2475e91a9c50a9e1aba741300abf0;p=dcpomatic.git 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 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; }