Open pcdus opened 3 years ago
Finally I've found a way to manage this on iOS with MediaItem_PropertyChanged
:
Source = await CrossMediaManager.Current.Play(radioUrl);
Source.PropertyChanged += MediaItem_PropertyChanged;
private void MediaItem_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == nameof(Source.Artist))
{
CurrentArtist = Source.Artist;
}
if (e.PropertyName == nameof(Source.Title))
{
CurrentTitle = Source.Title;
}
}
However this doesn't work for Android: is it normal?
Hello, is there any news about this issue?
I just did some tests with the latest version but this doesn't change anything on Android.
Hello,
I would like to know how metadata are recovered from a a webradio?
I play an audio stream from an URL with:
var mediaItem = await CrossMediaManager.Current.Play(radioUrl);
I also use:
and:
But these events are never raised.
However, if I push the app in background and I display the native iOS player, the title and artist are well recovered.
How is it possible? Can I recover these data in the app?