Skip to content

getFolderTrackCount plays file in that folder #149

@sferni

Description

@sferni

When i call the getFolderTrackCount method, a track from that folder is being played for a split second.
This also happens when i insert the SD Card.
I have a MH2024K-24SS from AZ Delivery, bought last week.
I noticed this also happens with other libraries, when i try to get the folder track count.

This is the debug output from the PlayRandom Sketch where i just commented out the dfmp3.playRandomTrackFromAll() and called getFolderTrackCount(0) exactly one time:

initializing...
OUT  7e ff 06 0c 01 00 00 fe ee ef
IN  7e ff 06 41 00 00 00 fe ba ef
IN  7e ff 06 3f 00 00 02 fe ba ef
SD Card, online
OUT  7e ff 06 46 00 00 00 fe b5 ef
OUT  7e ff 06 46 00 00 00 fe b5 ef
OUT  7e ff 06 46 00 00 00 fe b5 ef
version 0
OUT  7e ff 06 43 00 00 00 fe b8 ef
IN  7e ff 06 43 00 00 1e fe 9a ef
volume 30
OUT  7e ff 06 06 01 00 02 fe f2 ef
IN  7e ff 06 41 00 00 00 fe ba ef
OUT  7e ff 06 48 00 00 00 fe b3 ef
IN  7e ff 06 48 00 00 06 fe ad ef
files 6
OUT  7e ff 06 45 00 00 00 fe b6 ef
IN  7e ff 06 45 00 00 05 fe b1 ef
playback mode 5
starting...
OUT  7e ff 06 4e 00 00 00 fe ad ef
IN  7e ff 06 4e 00 00 02 fe ab ef

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions