From 1cc8ba5ae432f6e965e2b0961e55bf4d4f7d42e9 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sat, 26 Nov 2016 14:11:55 +0100 Subject: [PATCH] Add some todos --- src/MediaServer/DirectoryWatcher.h | 3 +++ 1 file changed, 3 insertions(+) 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") ||