Foobar2000:Directories
From Hydrogenaudio Knowledgebase
Contents |
Installation directory
This is the directory where you installed foobar2000. It contains the foobar2000 executable (foobar2000.exe) and DLLs needed by foobar2000 and its components, most importantly utf8api.dll (foobar2000 0.8.3 and older) or shared.dll (foobar2000 0.9).
The default location of this directory is %PROGRAMFILES%\foobar2000, where %PROGRAMFILES% is a Windows environment variable. It typically resolves to "C:\Program Files" on an English copy of Windows.
If this directory contains a file with the name user_profiles_enabled, support for user profiles is enabled, otherwise it is disabled.
Components directory
By convention, the components subdirectory of the installation directory contains all component DLLs. The name of component DLLs has to conform to the pattern "foo_*.dll". Note that foobar2000 loads component DLLs from all subdirectories of its installation directory, even nested ones. Furthermore, all auxialliary DLLs needed by a component have to be in the installation directory; putting them in the components directory or any other subdirectory of the installation directory will not work.
Profile directory
The profile directory is where all settings are stored, including the contents of the media library and the open playlists. If you want to create a complete backup of your foobar2000 configuration, this is the directory you will need to archive.
If user profile support is disabled, this directory is in the same location as the installation directory; otherwise it is located at %APPDATA%\foobar2000 where %APPDATA% is a Window environment variable pointing to the application data directory of your Windows user profile.
Playlists directory
The playlists subdirectory of the profile directory holds the contents of the open playlists as FPL files.
Audio CD metadata directory
The cddb subdirectory of the profile directory is used to persistently store the metadata of Audio CDs. The files in this directory use a proprietary format; they are not stored in the CDDB database file format.


