diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-02 13:22:44 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-02 13:22:44 +0100 |
| commit | 2c044de38f6adcfbd3cc64eb9fa55e67d61e6f94 (patch) | |
| tree | 24a7a55a70b2235d115d9861d24385a61725e7b8 /PLAN.md | |
| parent | seek: jump within the current track from the CLI and over MPRIS (diff) | |
| download | rsplayer-2c044de38f6adcfbd3cc64eb9fa55e67d61e6f94.tar.gz rsplayer-2c044de38f6adcfbd3cc64eb9fa55e67d61e6f94.zip | |
config: parse the config once and reuse it until the file changes
Every command, status line and notification went through Config::load, which
reads *and* rewrites config.toml, so `rsp status` alone touched the file on
each call.
The daemon now keeps a parsed copy and only stats the file to notice outside
edits, so `rsp settings set` still takes effect immediately. Config::save
refreshes the cached copy too, and Config::config_path is shared by the loader
and the cache.
Diffstat (limited to 'PLAN.md')
0 files changed, 0 insertions, 0 deletions
