DFMiniMp3 icon indicating copy to clipboard operation
DFMiniMp3 copied to clipboard

faulty package at platform IO

Open kaktus42 opened this issue 1 year ago • 3 comments

I installed the library via PlatformIO (https://registry.platformio.org/libraries/makuna/DFPlayer%20Mini%20Mp3%20by%20Makuna, using makuna/DFPlayer Mini Mp3 by Makuna@^1.2.0) and had to realize that it's not the current version of the code. I found it from the fact that the function void begin(int8_t rxPin, int8_t txPin, unsigned long baud = 9600) was missing.

I don't know how you do the deployment to there, but maybe you should double check. For now I use the source from the github release (in that tar.gz it's still correct) in the projects lib folder.

kaktus42 avatar Apr 15 '23 17:04 kaktus42

What version were you seeing? You can look at the root of the library location and read it from the library.json file.

Note that I do not publish versions to their registry. They have a library scraper that runs and automatically updates their information based on the GitHub releases (and the library.json file). Their scraper must have hit a glitch.

Note: I do not specifically support platform IO beyond making sure the library.json is updated.

Makuna avatar Apr 15 '23 17:04 Makuna

sorry for the late reply. There is no library.json, just a library.properties.

Screenshot_2023-05-19_02-41-32

kaktus42 avatar May 19 '23 00:05 kaktus42

My Github does have both and they state they use a scraper so it should be updating. You may want to contact them that a library is not being updated by their scraper.

Makuna avatar May 19 '23 14:05 Makuna