Mini MP3 File Names and File Order For Reliable Play Back, Both GPAD_API and Factory Test

Đang mở
#612 0 bình luận 0 reaction 4 người được giao Xem trên GitHub

@Yukti007 đang làm issue này rồi.

Từ ngày 22/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

documentation

Describe the bug
A clear and concise description of what the bug is.

Short Summary of the expected behavior: I expect the playing of files from the SD card to follow understandable rules

Short Summary of the buggy behavior:

Lee asked an AI the following:

I am wanting to understand better the requirements for file naming for the SD card. I think have read conflicting explanations. One explanation focused on file names numerically incrementing. BUT another explication was that the order in which the files are written into the SD card alone mattered. I have not experimented with files in folder yet.

The AI came back with a plausible explanation which if true will change both our GPAD_API and Factory Test firmware.

https://share.google/aimode/lDzx5wVwoIhba4v0W

Summary of File Requirements

Both of the conflicting explanations you read are actually correct! They just apply to two completely different ways of using the DFPlayer Mini module. Because you haven’t experimented with folders yet, you are likely looking at the root directory of your SD card. The behavior of the TD5580A chip comes down to a fundamental rule: the chip cannot read alphabetical file names; it only knows index numbers. How those index numbers are determined depends entirely on which command style you use in your code.

Bottom Line

  • The instructions for making SD card files in the factory test will have to change.
  • The Factory Test will have to change
  • The GPAD_API will have to change

During the transition I suspect we will have breaking changes.
Perhaps the root folder could continue FOR A LIMITED TIME to have files the old way, the order of written way, and then in organized folders we place files which can be managed by file names.

Ngôn ngữ chính
C++
Star
9
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PubInv/krake

Tất cả issue của PubInv/krake

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.