Baseflow / Baseflow/XamarinMediaManager
Album and Display Image doesn't change
- Dominant language
- C#
- Stars
- 763
- Forks
- 299
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug Report
I am using this package and it is quite well. However, when i want to change the media item display, album and image it doesn't update or change the images. Here is the code.
```
// fileUri = https://www.azee.tech/Dari/001.mp3
var item = (MediaItem)await CrossMediaManager.Current.Extractor.CreateMediaItem(fileUri);
var reciterImageUri = "https://www.azee.tech/sudais.jpg"; // this is the image uri
var image = new Image() { Source = ImageSource.FromUri(new Uri(reciterImageUri)) };
if (item != null)
{
item.Id = string.Format("{0},{1},{2},{3},{4},{5},{6}", (short)mode, chapterId, reciter.ReciterID, playlistId, playlistChapterId, -1, -1);
item.IsMetadataExtracted = false;
item.Title = string.Format("{0} - {1} ({2})", c.ChapterID, c.ArabicEnglishName, c.EnglishName);
item.Album = reciter.Name;
item.Artist = reciter.Name;
//none of these work
item.AlbumImage = image;
item.AlbumImageUri = reciterImageUri;
item.DisplayImage = image;
item.DisplayImageUri = reciterImageUri;
item.Image = image;
item.ImageUri = reciterImageUri;
}
return item;
```
[Image link](https://www.azee.tech/sudais.jpg)
Expected:
Should the change the album and display image.
Actual:
Doesn't change Album or Display image

The media file play works as expected, but the image doesn't change.
I understand this was reported in [#709](https://github.com/Baseflow/XamarinMediaManager/issues/709), but closed without working solution.
Contributor guide
Research direction
Start at CrossMediaManager.Current.Extractor.CreateMediaItem in the reproduction, then review issue #709 for prior context on media image metadata. Reproduce the item updates with the supplied URI and determine why AlbumImage, DisplayImage, and their URI properties do not change; done means the album and display images update during playback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100