File tree 2 files changed +2
-1
lines changed
octoprint_bettergrblsupport
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -978,6 +978,7 @@ def get_update_information(self):
978
978
# can be overwritten via __plugin_xyz__ control properties. See the documentation for that.
979
979
980
980
__plugin_name__ = 'Better Grbl Support'
981
+ __plugin_pythoncompat__ = ">=2.7,<4"
981
982
982
983
def __plugin_load__ ():
983
984
global __plugin_implementation__
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ $(function() {
202
202
var streamImg = document . getElementById ( "webcam_image_framing" ) ;
203
203
204
204
if ( current == "#tab_plugin_bettergrblsupport" ) {
205
- streamImg . src = "/ webcam/?action=stream& " + Math . floor ( Math . random ( ) * 1000000 ) ; ;
205
+ streamImg . src = self . settings . settings . webcam . streamUrl ( ) + "&nonce= " + Math . floor ( Math . random ( ) * 1000000 ) ;
206
206
} else if ( previous == "#tab_plugin_bettergrblsupport" ) {
207
207
streamImg . src = "about:blank" ;
208
208
}
You can’t perform that action at this time.
0 commit comments