Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Slow Foobar open (Read 6982 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Slow Foobar open

After one of the recent upgrades--but perhaps totally unrelated--my Foobar began opening (and closing) very slowly.
When started there is a 'blank' Foobar window opened, at 10 seconds my CPU goes to 100%--then at c. 45-62 seconds (it varies) CPU drops and full Foobar window opens.
Otherwise performs fine.
Any ideas why?

I installed a new 9.5.3 in a folder on my desktop--set it up as close as I could to mirror the main version in Program Files and it opens in about 1 second.

Mark

Edit--one other difference between installs: on the original 'slow' install, playback does not start when an album is sent to the playlist--although that box is checked in Preferences--must be done manually.  New install playback starts as normal.

Slow Foobar open

Reply #1
Are you using foo_playcount with a huge media library?

Slow Foobar open

Reply #2
Signal78: Please go to Preferences -> Components, press the Copy button, and paste the results in a codebox tag here. Some third-party component is very likely causing your slowdown.

Slow Foobar open

Reply #3
Pasting the contents of console right after startup, would also yield important clues.

Slow Foobar open

Reply #4
Thanks--
Not seeing anything called a 'codebox tag' but I will paste them below.
I think these are the basic package only.

Code: [Select]
Core (2008-04-19 10:30:22)
    foobar2000 core 0.9.5.2
foo_abx.dll (2008-04-19 10:29:04)
    ABX Comparator 1.3.3
foo_albumlist.dll (2008-04-19 10:29:24)
    Album List 4.2
foo_cdda.dll (2008-04-19 10:29:16)
    CD Audio Decoder 2.1.2
foo_converter.dll (2008-04-19 10:29:16)
    Converter 1.1.1
foo_dsp_std.dll (2008-04-19 10:29:30)
    Standard DSP Array 1.0
foo_fileops.dll (2008-04-19 10:29:06)
    File Operations 2.1
foo_freedb2.dll (2008-04-19 10:29:38)
    freedb Tagger 0.6
foo_input_std.dll (2008-04-19 10:29:52)
    Standard Input Array 1.0
foo_rgscan.dll (2008-04-19 10:29:20)
    ReplayGain Scanner 2.0.5
foo_ui_std.dll (2008-04-19 10:29:42)
    Default User Interface 0.9.5
foo_unpack.dll (2008-04-19 10:29:00)
    RAR reader 1.1
    ZIP/GZIP reader 1.0

(Canar's edit: codeboxed)

Slow Foobar open

Reply #5
Pasting the contents of console right after startup, would also yield important clues.

Original 'slow' install console says:
Album List refreshed in: 0:00.343764
Autoplaylists initialized in: 0:44.850817

[Then lists most of the contents of the Library.]
Startup time : 1:01.476207


My new install only says:
Album List refreshed in: 0:00.307092
Startup time : 0:01.449604

So it must be the initializing 'autoplaylists'.....
How would I disable that?

Mark

Slow Foobar open

Reply #6
So it must be the initializing 'autoplaylists'.....
How would I disable that?


Yup. 44 seconds are being spent simply initializing the autoplaylists. So,

1. How many autoplaylists do you have?
2. If possible, could you describe the queries you're using?
3. Have you added networked locations into your media library?
4. How many files are present in your library?

Slow Foobar open

Reply #7
Yup. 44 seconds are being spent simply initializing the autoplaylists. So,

1. How many autoplaylists do you have?
2. If possible, could you describe the queries you're using?
3. Have you added networked locations into your media library?
4. How many files are present in your library?


1) I don't think I intend to have any (I've not intentionally created any--I don't know what they are or why I would want them).  As noted above I installed another Foobar which works fine and seems not to be using autoplaylists.  My Library is organized by Folder=CD, filled with track files.
2) Not sure what this means....
3) No network locations.
4) This is a test library--about 2000 files in 110 folders.

I can just delete the troublesome Foobar and use the newer install that works fine (on the same library).  I'm mainly curious how I managed to screw it up....how would I have made it create autoplaylists of everything?

Mark

Slow Foobar open

Reply #8
You should be able to pinpoint the troublesome playlist by looking at the console output. Right underneath the "Autoplaylists initialized", it should list a bunch of autoplaylists and the time taken to initialize them.
Something like:

Code: [Select]
Autoplaylists initialized in: 0:00.475541
"Adam Green" : 0:00.475498


BTW, how many playlists do you have? How large are these playlists (# of items)?

Slow Foobar open

Reply #9
You should be able to pinpoint the troublesome playlist by looking at the console output. Right underneath the "Autoplaylists initialized", it should list a bunch of autoplaylists and the time taken to initialize them.


Yes, it has listed every folder/album in my library, plus some individual files, and all the genre entries--
235 lines like:

"Harpsichord" : 0:00.067624
"Harpsichord Baroque" : 0:00.053080
"Heinichen, Johann David - Dresden Concerti" : 0:00.072938
"Holborne, Anthony - The Teares of the Muses 1599" : 0:00.059019
"Jenkins, John - Six-Part Consorts" : 0:00.071156
"Johnny Nash - Harder They Come (Disc 2, Crucial Reggae 1968-1972)" : 0:00.055508
"Kottke, Leo - 6 and 12 String Guitar" : 0:00.056235
"Kottke, Leo - Kottke, Leo -- 6 and 12 String Guitar" : 0:00.162597
"Lieder" : 0:00.057271

But...on my NEW 'clean' install it lists none of them....just this:
Album List refreshed in: 0:00.307092
Startup time : 0:01.449604

No autoplaylists.  So somehow I seem to have caused everything to load as an autoplaylist in the original install?  Anyway....I think this is academic--as I can just use the new install.
I'd still be curious to know how I made it go wrong in the old one--and how to make it stop loading them as autoplaylists.

Mark

Slow Foobar open

Reply #10
BTW, I agree with you. Even though we have "sort of" diagnosed the problem, it is probably in everyone's intereset to actually get to the bottom of this.

No autoplaylists.  So somehow I seem to have caused everything to load as an autoplaylist in the original install?  Anyway....I think this is academic--as I can just use the new install.
I'd still be curious to know how I made it go wrong in the old one--and how to make it stop loading them as autoplaylists.


235 playlists? The large number of playlists could have something to do with it. (EDIT: Especially if it has to load the metadata from each of the playlists)
1. Are you using the media library at all?
2. Are the files in the playlists in the media library?
3. Could you scan through the console output, and possibly identify the playlist(s) taking the LONGEST time?

 

Slow Foobar open

Reply #11
235 playlists? The large number of playlists could have something to do with it. (EDIT: Especially if it has to load the metadata from each of the playlists)
1. Are you using the media library at all?
2. Are the files in the playlists in the media library?
3. Could you scan through the console output, and possibly identify the playlist(s) taking the LONGEST time?


Yes, everything is in the library.
The 'slow' install has loaded every library folder (and also...oddly(?) genre tags--see post #10) as an autoplaylist.  My new 'good' install loads none.
I don't use autoplaylists.  I select all my music from the Album List view and send the 'CD' to Playlist.

So I think my remaining questions are:
1) What might I have done to cause all those autoplaylists to generate?
2) How do I cancel autoplaylists?

Thanks,
Mark

Slow Foobar open

Reply #12
So I think my remaining questions are:
1) What might I have done to cause all those autoplaylists to generate?

Well:
I select all my music from the Album List view and send the 'CD' to Playlist.

... If you go to File -> Preferences -> Media Library -> Album List

you can see that you can configure the double-click and middle-click actions. Of these you can select "Create Autoplaylist".

Maybe you set one of those options to do that, and that how you've been "sending the 'CD' to Playlist"

Quote
2) How do I cancel autoplaylists?

Delete them from the Playlist manager using the delete key.
elevatorladylevitateme

Slow Foobar open

Reply #13
Well:
I select all my music from the Album List view and send the 'CD' to Playlist.

... If you go to File -> Preferences -> Media Library -> Album List

you can see that you can configure the double-click and middle-click actions. Of these you can select "Create Autoplaylist".

Maybe you set one of those options to do that, and that how you've been "sending the 'CD' to Playlist"


That was it!  Thanks.  Have no idea when/why I did that......

One more question--
When I look at Playlist Manger (which I do not normally use) I see that I still create a new (non-auto) playlist everytime I send a folder (CD) from Album List to Playlist in my 9.5.2 install.  These accumulate.  How do I send an Album selection to Playlist without creating a permanent 'playlist' entry?

I see my 9.5.3 Playlist Manager does NOT do this when I send from Album list to Playlist...it only says 'Default' and 'Library Viewer Selection'--no accumulating playlists.
Not sure which setting controls these different behaviours.....?

Mark

Slow Foobar open

Reply #14
I see my 9.5.3 Playlist Manager does NOT do this when I send from Album list to Playlist...it only says 'Default' and 'Library Viewer Selection'--no accumulating playlists.
Not sure which setting controls these different behaviours.....?
at the bottom of:
Preferences -> Media Library
...are the options for the Library Selection Playlist.

The Library Selection Playlist is new for 0.9.3, and was provided to end the "culminating playlist" phenomenon people with the same usage patterns as yourself create. The Library Search Pane will also use this playlist, as will any other library viewer that uses the new API.

cheers.
elevatorladylevitateme

Slow Foobar open

Reply #15
The Library Selection Playlist is new for 0.9.3, and was provided to end the "culminating playlist" phenomenon people with the same usage patterns as yourself create. The Library Search Pane will also use this playlist, as will any other library viewer that uses the new API.

OK--got it.  Terrific!
Many thanks shakey snake (and kanak and everyone else).

Mark