earlephilhower / ESP8266Audio

Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
GNU General Public License v3.0
2.01k stars 432 forks source link

ID3 Callback issue #517

Open ahreenah opened 2 years ago

ahreenah commented 2 years ago

Id3 callback is porbably called only once for the track that was opened first. So the second started track is not triggering id3 callback. I've tried re-regisstreing callback. but it doesn't help.

so my code is

      Serial.printf_P(PSTR("Playing '%s' from SD card...\n"), file.name());
      decoder->begin(id3, out);

and my Serial log is

Playing '/LuKakSon.mp3' from SD card...
+0 0x3ffd1d38
ID3 callback for: eof = 'id3'

I'm not sure what +0 0x3ffd1d38 might be? Looks lika some hex number, maybe address

But when I open the next track I see pretty same log but without ID3 callback:

Playing '/diskoteka_80-90_h_russkij_-_bozhja_korovka_-_proshchaj__proshchaj_(zf.fm).mp3' from SD card...
+0 0x3ffd1d38

What cab ne done in this situation?

pradeepspkt commented 1 year ago

did you find solution to this issue?