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