0.0.11
support cache folder listing for P1 devices add gcode command support
This commit is contained in:
parent
f54ab5c29f
commit
ff58636e41
@ -644,7 +644,7 @@ class BambuPrinter:
|
|||||||
access_code = self._settings.get(["access_code"])
|
access_code = self._settings.get(["access_code"])
|
||||||
|
|
||||||
ftp = IoTFTPSClient(f"{host}", 990, "bblp", f"{access_code}", ssl_implicit=True)
|
ftp = IoTFTPSClient(f"{host}", 990, "bblp", f"{access_code}", ssl_implicit=True)
|
||||||
filelist = ftp.list_files("", ".3mf")
|
filelist = ftp.list_files("", ".3mf") or []
|
||||||
|
|
||||||
for entry in filelist:
|
for entry in filelist:
|
||||||
if entry.startswith("/"):
|
if entry.startswith("/"):
|
||||||
@ -665,7 +665,7 @@ class BambuPrinter:
|
|||||||
result[dosname.lower()] = filename.lower()
|
result[dosname.lower()] = filename.lower()
|
||||||
result[filename.lower()] = data
|
result[filename.lower()] = data
|
||||||
|
|
||||||
filelistcache = ftp.list_files("cache/", ".3mf")
|
filelistcache = ftp.list_files("cache/", ".3mf") or []
|
||||||
|
|
||||||
for entry in filelistcache:
|
for entry in filelistcache:
|
||||||
if entry.startswith("/"):
|
if entry.startswith("/"):
|
||||||
|
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.0.10"
|
plugin_version = "0.0.11"
|
||||||
|
|
||||||
# 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