kr15h / ofxPiMapper

Projection mapping addon for openFrameworks that works on the Raspberry Pi
http://ofxpimapper.com
Other
461 stars 93 forks source link

is it possible to disable MediaServer? #135

Open stephanschulz opened 6 years ago

stephanschulz commented 6 years ago

I'm planning to use your add-on to show a couple of live camera feeds. This means I will not need the MediaServer to constantly check the directories for new media. Is there a way to disable the imageWatcher.beginWatch(); ?

thx

[ error ] ofDirectory: listDir:() source directory does not exist: ""/boot/ofxpimapper/sources/images/""
[ error ] ofDirectory: listDir:() source directory does not exist: ""/boot/ofxpimapper/sources/images/""
[ error ] ofDirectory: listDir:() source directory does not exist: ""/media/usb0/""
[ error ] ofDirectory: listDir:() source directory does not exist: ""/media/usb0/""
[ error ] ofDirectory: listDir:() source directory does not exist: ""/media/usb1/""
[ error ] ofDirectory: listDir:() source directory does not exist: ""/media/usb1/""
[ error ] ofDirectory: listDir:() source directory does not exist: ""/media/usb2/""
[ error ] ofDirectory: listDir:() source directory does not exist: ""/media/usb2/""
[ error ] ofDirectory: listDir:() source directory does not exist: ""/media/usb3/""
[ error ] ofDirectory: listDir:() source directory does not exist: ""/media/usb3/""
kr15h commented 6 years ago

Yes, I plan to remove these checks since the watching was introduced with the slideshow source which I believe should stay as custom functionality.

stephanschulz commented 6 years ago

agreed would be great to have a bool to toggle this option. I forked your project. any advice where to properly place this toggle?

kr15h commented 6 years ago

Have to dive into it... Hold on a bit.