navidrome/core/metrics
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
..
insights fix(artwork): address WebP performance regression on low-power hardware (#5286) 2026-04-04 15:17:01 -04:00
insights.go feat: add configurable visibility control for NowPlaying feature 2026-06-19 22:08:27 -04:00
insights_darwin.go feat(Insights): add anonymous usage data collection (#3543) 2024-12-17 17:10:55 -05:00
insights_default.go feat(Insights): add anonymous usage data collection (#3543) 2024-12-17 17:10:55 -05:00
insights_linux.go fix(insights): add Parallels Shared Folders filesystem type to fsTypeMap 2025-12-02 17:00:13 -05:00
insights_windows.go fix(insights): get Windows version 2024-12-21 14:54:14 -05:00
prometheus.go fix(prometheus): report subsonic error code (#4282) 2025-06-30 11:54:02 -04:00