Skip to content

Commit

Permalink
Add missing load case for updating shuffle indices.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanheise committed Nov 17, 2022
1 parent 47e703d commit bbd53d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions just_audio_background/lib/just_audio_background.dart
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ class _PlayerAudioHandler extends BaseAudioHandler

Future<LoadResponse> customLoad(LoadRequest request) async {
_source = request.audioSourceMessage;
_updateShuffleIndices();
_updateQueue();
final response = await (await _player).load(LoadRequest(
audioSourceMessage: _source!,
Expand Down

0 comments on commit bbd53d9

Please sign in to comment.