You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which API doesn't behave as documented, and how does it misbehave?
The playerStateStream in the just_audio package is not updating the playing state to false after a playlist has completed. It remains true even though the processingState is correctly set to ProcessingState.completed.
Minimal reproduction project
The example
To Reproduce (i.e. user steps, not code)
Run the example_playlist.dart example with break point at line 364 (Commit: b5fad79)
Select the last item in the playlist.
Wait for the item to complete playback.
Observe that the playerStateStream shows playing=true and processingState=ProcessingState.completed.
Error messages
No errors
Expected behavior
After the last item in a playlist completes playback, the playerStateStream should update to show playing=false and processingState=ProcessingState.completed
Desktop (please complete the following information):
not tested
Smartphone (please complete the following information):
Device: moto g04s
OS: Android 14
Flutter SDK version
[√] Flutter (Channel stable, 3.24.2)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
The text was updated successfully, but these errors were encountered:
Which API doesn't behave as documented, and how does it misbehave?
The
playerStateStream
in the just_audio package is not updating theplaying
state tofalse
after a playlist has completed. It remains true even though theprocessingState
is correctly set toProcessingState.completed
.Minimal reproduction project
The example
To Reproduce (i.e. user steps, not code)
example_playlist.dart
example with break point at line364
(Commit: b5fad79)playing=true
andprocessingState=ProcessingState.completed
.Error messages
Expected behavior
After the last item in a playlist completes playback, the
playerStateStream
should update to showplaying=false
andprocessingState=ProcessingState.completed
Desktop (please complete the following information):
Smartphone (please complete the following information):
Flutter SDK version
The text was updated successfully, but these errors were encountered: