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
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
Allow web image caching between sessions, plus general web image improvements [MP Client]
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="Blue Lightning" data-source="post: 1226977" data-attributes="member: 115994"><p>Patch for MP1 Client attached</p><p></p><p><strong>New feature:</strong></p><p>Skins can include cache="true" on texture elements eg <texture cache="yes">#TV.Example.Logo</texture> or <texture cache="yes"><a href="https://example.com/example.png" target="_blank">https://example.com/example.png</a></texture></p><p>This will make the image save in a /Webcache folder and persist between Mediaportal sessions. </p><p>Images are deleted when they haven't been used for 72 hours. This means you can have the same image persist for weeks without internet if you're constantly using it (no need to web request it), but when you're not using it it'll be deleted.</p><p>The 72 hours should be attached to a GUI setting in future.</p><p></p><p>Any texture elements without cache="yes" will continue to use the current session-based saving. Therefore this change is backwards compatible with all skins.</p><p></p><p><strong>Fixes to existing feature:</strong></p><p>Web downloaded images now accept HTTPS. Was previously just HTTP.</p><p>Web images are temporarily saved by their URL instead of a number. This may improve performance as MP only needs to look at 1 file instead of looping over every existing file.</p><p>PNG images are now saved and processed as .png. This may improve performance as they were previously being treated as gif and using frame-finding code.</p><p></p><p></p><p></p><p>(my previous threads can be closed as outdated)</p></blockquote><p></p>
[QUOTE="Blue Lightning, post: 1226977, member: 115994"] Patch for MP1 Client attached [B]New feature:[/B] Skins can include cache="true" on texture elements eg <texture cache="yes">#TV.Example.Logo</texture> or <texture cache="yes">[URL]https://example.com/example.png[/URL]</texture> This will make the image save in a /Webcache folder and persist between Mediaportal sessions. Images are deleted when they haven't been used for 72 hours. This means you can have the same image persist for weeks without internet if you're constantly using it (no need to web request it), but when you're not using it it'll be deleted. The 72 hours should be attached to a GUI setting in future. Any texture elements without cache="yes" will continue to use the current session-based saving. Therefore this change is backwards compatible with all skins. [B]Fixes to existing feature:[/B] Web downloaded images now accept HTTPS. Was previously just HTTP. Web images are temporarily saved by their URL instead of a number. This may improve performance as MP only needs to look at 1 file instead of looping over every existing file. PNG images are now saved and processed as .png. This may improve performance as they were previously being treated as gif and using frame-finding code. (my previous threads can be closed as outdated) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
Allow web image caching between sessions, plus general web image improvements [MP Client]
Contact us
RSS
Top
Bottom