diff --git a/src/octoprint/plugins/corewizard/subwizards.py b/src/octoprint/plugins/corewizard/subwizards.py index 42b9ee04e..1aab390c7 100644 --- a/src/octoprint/plugins/corewizard/subwizards.py +++ b/src/octoprint/plugins/corewizard/subwizards.py @@ -37,25 +37,6 @@ class ServerCommandsSubwizard: return gettext("Server Commands") -# noinspection PyUnresolvedReferences,PyMethodMayBeStatic -class WebcamSubwizard: - def _is_webcam_wizard_firstrunonly(self): - return True - - def _is_webcam_wizard_required(self): - webcam_snapshot_url = self._settings.global_get(["webcam", "snapshot"]) - webcam_stream_url = self._settings.global_get(["webcam", "stream"]) - ffmpeg_path = self._settings.global_get(["webcam", "ffmpeg"]) - - return not (webcam_snapshot_url and webcam_stream_url and ffmpeg_path) - - def _get_webcam_wizard_details(self): - return {"required": self._is_webcam_wizard_required()} - - def _get_webcam_wizard_name(self): - return gettext("Webcam & Timelapse") - - # noinspection PyUnresolvedReferences,PyMethodMayBeStatic class AclSubwizard: def _is_acl_wizard_firstrunonly(self): diff --git a/src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2 b/src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2 deleted file mode 100644 index 79342dcd7..000000000 --- a/src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2 +++ /dev/null @@ -1,42 +0,0 @@ -
- If you have a webcam, you may now configure it here. -
{% endtrans %} - -- The Stream URL is the URL OctoPrint uses to embed the - actual webcam stream (which should be an MJPG stream) into the web - interface. This needs to be reachable from your browser. -
- It may be -
http://host:port/path),//host:port/path),/absolute/path) orrelative/path)- The Snapshot URL is the URL OctoPrint uses to fetch single - images from the webcam for creating timelapse recordings. This needs to be - a fully qualified URL reachable from the OctoPrint server. -
{% endtrans %} - - - -- To render the snapshots into timelapse recordings, OctoPrint also needs to - know the correct path to FFMPEG. -
{% endtrans %} - -