AudioStreamPlayer doesn't emit its finished() signal after playing a stream from an Audio Playback track

Godot Version

4.2.1

Question

I’ve noticed that, in my project, the AudioStreamPlayer doesn’t emit its finished() signal after playing a stream from an Audio Playback track. Could I be doing something wrong, or is it supposed to be that way?

i think many has encountered this issue, one of the answer is here

you can also just await the length of the audio to know it’s already finished. something like

await get_tree().create_timer(audio.get_length() + .1).timeout

the audio is AudioStream type which is used to play in audio stream player