home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
MP-TVSeries v4.3.6 Release [2020-01-24]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ajs" data-source="post: 1266059" data-attributes="member: 68833"><p>[USER=52219]@ltfearme[/USER] </p><p>You give MP image with filename like: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Deadwood\Thumbnails\-langen-seasons/16362-2_t.jpg]</p><p>When GUI Imahe detect <strong>"["</strong> then work this block: <a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/guilib/GUIImage.cs#L749-L762" target="_blank">MediaPortal/MediaPortal-1</a></p><p>[code=csharp] if (_memoryImageWidth != 0 && _memoryImageHeight != 0)</p><p> {</p><p> var bitmap = new Bitmap(_memoryImageWidth, _memoryImageHeight, PixelFormat.Format32bppArgb);</p><p> Image memoryImage = bitmap;</p><p> frameCount = GUITextureManager.LoadFromMemoryEx(memoryImage, fileName, m_dwColorKey, out _memoryImageTexture);</p><p> }</p><p> else</p><p> {</p><p> frameCount = GUITextureManager.LoadFromMemoryEx(_memoryImage, fileName, m_dwColorKey, out _memoryImageTexture);</p><p> }[/code]</p><p>If filename without <strong>"["</strong> then GUIImage simply load image: <a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/guilib/GUIImage.cs#L764" target="_blank">MediaPortal/MediaPortal-1</a></p><p>[code=csharp]frameCount = GUITextureManager.Load(fileName, m_dwColorKey, m_iRenderWidth, _textureHeight, _shouldCache);[/code]</p><p>Try change name from [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Deadwood\Thumbnails\-langen-seasons/16362-2_t.jpg] to C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Deadwood\Thumbnails\-langen-seasons/16362-2_t.jpg and check <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="ajs, post: 1266059, member: 68833"] [USER=52219]@ltfearme[/USER] You give MP image with filename like: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Deadwood\Thumbnails\-langen-seasons/16362-2_t.jpg] When GUI Imahe detect [B]"["[/B] then work this block: [URL="https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/guilib/GUIImage.cs#L749-L762"]MediaPortal/MediaPortal-1[/URL] [code=csharp] 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); }[/code] If filename without [B]"["[/B] then GUIImage simply load image: [URL="https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/guilib/GUIImage.cs#L764"]MediaPortal/MediaPortal-1[/URL] [code=csharp]frameCount = GUITextureManager.Load(fileName, m_dwColorKey, m_iRenderWidth, _textureHeight, _shouldCache);[/code] Try change name from [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Deadwood\Thumbnails\-langen-seasons/16362-2_t.jpg] to C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Deadwood\Thumbnails\-langen-seasons/16362-2_t.jpg and check :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
MP-TVSeries v4.3.6 Release [2020-01-24]
Contact us
RSS
Top
Bottom