[GH-ISSUE #405] [Bug]: P1S not attaching timelapse videos because of the format #255

Closed
opened 2026-05-06 12:27:36 +02:00 by BreizhHardware · 4 comments

Originally created by @Bgabor997 on GitHub (Feb 16, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/405

Originally assigned to: @maziggy on GitHub.

Bug Description

Hello!

I spent some time debugging why Bambuddy not attaching timelapse videos for archives, and i think i finally figured.
Printer is in LAN only mode and Developer mode enabled!

I have a P1S printer, and as i read the P serie save timelapse videos in avi format:

Image

I searched a bit in the code, and found this block what makes me think it only searches mp4 files. (sorry if wrong block of code, I'm not python expert)

# Look for matching timelapse
    matching_file = None
    mp4_files = [f for f in files if not f.get("is_directory") and f.get("name", "").endswith(".mp4")]

Expected Behavior

I would like to use the timelapse functionallity with my P1S too
If i convert an avi timelapse to mp4, and upload via FTP, i can attach it to an archive btw.

Image

Steps to Reproduce

  1. Go to Archives
  2. Right Click to any printed file
  3. Scan for Timelapse
Image

Printer Model

P1S

Bambuddy Version

0.1.9, 0.1.9b, 0.2.0b

Printer Firmware Version

01.07,00,00

Installation Method

Manual (git clone)

Operating System

Linux (Ubuntu/Debian)

Relevant Logs / Support Package

https://workupload.com/file/VXLPvqYZg45

Screenshots

No response

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
Originally created by @Bgabor997 on GitHub (Feb 16, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/405 Originally assigned to: @maziggy on GitHub. ### Bug Description Hello! I spent some time debugging why Bambuddy not attaching timelapse videos for archives, and i think i finally figured. Printer is in LAN only mode and Developer mode enabled! I have a P1S printer, and as i read the P serie save timelapse videos in avi format: <img width="871" height="330" alt="Image" src="https://github.com/user-attachments/assets/d9ae2121-f4f0-4dbc-ac03-557feb57318e" /> I searched a bit in the code, and found this block what makes me think it only searches mp4 files. (sorry if wrong block of code, I'm not python expert) ```python # Look for matching timelapse matching_file = None mp4_files = [f for f in files if not f.get("is_directory") and f.get("name", "").endswith(".mp4")] ``` ### Expected Behavior I would like to use the timelapse functionallity with my P1S too If i convert an avi timelapse to mp4, and upload via FTP, i can attach it to an archive btw. <img width="518" height="130" alt="Image" src="https://github.com/user-attachments/assets/b6a0f3e2-d93a-4169-8288-b492e42bd2b3" /> ### Steps to Reproduce 1. Go to Archives 2. Right Click to any printed file 3. Scan for Timelapse <img width="518" height="130" alt="Image" src="https://github.com/user-attachments/assets/bc175226-8693-4dc6-82d5-4490247fae79" /> ### Printer Model P1S ### Bambuddy Version 0.1.9, 0.1.9b, 0.2.0b ### Printer Firmware Version 01.07,00,00 ### Installation Method Manual (git clone) ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs / Support Package ```shell https://workupload.com/file/VXLPvqYZg45 ``` ### Screenshots _No response_ ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode
BreizhHardware 2026-05-06 12:27:36 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@maziggy commented on GitHub (Feb 17, 2026):

Fixed in branch 0.2.0b. Please let me know if it works now for you.

<!-- gh-comment-id:3912815241 --> @maziggy commented on GitHub (Feb 17, 2026): Fixed in branch 0.2.0b. Please let me know if it works now for you.
Author
Owner

@Bgabor997 commented on GitHub (Feb 17, 2026):

i pulled 0.2.0b (manually installed version on debian) since that i have this error in logs:

Feb 17 09:04:56 bambuddy uvicorn[611]: 2026-02-17 09:04:56,342 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False)
Feb 17 09:04:58 bambuddy uvicorn[611]: 2026-02-17 09:04:58,109 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False)
Feb 17 09:04:59 bambuddy uvicorn[611]: 2026-02-17 09:04:59,871 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False)
Feb 17 09:05:01 bambuddy uvicorn[611]: 2026-02-17 09:05:01,639 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False)
Feb 17 09:05:03 bambuddy uvicorn[611]: 2026-02-17 09:05:03,394 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False)

and can't connect to my printer, if i switch back to 0.1.9b it works fine

<!-- gh-comment-id:3912980868 --> @Bgabor997 commented on GitHub (Feb 17, 2026): i pulled 0.2.0b (manually installed version on debian) since that i have this error in logs: ``` Feb 17 09:04:56 bambuddy uvicorn[611]: 2026-02-17 09:04:56,342 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False) Feb 17 09:04:58 bambuddy uvicorn[611]: 2026-02-17 09:04:58,109 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False) Feb 17 09:04:59 bambuddy uvicorn[611]: 2026-02-17 09:04:59,871 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False) Feb 17 09:05:01 bambuddy uvicorn[611]: 2026-02-17 09:05:01,639 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False) Feb 17 09:05:03 bambuddy uvicorn[611]: 2026-02-17 09:05:03,394 WARNING [backend.app.services.bambu_mqtt] [01P00C531501555] MQTT disconnected: rc=Unspecified error, flags=DisconnectFlags(is_disconnect_packet_from_server=False) ``` and can't connect to my printer, if i switch back to 0.1.9b it works fine
Author
Owner

@maziggy commented on GitHub (Feb 17, 2026):

Uhhh...right....forgot to change one thing. Sorry for that! Fixed in branch 0.2.0b.

<!-- gh-comment-id:3913068993 --> @maziggy commented on GitHub (Feb 17, 2026): Uhhh...right....forgot to change one thing. Sorry for that! Fixed in branch 0.2.0b.
Author
Owner

@Bgabor997 commented on GitHub (Feb 17, 2026):

works like charm, thank you for the fix and the quick response

<!-- gh-comment-id:3913236389 --> @Bgabor997 commented on GitHub (Feb 17, 2026): works like charm, thank you for the fix and the quick response
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#255
No description provided.