View Issue Details

IDProjectCategoryView StatusLast Update
0013897MMW 5Main Panelpublic2020-07-11 12:52
Reporterlowlander Assigned To 
PriorityurgentSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Summary0013897: Prioritize what to load from database when viewing a Playlist in Browser View
DescriptionSelect a complex multi-level AutoPlaylist that also contains Child Playlists using Browser View.

This was done after just starting MediaMonkey.

What seems to be happening is that MediaMonkey is loading the Child Playlists (they start showing Artworks one-by-one) before it loads the selected AutoPlaylist (their Parent) even if child Playlists are not part of the Parent AutoPlaylist.

It would seem better that as-soon-as-possible the Filelist belonging to the selected Playlist is shown, then continue with loading additional Child Playlists.

(the test AutoPlaylist took 3.15 to show files, a full 2 minutes longer than MM4)
TagsNo tags attached.
Fixed in build2062

Relationships

related to 0013984 closedLudek Prioritize events on MM start 
related to 0014000 closedLudek MM keeps showing some activity is going on 
related to 0016805 closedmichal Artwork (embedded) fails to show in list/grid by Album 

Activities

Ludek

2017-02-10 14:36

developer   ~0047246

Loading of child playlist is a very fast task (no complex SQL) so this shouldn't be the issue.

Could you please wrote me which auto-playlist in your database takes 3:15 (2 minutes longer than MM4) so that I can analyze what is the real reason for the slowness?

Ludek

2017-02-12 23:24

developer   ~0047261

Last edited: 2017-02-12 23:25

Ah, I've probably got it. By testing on your database I noticed that the auto-playlist query SQL is really executed even without opening the auto-playlist.

Once debugged I found that it is called because of getting thumbnails (so that MM5 knows based on which tracks to created the 3x3 image collage grid).

Assigned to me to somehow optimize it in the browser view as it really significantly slows things down for complex auto-playlists.

Ludek

2017-02-13 13:14

developer   ~0047270

Last edited: 2017-02-13 13:18

As discussed over IM with others:

Because the 3x3 image collage probably isn't useful for auto-playlists and can degrade battery, tracks loading and the first time user experience (in case of such a complex auto-playlists like ~38888) then the conclusion is that collage will be shown only for simple playlists and for Auto-playlists there will be the "Find Image" approach. i.e. for auto-playlists "5 Starts" it will show 5 star image, for auto-playlists "Car" it will show image of a car.

We can add the collage back as an addon (if we find it as missing by users)

Ludek

2017-02-14 17:07

developer   ~0047280

Last edited: 2017-02-14 18:22

Implemented in 2062

I left the 'Find image' also for ordinary playlists just in case user wants to replace the default collage. Michal will implement 0013988 so that user can select the image from HDD also.

Now the "Car" auto-playlist in LowLander's database loads in 4 seconds (2x faster than in MM4).

peke

2020-03-01 21:44

developer   ~0056974

Verified 2229

Tested on 5 sub Level Auto-playlists that have 50k+ tracks.