AIMP Forum

AIMP for Windows => Вопросы / Questions => Topic started by: Antyos on January 14, 2022, 22:33:28

Title: Purpose of ExcludedPath
Post by: Antyos on January 14, 2022, 22:33:28
I was looking through the AIMP.ini file and noticed the field ExcludedPathCount along with SearchPathCount. In the past, my search path has included 40-something paths because there are two folders I don't want searched, so I thought I could clean up my search paths with the following settings:

Code: [Select]
[MusicLibrary.TAIMPMLLocalDataStorage.SearchOptions]
SearchPathCount=1
SearchPath0=C:\Users\Andrew\OneDrive\Music\
ExcludedPathCount=2
ExcludedPath0=C:\Users\Andrew\OneDrive\Music\zMisc
ExcludedPath1=C:\Users\Andrew\OneDrive\Music\!Live Music\@Uncut

However, AIMP doesn't seem to recognize the ExcludedPath### fields and sets ExcludedPathCount=0 after I close it. Does ExcludedPath do anything?
Title: Re: Purpose of ExcludedPath
Post by: Artem on January 15, 2022, 11:05:50
These are legacy keys. Do not create it manually. Information from these keys are merged with sub-properties of SearchPath parameters
Title: Re: Purpose of ExcludedPath
Post by: Antyos on January 18, 2022, 20:24:54
These are legacy keys. Do not create it manually. Information from these keys are merged with sub-properties of SearchPath parameters

That makes sense. Is there any way to actually exclude folders? I have dozens of folders in my music library with actual music in them but only two folders that I want to ignore. It would be significantly easier to have AIMP scan my entire music library with a few folders excluded than having to manually add a new folder to the search path any time I add new music to my library.