Add some more logging when reading DCPs.
authorCarl Hetherington <cth@carlh.net>
Sat, 23 Jul 2022 14:52:38 +0000 (16:52 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 23 Jul 2022 14:52:38 +0000 (16:52 +0200)
src/lib/dcp_content.cc

index 2e89adff0421d43228afa5698557fb1327a425d7..28d3e33193db0a1b35a6af33ddf8072da706a463 100644 (file)
@@ -206,6 +206,8 @@ DCPContent::read_sub_directory (boost::filesystem::path p)
                } 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());
                } 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());
+               } else {
+                       LOG_GENERAL("Ignoring %1 from inside", i.path().string());
                }
        }
 }
                }
        }
 }