From efcd6d9cd8b3954b41b32cdf83f0ca03e83be9b9 Mon Sep 17 00:00:00 2001 From: das Date: Thu, 12 Nov 2020 15:39:08 +0100 Subject: [PATCH] path patch Raspi bugfixing --- src/MediaServer/MediaServer.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/MediaServer/MediaServer.cpp b/src/MediaServer/MediaServer.cpp index e6f3406..dada7d1 100644 --- a/src/MediaServer/MediaServer.cpp +++ b/src/MediaServer/MediaServer.cpp @@ -1,15 +1,14 @@ #include "MediaServer.h" - - namespace ofx { namespace piMapper { // relative pathss as default, absolute Paths for RASPI - bool absolutePathSwitch = false; #ifdef TARGET_RASPBERRY_PI - absolutePathSwitch = true; + bool absolutePathSwitch = true; + #else + bool absolutePathSwitch = false; #endif MediaServer::MediaServer() : piVideoWatcher(PI_IMAGES_DIR, SourceType::SOURCE_TYPE_VIDEO),