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
Plugin Development
SQLiteDatabase Plugin for MP2
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: 1028243" data-attributes="member: 48495"><p>I think we won't gain too much with more tweaking of the DB model (indices).</p><p></p><p>I would like to see the impact of querying thumbnails with the MediaItems. If the DB needs to join and sort tables that contain (large) binary data, this is both CPU, IO and memory intensive.</p><p></p><p>It should be possible to remove the ThumbnailSmallAspect/ThumbnailLargeAspect from the list of optional aspects to be queried. Please check the selected Skin's plugin.xml and comment the registration of thumb aspects. I'm not sure if they are also included by code (I think not), then this should be commented also.</p><p></p><p>See this for example: <a href="https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/Titanium/plugin.xml#L16-L45" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/Titanium/plugin.xml#L16-L45</a></p><p></p><p>As I now already load "album thumbs" (*1) from MediaLibrary, we could do the same for all thumbs. This will reduce the server processing and network transfer times for MediaItems, but brings (much?) overhead for requesting each thumb per HTTP.</p><p></p><p>(*1) an "Album" thumb is in fact the first available thumbnail of all AudioItems that have the album title.</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1028243, member: 48495"] I think we won't gain too much with more tweaking of the DB model (indices). I would like to see the impact of querying thumbnails with the MediaItems. If the DB needs to join and sort tables that contain (large) binary data, this is both CPU, IO and memory intensive. It should be possible to remove the ThumbnailSmallAspect/ThumbnailLargeAspect from the list of optional aspects to be queried. Please check the selected Skin's plugin.xml and comment the registration of thumb aspects. I'm not sure if they are also included by code (I think not), then this should be commented also. See this for example: [url]https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/Titanium/plugin.xml#L16-L45[/url] As I now already load "album thumbs" (*1) from MediaLibrary, we could do the same for all thumbs. This will reduce the server processing and network transfer times for MediaItems, but brings (much?) overhead for requesting each thumb per HTTP. (*1) an "Album" thumb is in fact the first available thumbnail of all AudioItems that have the album title. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
SQLiteDatabase Plugin for MP2
Contact us
RSS
Top
Bottom