Slow Posterview for XVID Movies (1 Viewer)

Isike

Portal Member
December 2, 2010
11
0
Home Country
Canada Canada
I have a collection of about 500 XVID movies stored on a local gigabit network. I verified the access times and bandwidth to the storage server and is capable of saturating the gigabit network (125MB/s). It lists a folder with 1000 subdirectories in less than 1 second.

It takes about 2 mins for the Moving Pictures plugin to show a posterview of these movies. Also, if I select a detail view of one of these movies, then returning back to the posterview takes the same 2 mins.
Comparatively, the 250 H264 movies, stored on the same network server, show up in about 5 seconds in posterview.

I was using Moving Pictures 1.08 and I tried upgrading to 1.11 beta with basically no improvement (1 min 55sec).
I also tried the list view with basically no improvement.

Is it refreshing the media info from the files every time it loads the posterview?
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
44
Texas
Home Country
United States of America United States of America
There is a known issue with the GUI where, when building a movie list, it will ping every file on the list to determine if they are online or offline. But two minutes seems excessive for me, I have a setup that connects to a file server with about 350 movies over wifi. The delay for me is usually under 20 seconds. So maybe there is something else at play in your situation. If you can post debug log files I will take a closer look.

All that said the known issue I am talking about should be fixed in the near future.
 

Isike

Portal Member
December 2, 2010
11
0
Home Country
Canada Canada
I attached the log file. I did 2 tests:
1. Getting the posterview for the XVID collection
Starts:
03-Dec-2010 00:41:36 Debug [ MovieBrowser]: CurrentView: SMALLICON
Ends:
03-Dec-2010 00:43:39 Debug [ MovieBrowser]: SelectedMovie changed: 10,000 BC

2. From detail view back to poster view:
Starts:
03-Dec-2010 00:44:16 Debug [ MovieBrowser]: CurrentView: SMALLICON
Ends:
03-Dec-2010 00:46:16 Debug [ MovingPicturesGUI]: Publishing Movie Artwork

Both cases took about 2 min. This is not "pinging" files only, since the 250 H264 movies are "pinged" in less than 10 seconds.
I think these 2 minutes are spent getting the media info from the files, and that takes more time for XVIDs than H264s. This could be done at startup (assynchronuosly) and having it cached after that.
 

Attachments

  • movingpictures.zip
    23.5 KB

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
44
Texas
Home Country
United States of America United States of America
Moving Pictures runs it's MediaInfo scan in a separate thread, asynchronously (plus those actions are logged). In addition to that Moving Pictures only retrieves MediaInfo for a file once, and then stores that information in it's database. It is never re-retrieved by Moving Pictures unless you intentionally tell it to do so. So this is not the issue.

Unfortunately I don't really see anything else in your log files. I am sorry. I will try to take a look atmaking the change I was talking about above this weekend which will hopefully resolve the problem for you, but at the very least will eliminate it as a possibility.
 

Isike

Portal Member
December 2, 2010
11
0
Home Country
Canada Canada
Thanks fforde. When the fix is available let me know and I'll test it. I'm on Moving Pictures 1.1.1 beta right now.

Later:
I found the solution for the issue. I had to disable the nfo scanner and after that everything is fast.
Thanks fforde, and I hope this helps someone else, too, in the future.
 

Users who are viewing this thread

Top Bottom