cheerful
May 13 2008, 07:19
I copied foobar2000.cfg from one machine to another. Most of preference copied over. However, the keyboard shortcuts are not. Am I missing something?
Thanks!
Keyboard shortcuts are stored inside foobar2000.cfg. If they got lost after copying the .cfg file, it's most likely that the target machine runs an older (pre-0.9.5) foobar2000 version.
Foobar2000 0.9.x configuration files are only future-compatible: each new version is capable of reading configuration file entries written by one of older versions, but various entries may get lost if a file created by a newer version is fed into one of older versions.
cheerful
May 13 2008, 19:54
QUOTE(Peter @ May 13 2008, 13:12)

Keyboard shortcuts are stored inside foobar2000.cfg. If they got lost after copying the .cfg file, it's most likely that the target machine runs an older (pre-0.9.5) foobar2000 version.
Foobar2000 0.9.x configuration files are only future-compatible: each new version is capable of reading configuration file entries written by one of older versions, but various entries may get lost if a file created by a newer version is fed into one of older versions.
PC A: 0.9.4.5
PC B: 0.9.5.2
Both only have foobar2000.cfg in installation directory.
A has about 30 shortcuts, incl. delete key
Copy foobar2000.cfg over
B has about 10 shortcuts, the most basic ones, no delete key
Squeller
May 13 2008, 22:22
fb2k 0.95+ (afair!) removes single key shortcuts. Not sure exactly when (at first start, always?).
cheerful
May 14 2008, 08:00
QUOTE(Squeller @ May 14 2008, 00:22)

fb2k 0.95+ (afair!) removes single key shortcuts. Not sure exactly when (at first start, always?).
Definitely not first start. I've run fb2k 0.9.5.2 before copying over the configuration file.
Frank Bicking
May 14 2008, 08:25
That's irrelevant. The flag that single-letter shortcuts have been removed at the first start of a 0.9.5+ version is stored in the configuration file itself. If you replace the configuration file with that of a pre-0.9.5 version, this flag is not set at the next start of the program, because previous versions did not store that information.
From the configuration file, it looks to foobar2000 as if you have just installed 0.9.5 on top of a previous version, and thus, some keyboard shortcuts are removed, and the flag is set in the configuration file. Future program starts will not remove single-letter shortcuts, which means that you could re-add them, but be advised that this is not recommended.
dhromed
May 14 2008, 14:17
> fb2k 0.95+ (afair!) removes single key shortcuts.
Not sure what you mean. I have single-key shortcuts in 0.952.
kode54
May 14 2008, 16:08
It removes them on the first run only.
To clarify: when 0.9.5 or newer reads a pre-0.9.5 configuration file, certain keyboard shortcuts get automatically removed. If you add them back manually later, they stay.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.