- January 12, 2020
- 11
- 15
- Home Country
- Germany
[2020-01-13 12:38:13,191] [Log ] [MPMain ] [DEBUG] - TextureManagerEx: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Deadwood\Thumbnails\-langen-seasons/16362-2-2_t.jpg]
[2020-01-13 12:38:13,862] [Log ] [MPMain ] [DEBUG] - TextureManagerEx: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Deadwood\Thumbnails\-langen-seasons/16362-2_t.jpg]
[2020-01-13 12:38:16,908] [Error ] [151 ] [ERROR] - MediaPortal: Unhandled exception occured
[2020-01-13 12:38:16,928] [Log ] [151 ] [ERROR] - Exception: System.OutOfMemoryException: Gdiplus Out Of Memory
2020-01-13 12:38:16.874 [INFO][134]: Starting download of artwork from 'https://thetvdb.com/banners/seasons/16362-2.jpg'
bei WindowPlugins.GUITVSeries.GUI.GUIArtworkChooser.DownloadFileCompleted(Object sender, AsyncCompletedEventArgs e) in C:\Development\mptvseries\MP-TVSeries\GUI\GUIArtworkChooser.cs:Zeile 2431.
MediaPortal.Util.ImageFast.FromFile(String filename)
Yes but i dont see this line in log:The file completed downloaded as seen in callstack
MPTVSeriesLog.Write( $"Completed download of artwork '{lArtwork.LocalPath.Replace("/",@"\")}'" );
What for? If the file already exists and it is local, then GUI Image will download it and even try to cache it ...I then try to load the file in MediaPortal:
if (_memoryImageWidth != 0 && _memoryImageHeight != 0)
{
var bitmap = new Bitmap(_memoryImageWidth, _memoryImageHeight, PixelFormat.Format32bppArgb);
Image memoryImage = bitmap;
frameCount = GUITextureManager.LoadFromMemoryEx(memoryImage, fileName, m_dwColorKey, out _memoryImageTexture);
}
else
{
frameCount = GUITextureManager.LoadFromMemoryEx(_memoryImage, fileName, m_dwColorKey, out _memoryImageTexture);
}
frameCount = GUITextureManager.Load(fileName, m_dwColorKey, m_iRenderWidth, _textureHeight, _shouldCache);