1
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by marc2k3 -https://jscript-panel.github.io/docs/changes/3-4-x/#3420
Although the changelog only explicitly mentions disabled menu items, it also refuses to run items that are never displayed. It seems like Random pools does exactly this making them for keyboard shortcuts only.
https://github.com/marc2k3/foobar2000-sdk/blob/7f047cf2e541dd2f756c023195ef95285947d201/foobar2000/SDK/menu.h#L53-L54
Quote
//! Retrieves display string and display flags to use when menu is about to be displayed. If returns false, menu item won't be displayed. You can create keyboard-shortcut-only commands by always returning false from get_display().
Running hidden items should be perfectly fine and is expected to work.
---
As for the data loss on downgrade, it's because I changed the SDK target version to fb2k v2. When you upgrade from a v1 compatible component that saved its config in configuration\foo_jscript_panel3.dll.cfg, settings are migrated to config.sqlite and the old .cfg is deleted by fb2k itself. So if you downgrade, the existing configuration stored in config.sqlite is ignored because the component is compatible with v1 again so it relies on that .cfg file that no longer exists - it starts as if it's a fresh install.