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="morpheus_xx" data-source="post: 1286300" data-attributes="member: 48495"><p>Did you set this property to "true" inside the logo theme file? This is the intended way to prevent automatic online updates</p><p></p><p>Edit:</p><p>[CODE=CSHARP]</p><p> /// <summary></p><p> /// Checks if the cached logo is still valid, if it is too old it will be re-downloaded. Logo themes</p><p> /// can prevent this behavior by setting the <see cref="Theme.SkipOnlineUpdate"/> to <c>true</c>.</p><p> /// </summary></p><p> /// <param name="theme">Current logo theme</param></p><p> /// <param name="logoFileName">Cached logo name</param></p><p> /// <returns><c>true</c> if logo exists and cache duration is valid</returns></p><p>[/CODE]</p><p></p><p>And the SlimTvResource provider checks:</p><p>[CODE=CSHARP]</p><p> if (File.Exists(logoFileName) && IsCacheValid(theme, logoFileName))</p><p> return BuildLogoResourceLocatorAndReturn(ref result, logoFileName);</p><p>[/CODE]</p><p>Which means: if the logo theme uses the "SkipOnlineUpdate=true" and a local image file is present, it will be returned to client without doing an online check/download/processing</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1286300, member: 48495"] Did you set this property to "true" inside the logo theme file? This is the intended way to prevent automatic online updates Edit: [CODE=CSHARP] /// <summary> /// Checks if the cached logo is still valid, if it is too old it will be re-downloaded. Logo themes /// can prevent this behavior by setting the <see cref="Theme.SkipOnlineUpdate"/> to <c>true</c>. /// </summary> /// <param name="theme">Current logo theme</param> /// <param name="logoFileName">Cached logo name</param> /// <returns><c>true</c> if logo exists and cache duration is valid</returns> [/CODE] And the SlimTvResource provider checks: [CODE=CSHARP] if (File.Exists(logoFileName) && IsCacheValid(theme, logoFileName)) return BuildLogoResourceLocatorAndReturn(ref result, logoFileName); [/CODE] Which means: if the logo theme uses the "SkipOnlineUpdate=true" and a local image file is present, it will be returned to client without doing an online check/download/processing [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
MP2 TV Logo Management
Contact us
RSS
Top
Bottom