File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -418,11 +418,13 @@ begin
418418 if Pos(' go2rtc' , ANSIStr) = 0 then
419419 begin
420420 ANSIStr := ANSIStr + #13 #10 + ' plugins:' ;
421+ ANSIStr := ANSIStr + #13 #10 + ' _disabled:' ;
422+ ANSIStr := ANSIStr + #13 #10 + ' - classicwebcam' ;
421423 ANSIStr := ANSIStr + #13 #10 + ' go2rtc:' ;
424+ ANSIStr := ANSIStr + #13 #10 + ' server_url: http://' + ip_address_list[go2rtcSelectIP.SelectedValueIndex] + ' :1984' ;
425+ ANSIStr := ANSIStr + #13 #10 + ' is_valid_url: true' ;
426+ SaveStringToFile(ExpandConstant(OctoPrintBasedir + ' \config.yaml' ), ANSIStr, False);
422427 end ;
423- ANSIStr := ANSIStr + #13 #10 + ' server_url: http://' + ip_address_list[go2rtcSelectIP.SelectedValueIndex] + ' :1984' ;
424- ANSIStr := ANSIStr + #13 #10 + ' is_valid_url: true' ;
425- SaveStringToFile(ExpandConstant(OctoPrintBasedir + ' \config.yaml' ), ANSIStr, False);
426428 end ;
427429end ;
428430
You can’t perform that action at this time.
0 commit comments