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
My Videos plugin question
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="LRFalk01" data-source="post: 292316" data-attributes="member: 55551"><p>I'm not sure if this should go here as this is a default plugin with MP, but here it goes:</p><p></p><p>I have about 350 movies that I use My Videos to display. It takes my MP machines about 7 seconds to build the list of movies with their imdb information and whatnot. This in itself is not bad save for any time one leaves this list and goes back to it, there is a 7 second pause in the application.</p><p></p><p>Two ideas:</p><p></p><p>1. Looking through the code of the plugin (about 2.5k lines of it) I noticed that it uses ArrayList of build these listItems then does type casting to work with them. Does anyone think if this were changed to use List<> instead it would speed up this plugin?</p><p></p><p>2. Would it be overly difficult to store this list in memory and just call it back from there when needed? Then MP would only have to make this list once and just recall it when needed. Could add a button to refresh list from the main My Videos screen.</p><p></p><p>Please let me know your thoughts.</p><p></p><p>Thanks,</p><p>LRFalk01</p></blockquote><p></p>
[QUOTE="LRFalk01, post: 292316, member: 55551"] I'm not sure if this should go here as this is a default plugin with MP, but here it goes: I have about 350 movies that I use My Videos to display. It takes my MP machines about 7 seconds to build the list of movies with their imdb information and whatnot. This in itself is not bad save for any time one leaves this list and goes back to it, there is a 7 second pause in the application. Two ideas: 1. Looking through the code of the plugin (about 2.5k lines of it) I noticed that it uses ArrayList of build these listItems then does type casting to work with them. Does anyone think if this were changed to use List<> instead it would speed up this plugin? 2. Would it be overly difficult to store this list in memory and just call it back from there when needed? Then MP would only have to make this list once and just recall it when needed. Could add a button to refresh list from the main My Videos screen. Please let me know your thoughts. Thanks, LRFalk01 [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Videos plugin question
Contact us
RSS
Top
Bottom