Preset state lost on service restart #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the pedal service restarts, it forgets the active preset and jumps to bank 1 program 1 (empty default). The UI shows an empty chain.
Root cause: PresetManager saves current_bank/current_program on change but doesn't reload them on init.
Fix:
Labels: bug, priority/high
Fixed in commit
47bb535. Added self.restore_state() call at the end of PresetManager.init() so last active preset is tracked after boot.