by botijo » Sun Feb 21, 2016 5:11 am
Hi,
I have been using MM for some time (MM 4.1.11.1783 at the moment), and I noticed following slow application start with these conditions under a lot of previous versions of MM too:
- Create Auto-Playlist called "Random" with following settings: file size >= 100kB, show at most 3000 MB, sort by Random Album
- Close MM with "Random" Auto-Playlist active
- Start MM
The last step takes a minute or so with a reasonably big collection. The "Random" Auto-Playlist is selected, but the main list is empty. MM sits on top of other windows, and it can still be minimized. But MM does not respond at all.
As you can realize, this is a minor issue. If you close MM with other main view selected, e.g. all the music, it does start up in a few seconds. Switching to the auto-playlist is fast in that case. I assume there is some odd interaction between reading the DB and showing the auto-playlist, something that is calculated more than once in this case. I might be venturing too far - I think the auto-playlist code is not querying if the DB has been read in full first, thus running costly operations more than once.
Thanks for reading so far.
Hi,
I have been using MM for some time (MM 4.1.11.1783 at the moment), and I noticed following slow application start with these conditions under a lot of previous versions of MM too:
[list]
[*]Create Auto-Playlist called "Random" with following settings: file size >= 100kB, show at most 3000 MB, sort by Random Album
[*]Close MM with "Random" Auto-Playlist active
[*]Start MM[/list]
The last step takes a minute or so with a reasonably big collection. The "Random" Auto-Playlist is selected, but the main list is empty. MM sits on top of other windows, and it can still be minimized. But MM does not respond at all.
As you can realize, this is a minor issue. If you close MM with other main view selected, e.g. all the music, it does start up in a few seconds. Switching to the auto-playlist is fast in that case. I assume there is some odd interaction between reading the DB and showing the auto-playlist, something that is calculated more than once in this case. I might be venturing too far - I think the auto-playlist code is not querying if the DB has been read in full first, thus running costly operations more than once.
Thanks for reading so far.