prevent [0-9][0-9]m.jpg images from being displayed in #main_display when output_motion is 'on'

7 views
Skip to first unread message

uss.enterpr...@gmail.com

unread,
Sep 16, 2016, 10:06:18 AM9/16/16
to Kmotion support
Kmotion 2.15B

Any help here?  It's pretty annoying.

I've turned output_motion on for tuning despeckle_filter settings and those images whenever created are shown in the main live page of kmotion.
I know that the code is in www/js/index.js but I'm not competent in python.


I've tried the following at different places in index.js.  No luck so far.  Either the display is frozen or no image is shown:

In function set_html and load_rest_callback: "jpeg = jpeg.replace(/m\.jpg/g, '.jpg');"

In function refresh_callback: "if (same || jpeg.search(/m\.jpg/)) {" and "jpeg = jpeg.replace(/m\.jpg/g, '.jpg');"

Reply all
Reply to author
Forward
0 new messages