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 2
General
MP2 TV Logo Management
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="ge2301" data-source="post: 1286276" data-attributes="member: 145639"><p>Ok, thats bad then. I tagged already the correct developer, but the chance for response or finally an activity is very low <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>I can not really code C#, but I found the corresponding code responsible for the logo chaching decision.</p><p>[CODE=xml] private bool IsCacheValid(Theme theme, string logoFileName)</p><p> {</p><p> FileInfo fi = new FileInfo(logoFileName);</p><p> return theme.SkipOnlineUpdate || DateTime.Now - fi.CreationTime <= MAX_CACHE_DURATION;</p><p> }[/CODE]</p><p>The code seems correct and the result should be true, when SkipOnlineUpdate is true.</p><p>I changed the code to below so the result is regardless of anything true and built a new library for you.</p><p>[CODE=xml] private bool IsCacheValid(Theme theme, string logoFileName)</p><p> {</p><p> return true;</p><p> }[/CODE]</p><p>Can you extract attached files in "C:\Program Files (x86)\Team MediaPortal\MP2-Server\Plugins\SlimTv.Resources" and try?</p><p>You can overwrite existing files, but I recommend to backup the previous versions beforehand.</p></blockquote><p></p>
[QUOTE="ge2301, post: 1286276, member: 145639"] Ok, thats bad then. I tagged already the correct developer, but the chance for response or finally an activity is very low :) I can not really code C#, but I found the corresponding code responsible for the logo chaching decision. [CODE=xml] private bool IsCacheValid(Theme theme, string logoFileName) { FileInfo fi = new FileInfo(logoFileName); return theme.SkipOnlineUpdate || DateTime.Now - fi.CreationTime <= MAX_CACHE_DURATION; }[/CODE] The code seems correct and the result should be true, when SkipOnlineUpdate is true. I changed the code to below so the result is regardless of anything true and built a new library for you. [CODE=xml] private bool IsCacheValid(Theme theme, string logoFileName) { return true; }[/CODE] Can you extract attached files in "C:\Program Files (x86)\Team MediaPortal\MP2-Server\Plugins\SlimTv.Resources" and try? You can overwrite existing files, but I recommend to backup the previous versions beforehand. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
MP2 TV Logo Management
Contact us
RSS
Top
Bottom