0.1.6
* replace 0 with 1 bytes during reporting print status to trigger state change in OctoPrint sooner.
This commit is contained in:
parent
c00285b1b2
commit
03af51608d
@ -580,8 +580,9 @@ class BambuVirtualPrinter:
|
|||||||
|
|
||||||
def report_print_job_status(self):
|
def report_print_job_status(self):
|
||||||
if self.current_print_job is not None:
|
if self.current_print_job is not None:
|
||||||
|
file_position = 1 if self.current_print_job.file_position == 0 else self.current_print_job.file_position
|
||||||
self.sendIO(
|
self.sendIO(
|
||||||
f"SD printing byte {self.current_print_job.file_position}"
|
f"SD printing byte {file_position}"
|
||||||
f"/{self.current_print_job.file_info.size}"
|
f"/{self.current_print_job.file_info.size}"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
2
setup.py
2
setup.py
@ -14,7 +14,7 @@ plugin_package = "octoprint_bambu_printer"
|
|||||||
plugin_name = "OctoPrint-BambuPrinter"
|
plugin_name = "OctoPrint-BambuPrinter"
|
||||||
|
|
||||||
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
|
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
|
||||||
plugin_version = "0.1.5"
|
plugin_version = "0.1.6"
|
||||||
|
|
||||||
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
|
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
|
||||||
# module
|
# module
|
||||||
|
Loading…
x
Reference in New Issue
Block a user