navidrome/conf
Deluan 08e632d918 feat: add configurable visibility control for NowPlaying feature
Replaces the boolean EnableNowPlaying option with a more flexible NowPlaying configuration structure containing Enabled and AdminOnly flags. This allows three visibility modes: disabled, admin-only, and all users.

The new configuration uses nowplayingOptions struct similar to jukeboxOptions, with the following defaults:
- NowPlaying.Enabled: true (feature enabled)
- NowPlaying.AdminOnly: false (visible to all users)

The old EnableNowPlaying option is deprecated and automatically migrated to NowPlaying.Enabled with a warning message.

Frontend changes update the AppBar component to conditionally render NowPlayingPanel based on both the enabled state and the admin-only permission check. Server-side enforcement of the AdminOnly setting is added in a follow-up commit.

Signed-off-by: Deluan <deluan@navidrome.org>
2026-06-19 22:08:27 -04:00
..
buildtags feat(server): implement FTS5-based full-text search (#5079) 2026-02-21 17:52:42 -05:00
configtest refactor(conf): replace eager dir creation with lazy Dir type (#5495) 2026-05-13 17:44:22 -03:00
mime fix(ui): service worker does not load new version of ui (#3402) 2024-10-16 21:39:14 -04:00
testdata feat: accept ND_-prefixed env var names in config files (#5258) 2026-03-28 13:17:31 -04:00
configuration.go feat: add configurable visibility control for NowPlaying feature 2026-06-19 22:08:27 -04:00
configuration_test.go refactor(conf): replace eager dir creation with lazy Dir type (#5495) 2026-05-13 17:44:22 -03:00
dir.go fix(conf): make Dir a plain value type to prevent sync.Once corruption (#5543) 2026-05-27 23:18:35 -03:00
dir_test.go fix(conf): make Dir a plain value type to prevent sync.Once corruption (#5543) 2026-05-27 23:18:35 -03:00
export_test.go feat(server): add EnforceNonRootUser config option to exit early if started as root (#5373) 2026-04-21 21:27:54 -04:00