diff --git a/src/MediaServer/DirectoryWatcher.h b/src/MediaServer/DirectoryWatcher.h index 7ba5fa5..1df5710 100644 --- a/src/MediaServer/DirectoryWatcher.h +++ b/src/MediaServer/DirectoryWatcher.h @@ -27,6 +27,9 @@ class VideoPathFilter : public BasePathFilter { VideoPathFilter(){} virtual ~VideoPathFilter(){} + // TODO: Make Raspi load only mp4s (and mov and h264?) + // How to detect codec? Read file headers? + bool accept(const Poco::Path & path) const { return !Poco::File(path).isHidden() && (ofIsStringInString(path.toString(), ".mp4") ||