Baseflow / XamarinMediaManager

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

PlayingNext() doesnt work on Android and Play works only on iOS #889

Open Novotnde opened 1 year ago

Novotnde commented 1 year ago

Hello i have been experiencing some issues with playing from queue on Android and iOS.

[CrossMediaManager.Current.AutoPlay = false;
CrossMediaManager.Current.ClearQueueOnPlay = false;
CrossMediaManager.Current.RepeatMode = RepeatMode.Off;
_mediaItem = new MediaItem(filename);
_mediaItem.Album = detail.Name;
_mediaItem.AlbumArtist = detail.Narrator;
CrossMediaManager.Current.Queue.Add(_mediaItem);
//CrossMediaManager.Current.PlayNext(); - works only on ios 
await CrossMediaManager.Current.Play(); - works only on android 

Configuration

Version: 1.1.1

Platform: iOS Android