Skip to content

Commit

Permalink
fix: playing files containing # or ? in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
MSOB7YY committed Oct 30, 2023
1 parent a900a2a commit ef6e809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/controller/audio_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ class NamidaAudioVideoHandler<Q extends Playable> extends BasicAudioHandler<Q> {
extension TrackToAudioSourceMediaItem on Selectable {
UriAudioSource toAudioSource(int currentIndex, int queueLength) {
return AudioSource.uri(
Uri.parse(track.path),
Uri.file(track.path),
tag: toMediaItem(currentIndex, queueLength),
);
}
Expand Down

0 comments on commit ef6e809

Please sign in to comment.