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: Media library reindexing on startup (Read 11146 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Media library reindexing on startup

Reply #1
why does it reindex the music folder everytime I restarted foobar2000?


I have experienced same behaviour.  This is what happens: I have 3 paths in foo as part of
Media Library, 2 are around 200gb on internal disk, and i see fast indexing and its over. On my third path, external
bigger disk, it takes longer time, around 5 mins, i guess since usb. But after some restarting etc, i can confirm,
indexing is started every time for paths and it takes long time to get it through.

Media library reindexing on startup

Reply #2
IIRC, they changed how the Media Library paths work slightly, so it looks to me like it's just reloading them (like they loaded the first time you set your Media Library paths). Once this completes, it shouldn't have to do it again.

Media library reindexing on startup

Reply #3
Windows XP Home SP3

Just tried it out, Foobar definitely re-indexing EVERY TIME I start it up.

Media library reindexing on startup

Reply #4
I already asked in the original thread, but it got lost in the split: How exactly reindexing?

"Indexing" type #1:
After upgrading from pre-0.9.6 version, a modal dialog "Please wait, fb2k is importing your media library..." is shown on the first run and you can't work with the player in the meantime. Resource heavy, all ML directories are rescanned, all supported files are loaded and retrieved tags are stored into the database. Shown only once after upgrading.

"Indexing" type #2:
Resource heavy, all ML directories are rescanned, all supported files are loaded and retrieved tags are stored into the database. Happens for example when you add a new ML directory. Done asynchronously, you can work with the player in the meantime. Console is "spammed" with notices about any non-music/not supported files.

"Indexing" type #3:
Lightweight, all ML directories are rescanned, only files with newer last-modified timestamp than remembered from the last time are opened and their tags reloaded. Happens at each startup to reflect any changes possibly made while fb2k was not running. Asynchronous, does not block player usage.

Monitoring:
After one of the above is done, the rest is handled by asynchronous notifications, so nothing is touched if it wasn't modified.

So, what kind of "reindexing" are you seeing, what problems does it cause for you and how is it different from the behaviour of the current stable version 0.9.6.9?
Full-quoting makes you scroll past the same junk over and over.

Media library reindexing on startup

Reply #5
I would say.. "Type #3"

But in 1.0 beta, It took very long time to complete and use much more PC resource than 0.9 does. It kinda like "Type #2" without console spam and happen every time 1.0 started.

In 0.9 it was barely noticeable.

Media library reindexing on startup

Reply #6
Are you sure you haven't added a component for some process intensive format since then, such as foo_dumb? That component must load and parse through every module to calculate the length and detect subsongs.

Media library reindexing on startup

Reply #7
I dont' know if it's re-indexing the media library but v1.0 beta1 uses between 956 and 5100 KB/s of disk load and between 4 and 9% of cpu usage during 2 minutes EVERY startup.
This behaviour was not present in 0.9.6.9.

Here's a taskmanager screenshot



Components:
Code: [Select]
Core (2009-11-20 10:15:06)
    foobar2000 core 1.0 beta 1
foo_abx.dll (2009-06-07 06:25:26)
    ABX Comparator 1.3.4
foo_albumlist.dll (2009-11-20 10:12:56)
    Album List 4.4
foo_audioscrobbler.dll (2009-10-25 20:30:02)
    Audioscrobbler 1.4.3
foo_benchmark.dll (2008-12-31 19:23:04)
    Decoding Speed Test 1.1
foo_bitcompare.dll (2008-12-05 15:08:02)
    Binary Comparator 1.2
foo_cdda.dll (2009-11-20 10:12:46)
    CD Audio Decoder 3.0
foo_converter.dll (2009-11-20 10:12:38)
    Converter 1.4
foo_customdb.dll (2009-05-09 19:17:06)
    Custom Database 0.0.9a
foo_dop.dll (2009-11-07 18:04:20)
    iPod manager 0.6.6.0
foo_dsp_std.dll (2009-11-20 10:13:04)
    Standard DSP Array 1.0
foo_fileops.dll (2009-11-20 10:12:02)
    File Operations 2.1.2
foo_freedb2.dll (2009-11-20 10:12:02)
    freedb Tagger 0.6.2
foo_getlyrics.dll (2009-04-28 04:52:43)
    Get Lyrics 1.0.0.1
foo_input_monkey.dll (2009-05-01 13:40:52)
    Monkey's Audio Decoder 2.1.4
foo_input_std.dll (2009-11-20 10:12:40)
    Standard Input Array 1.0
foo_input_tak.dll (2009-06-15 21:44:54)
    TAK Decoder 0.4.3
foo_jesus.dll (2009-10-05 15:05:54)
    Autosave & Autobackup 5
foo_masstag.dll (2009-09-18 09:01:36)
    Masstagger 1.8.4
foo_menu_addons.dll (2009-01-05 19:44:56)
    Menu Addons 0.4.1 (SSE)
foo_musicbrainz.dll (2009-04-10 14:27:28)
    MusicBrainz Tagger 0.2
foo_navigator.dll (2007-08-04 05:36:46)
    Navigator 0.63
foo_playcount.dll (2009-04-29 19:09:32)
    Playback Statistics 2.1.9
foo_popupplus.dll (2008-04-24 14:24:18)
    PopUp Plus 20080424
foo_rgscan.dll (2009-11-20 10:12:28)
    ReplayGain Scanner 2.0.9
foo_run.dll (2009-06-07 14:15:18)
    Run services 0.3.7
foo_stopaftercuralbum.dll (2009-06-01 08:50:42)
    foo_stopaftercuralbum 0.2
foo_texttools.dll (2009-01-31 14:23:38)
    Text Tools 1.0.3
foo_ui_columns.dll (2009-08-30 09:21:36)
    Columns UI 0.3.8.0
foo_ui_std.dll (2009-11-20 10:13:36)
    Default User Interface 0.9.5
foo_uie_albumlist.dll (2009-06-13 16:49:19)
    Album list panel 0.3.5
foo_uie_biography.dll (2009-11-06 21:09:12)
    Biography View 0.3.3.3
foo_uie_console.dll (2009-08-29 10:06:24)
    Console panel 0.4
foo_uie_lyrics.dll (2008-12-12 03:39:20)
    Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]
foo_uie_playlists_dropdown.dll (2009-09-23 23:44:46)
    Playlists Dropdown 0.7.6
foo_uie_ptb.dll (2008-02-16 01:45:33)
    Playback Toolbars 0.2
foo_uie_quicksearch.dll (2007-05-18 13:31:10)
    Quick Search Toolbar 2.8l
foo_uie_tagger_mod.dll (2009-09-20 15:49:42)
    Tagger Mod Panel Window 1.1.0.6 [Sep 20 2009 - 23:33:24]
foo_uie_vis_peakmeter_spectrum.dll (2008-04-19 20:18:50)
    Peakmeter Spectrum Visualisation 0.2.0.0 beta
foo_unpack.dll (2009-11-20 10:11:48)
    RAR reader 1.3
    ZIP/GZIP reader 1.0
foo_utils.dll (2008-02-08 23:26:58)
    Playlist Tools 0.6.2 beta 6
foo_verifier.dll (2009-10-05 10:39:20)
    File Integrity Verifier 1.1

last.fm/user/boces

Media library reindexing on startup

Reply #8
Are you sure you haven't added a component for some process intensive format since then, such as foo_dumb? That component must load and parse through every module to calculate the length and detect subsongs.


Nope, I didn't added any new components or new files to my media library.

I'm already uninstall 1.0 beta so I won't have any screenshot to show but I start both old and beta version side by side and I remember in beta it took about 5 minutes to complete indexing (and in Preferences > Media library it show the status as "Indexing file.." or something, while this occur) and in task manager, "I/O Reads" will grow rapidly to about 300,000 each time 1.0 start-up (and my PC slow down noticeably) while in 0.9 it stay at 200.

BTW, I use Win XP SP3

Media library reindexing on startup

Reply #9
Yirkha, it's like "Type-3", alot of hdd access.

no component is added/removed, no new path added to/removed from the media library.

no such behavior in 0.9.6.9.

Windows 7 Ultimate

currently on 0.9.6.9, probably will wait till the next beta.

Media library reindexing on startup

Reply #10
Exactly the same behaviour here.

I have a library of over 40,000 tracks & it's been taking maybe 15 mins each time I start.

Media library reindexing on startup

Reply #11
Same problem here, heavy HDD access. No new path added to the media library. Preferences>Media Library shows 'Indexing files' for existing paths after startup. Win XP Sp3.

Media library reindexing on startup

Reply #12
It seems to take a lot longer for me also. Type 3 I assume, as I can still use foobar. XP SP3

Media library reindexing on startup

Reply #13
No "re-indexing" here after startup. Status is monitoring.

I just replaced the new exe and its dll files.
Everything organized with new cfg files.

Windows 7 Ultimate 64.
UAC disabled
Portable mode enable.
Windows 10 Pro x64 // foobar2000 1.3.10

Media library reindexing on startup

Reply #14
Maybe it boils things down to difference i here noticed, i use windows xp sp3, and portable mode.
Maybe it is difference between os-es. Reports about that stange behaviour are as i see
(if commented) from installations on windows xp?

Moderation: Removed useless full quote of the preceding post.

Media library reindexing on startup

Reply #15
Windows XP Home Edition SP3, foobar 1.0 beta, full install, columns UI 3.8.0

scans 4 minutes every time statrted, I guess type 3(?) as it doesn't display message,can still play while scanning

no new component added/removed, no new path added to/removed from the media library.

no such behavior in 0.9.6.9.

switched back, outside of of initial scan there is no noticeable re-scanning

Media library reindexing on startup

Reply #16
OK, thanks for the information and your experiences, there definitely seems to be a problem somewhere.
We'll get back to you if we need more details later.
Full-quoting makes you scroll past the same junk over and over.

Media library reindexing on startup

Reply #17
I had this problem after I installed (portable) v1.0 beta over my old (portable) install.

The problem seems to have gone away after I removed all 'Music Folders' from my foobar library, closed foobar, opened foobar, and readded the directories back.

Now my hard drive only makes noises for a few seconds after launching the program, instead of minutes.

Media library reindexing on startup

Reply #18
The problem seems to have gone away after I removed all 'Music Folders' from my foobar library, closed foobar, opened foobar, and readded the directories back.

Didn't work for me. I still have the problem. Windows 7 Ultimate 32. Standard installation over 0.9.6.9

Media library reindexing on startup

Reply #19
If you need another data point, I haven't noticed any rescanning on my XP Professional SP3 machine. (Which means it's either not happening, or it's not lagging my system to any particular degree if it does happen.)

Media library reindexing on startup

Reply #20
Will be fixed in the next beta.
Full-quoting makes you scroll past the same junk over and over.

Media library reindexing on startup

Reply #21
problem gone in beta 2 thank you.
last.fm/user/boces


Media library reindexing on startup

Reply #23
Affirmed here, too.