Progress on radio implementation

This commit is contained in:
2021-10-03 13:54:54 +02:00
parent fbb65a039a
commit 32d3610b07
4 changed files with 215 additions and 58 deletions

View File

@ -364,7 +364,14 @@ namespace unison
else
{
using MemoryStream stream = new MemoryStream(data.ToArray());
_cover = BitmapFrame.Create(stream, BitmapCreateOptions.None, BitmapCacheOption.OnLoad);
try
{
_cover = BitmapFrame.Create(stream, BitmapCreateOptions.None, BitmapCacheOption.OnLoad);
}
catch (System.NotSupportedException e)
{
_cover = null;
}
}
UpdateCover();
}