damienhaynes / moving-pictures

Moving Pictures is a movies plug-in for the MediaPortal media center application. The goal of the plug-in is to create a very focused and refined experience that requires minimal user interaction. The plug-in emphasizes usability and ease of use in managing a movie collection consisting of ripped DVDs, and movies reencoded in common video formats supported by MediaPortal.
12 stars 6 forks source link

For large collections, categories are slow when loading and navigating in GUI #684

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With a very large collection, a Dynamic Actors Category causes the plug-in to 
load very slowly and generally performs slowly when interacting with it.

Original issue reported on code.google.com by conrad.john on 11 Dec 2009 at 3:16

GoogleCodeExporter commented 9 years ago
Whole system needs a kick in the pants so changed the issue title.

Original comment by conrad.john on 12 Dec 2009 at 10:01

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 12 Dec 2009 at 10:21

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 15 Dec 2009 at 4:02

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 16 Feb 2010 at 10:42

GoogleCodeExporter commented 9 years ago
Started work in this area:

A) Make loading of facade non-blocking so the GUI remains responsive and user 
is able to cancel and/or navigate while it is being populated.
B) Online/offline detection (and other IO logic that might be occuring) during 
facade loading should be optimized.
C) General check on al the asynchronous processes to make sure they aren't 
affecting the GUI rendering.

Original comment by apond...@gmail.com on 23 Aug 2010 at 7:34

GoogleCodeExporter commented 9 years ago
Thanks, I think this will be the single biggest improvement to 1.1.0 

Original comment by efonta...@gmail.com on 23 Aug 2010 at 7:36

GoogleCodeExporter commented 9 years ago
I don't know if this applies exactly to this issue but here goes:
When I browse the categories, I have to wait for the backdrop to change before 
I can select the next category.

Example:

I have these categories: Movies for kids, All Movies, Recently added Movies.
So when I load the plugin, it defaults to Movies for kids and starts loading a 
backdrop for say... Scooby-Doo. But I want to go to Recently added Movies then 
click OK immediately. But now I have to press down twice, then WAIT for the 
backdrop to change. If I click OK while the Scooby-Doo backdrop is still shown, 
I'll end up in the wrong category even though the correct one is selected. Is 
this what "facade non-blocking" does?

Original comment by dj_empha...@hotmail.com on 30 Aug 2010 at 9:06

GoogleCodeExporter commented 9 years ago
Update on my latest post:

If you use the "Video Background Auto Switcher" plugin (sets fullscreen video 
instead of the skin background), the categories won't work at all, as Moving 
Pictures can't show ANY backdrops. The Video Background Auto Switcher can be 
found in the MediaPortal repository:

Main Repository Page -> MediaPortal Installer (MPI) -> Automation

Original comment by dj_empha...@hotmail.com on 3 Sep 2010 at 10:06

GoogleCodeExporter commented 9 years ago
one idea to possibly help with this is to be able to load different 
movingpictures.db3 files on plugin startup.  For instance lets say you have 
three sample categories:

kids
main
documentary

when loading the plugin you are presented a menu of choices for the above.  
Selecting kids will load the movingpictures_kids.db which has all the settings, 
import paths, custom filters, etc. for just your kids movies.  Likewise loading 
the documentary database only loads the movies you populated when that was 
running.  This I think is the next best thing to being able to run multiple 
instances of Moving Pictures, really all you need to do is 'alias' the 
database, thus segmenting your collection along hard lines that you define and 
speeding things up drastically.  My 2,000 movie collection is starting to get 
really slow...

Original comment by cla...@gmail.com on 14 Sep 2010 at 10:30

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 31 Jan 2011 at 1:22

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 31 Jan 2011 at 1:36

GoogleCodeExporter commented 9 years ago
Im having trouble loading the plugin. I constantly see the updating categories 
menu in GUI, and it takes about an hour to process (sometimes longer). Same 
issue opening config (updating categories menu). about 1200 movies

Original comment by sicn...@gmail.com on 8 Feb 2011 at 4:53

GoogleCodeExporter commented 9 years ago
IN addition I have to go through the same process again to define movie 
categories. Progress bar blocking 10-15 minutes

Original comment by sicn...@gmail.com on 8 Feb 2011 at 5:20

GoogleCodeExporter commented 9 years ago
Sicn, what you are describing is DEFINITELY a bug, but I do not think this 
relates to this issue unless you have 10,000+ movies in your collection on a 
network drive. Can you please open a new issue (top left of the page) and post 
debug log files from when you reproduced the issue?

Original comment by conrad.john on 8 Feb 2011 at 5:30

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 28 Apr 2011 at 11:09

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 12 May 2011 at 6:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fix in r1304. Movie list loading is now virtually instantaneous and 
highlighting for movies that are offline is updated as the checks are made in 
the background.

Original comment by conrad.john on 22 Jun 2011 at 3:59

GoogleCodeExporter commented 9 years ago
Hi John, thanks for this one, it is great news!  I was just wondering in this 
system how I can tell when it is in a released version?  I notice it was 
applied to r1304, but, how do you tell when it is in a build?

Original comment by elspa...@gmail.com on 22 Jun 2011 at 9:29

GoogleCodeExporter commented 9 years ago
It will be included in the next 1.1 and 1.2 releases which will show up on the 
download tab. Generally shortly before a release we will have an alpha build or 
two that are released in our IRC channel. We are not at that point yet but if 
you are interested in testing prereleases that's the place to be.

Original comment by conrad.john on 22 Jun 2011 at 2:42

GoogleCodeExporter commented 9 years ago
Aleluya! Many thanks for your work John! I will wait patiently until the 
changes are uploaded to the trunk before compiling the plugin ;-)

Original comment by riturr...@gmail.com on 22 Jun 2011 at 9:57

GoogleCodeExporter commented 9 years ago
Additional changes in r1305 and r1306. Background process to check for video 
availability will now process in the order the movies are displayed in the GUI. 
Should make the asynchronous process less noticeable.

Merged this change (among many others) to 1.2 branch in r1307. Merged to trunk 
in r1308. Merged changes have limited testing but for anyone waiting for this 
change in the trunk, it is there and feedback is welcome. :)

Original comment by conrad.john on 23 Jun 2011 at 6:02

GoogleCodeExporter commented 9 years ago

Original comment by apond...@gmail.com on 8 May 2013 at 2:32