quintodrome/cmd
Deluan Quintão a3d1a9dbe5
fix(plugins): silence plugin warnings and folder creation when plugins disabled (#4297)
* fix(plugins): silence repeated “Plugin not found” spam for inactive Spotify/Last.fm plugins

Navidrome was emitting a warning when the optional Spotify or
Last.fm agents weren’t enabled, filling the journal with entries like:

    level=warning msg="Plugin not found" capability=MetadataAgent name=spotify

Fixed by completely disable the plugin system when Plugins.Enabled = false.

Signed-off-by: Deluan <deluan@navidrome.org>

* style: update test description for clarity

Signed-off-by: Deluan <deluan@navidrome.org>

* fix: ensure plugin folder is created only if plugins are enabled

Signed-off-by: Deluan <deluan@navidrome.org>

---------

Signed-off-by: Deluan <deluan@navidrome.org>
2025-07-02 13:17:59 -04:00
..
backup.go fix(server): backup and restore issues from the cli (#3579) 2024-12-22 16:41:40 -05:00
cmd_suite_test.go feat(plugins): experimental support for plugins (#3998) 2025-06-22 20:45:38 -04:00
inspect.go feat(bfr): Big Refactor: new scanner, lots of new fields and tags, improvements and DB schema changes (#2709) 2025-02-19 20:35:17 -05:00
pls.go feat(bfr): Big Refactor: new scanner, lots of new fields and tags, improvements and DB schema changes (#2709) 2025-02-19 20:35:17 -05:00
plugin.go feat(plugins): allow Plugins to call the Subsonic API (#4260) 2025-06-25 14:18:32 -04:00
plugin_test.go feat(plugins): experimental support for plugins (#3998) 2025-06-22 20:45:38 -04:00
root.go feat(plugins): allow Plugins to call the Subsonic API (#4260) 2025-06-25 14:18:32 -04:00
scan.go fix(scanner): update prometheus at the end of the scan (#4163) 2025-06-02 20:13:54 -04:00
signaller_nounix.go Fix typo 2024-05-01 23:09:11 -04:00
signaller_unix.go feat(bfr): Big Refactor: new scanner, lots of new fields and tags, improvements and DB schema changes (#2709) 2025-02-19 20:35:17 -05:00
svc.go build: add packages for deb and rpm to release (#3202) 2024-10-26 13:31:45 -04:00
wire_gen.go fix(plugins): silence plugin warnings and folder creation when plugins disabled (#4297) 2025-07-02 13:17:59 -04:00
wire_injectors.go fix(plugins): silence plugin warnings and folder creation when plugins disabled (#4297) 2025-07-02 13:17:59 -04:00