-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling 'playQueueItem' immediately after changing the queue doesn't play, immediately resets queue when play called again later #856
Comments
Quick update - can confirm that this isn't an issue running on iOS. |
i am having the same issue on Android only. on iOS it is working fine. |
same issue on android
|
Same exact behavior on my end too (Android app) |
same here, I tried the overloaded |
It might be caused by this line, but I'm unsure why: The queue of the MediaController is empty at this point, so that's might be why it cannot jump to the specified queue item. |
This doesn't work for me. I have no clue how to fix this, I hope someone else does, or has a workaround. |
Old issue, but I found it's due to the Transport Controls not being prepared. Adding this at line 302 fix it for me. |
@szurgot Would you mind creating a PR for this, please? |
@arahmancsd Here's the PR to fix this issue. #910 |
I tried adding the above PR but it still didn't work, playing a queue and then trying to play an item in that queue still results in the first item being played. |
Same on my end. Fix doesn't work. Queue is playing the first time. After Pause and call PlayQueueItem(idx) again, nothing happens. |
🐛 Bug Report
Running the latest version of XamarinMediaManager, loading a queue and playing a song in the queue other than the first one is not behaving as expected. Calling 'PlayQueueItem' changes the 'current' item but it does not play. Calling 'play' later causes the current item to reset back to the first item in the queue.
Expected behavior
I would assume 'PlayQueueItem' would immediately start playing the song in the location in the queue specified.
Reproduction steps
This will cause the current item to change but nothing will play. Calling
CrossMediaManager.Current.Play()
later will reset the queue.Configuration
Xamarin.Forms 5.0.0.2337
Xamarin Essentials 1.7.1
Plugin.MediaManager 1.1.0
Version: 1.x
Platform:
The text was updated successfully, but these errors were encountered: