From 3d0cc26147a23c8de6c9ecc105cf4042ce6a4df7 Mon Sep 17 00:00:00 2001 From: jneilliii Date: Mon, 12 Feb 2024 21:35:09 -0500 Subject: [PATCH] 0.0.12 fix issue with last PR that broke the ability to recognize currently printing file. --- octoprint_bambu_printer/virtual.py | 3 +-- setup.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/octoprint_bambu_printer/virtual.py b/octoprint_bambu_printer/virtual.py index 13dcd53..c864f64 100644 --- a/octoprint_bambu_printer/virtual.py +++ b/octoprint_bambu_printer/virtual.py @@ -171,8 +171,7 @@ def new_update(self, event_type): self._sdPrintingPausedSemaphore.clear() self._sdPrintStarting = False if not self._sdPrinting: - filename = print_job.get("gcode_file") - # TODO: swap this out to use 8 dot 3 name based on long name/path + filename = print_job.get("subtask_name") self._selectSdFile(filename) self._startSdPrint(from_printer=True) diff --git a/setup.py b/setup.py index d8c283e..5a7d739 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ plugin_name = "OctoPrint-BambuPrinter" # The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module -plugin_version = "0.0.11" +plugin_version = "0.0.12" # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # module