Baseflow / XamarinMediaManager

Cross platform Xamarin plugin to play and control Audio and Video
https://baseflow.com
MIT License
762 stars 305 forks source link

Add fallback delegate to QueueNavigator that allows to provide the media item when it can't be found. #822

Closed janwiebe-jump closed 2 years ago

janwiebe-jump commented 3 years ago

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Workaround for bug

:arrow_heading_down: What is the current behavior?

The app crashes when the media item is null

:new: What is the new behavior (if this is a feature change)?

The delegate is being called, that can provide a media item

:boom: Does this PR introduce a breaking change?

No

:bug: Recommendations for testing

See #753

:memo: Links to relevant issues/docs

See #753

:thinking: Checklist before submitting

martijn00 commented 2 years ago

I've opened the QueueNavigator so you can manually set it yourself

Fahad-Ali-Qureshi commented 2 years ago

I've opened the QueueNavigator so you can manually set it yourself

So how can we handle this bug @martijn00? means how can we use this opened QueueNavigator to resolve this issue? And when this change will be available publicly via NuGet pkg?