View Issue Details

IDProjectCategoryView StatusLast Update
0008032MMW v4DB/FileMonitorpublic2011-07-08 22:01
Reporterrusty Assigned To 
PriorityhighSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0008032: Performance: Loading of audio images should be as fast as Video thumbnails
DescriptionIn MM 4.0, image caching has been implemented for Videos, but not for audio files. The net effect is that for tracks stored to the network, it's faster to click through videos than for audio files since video images are cached, but audio images aren't (e.g. it takes .5 - 1s for artwork to appear for each audio file, but for video files, the artwork appears instantly).

Image caching should be implemented for audio files as well.
TagsNo tags attached.
Fixed in build1398

Relationships

related to 0008039 closedpetr Performance: Image loading in Art&Details window is slower than MM3 
related to 0008054 assignedpetr Performance: improve speed of first-time loading of audio artwork 
related to 0008216 closedpetr Thumbnails are associated to tracks that have no Art 
child of 0008224 newpetr Performance: Music Artwork isn't cached 

Activities

petr

2011-06-28 20:26

developer   ~0026429

After offline discussion it was implemented in 1398

rusty

2011-06-29 03:48

administrator   ~0026434

This works really well once the images have been cached. However, the caching implementation makes MM almost impossible to use in AA view for the first time.

i.e. Switch to AA view and scroll downwards
-->Images slowly load for each file
Scroll downwards further
-->It is impossible to scroll down! The tracklist doesn't respond properly to the wheelmouse/scrollbar as the UI is locked until the images for the Albums currently in view have been loaded.

What should happen is that:
a) The images should be loaded in the background (even prior to them coming into view) in the same manner as Video Thumbnails are loaded independently of what the user is scrolling in the UI.
b) The images should be loaded in a separate thread so that it doesn't interfere with UI activities.

petr

2011-06-29 08:40

developer   ~0026436

re a) this was implemented in early MM3 version but removed because of CPU usage even when user doesn't do anything (will enable it back for a next build)
re b) covers are loaded in thread, but resizing to thumb size must be done in main thread (that's the reason why UL looks frozen) ... will try to do something with that

rusty

2011-06-29 19:09

administrator   ~0026451

a) shouldn't be an issue if the status bar indicates that thumbnails are being generated (as is the case for videos). That way users understand _why_ CPU utilization is higher temporarily.

rusty

2011-06-29 19:33

administrator   ~0026452

Note: performance issues were likely due to the temp file being stored to a USB key.

rusty

2011-06-29 19:48

administrator   ~0026454

Re-tagging as resolved. The only items to improve further are optimizations to improve first-time viewing of audio thumbnails (e.g. to load them in the background as with Videos, instead of upon first viewing them).

peke

2011-07-08 22:01

developer   ~0026652

a) Verified 1403
b) is now handled in 0008054