mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 19:21:33 +02:00
When a print was queued from the file manager (library_file_id path), the scheduler never created an archive or called register_expected_print(). This forced on_print_start to re-download the 3MF via FTP, and if that failed, a fallback archive with no file was created — breaking 3MF-based filament usage tracking entirely. The queue item's archive_id also stayed NULL, so the usage tracker couldn't find the AMS slot mapping. Now the scheduler creates an archive from the library file before uploading, sets item.archive_id, and the existing register_expected_print() call fires since archive is no longer None.