* fix: preserve empty nested groups in smart playlist criteria marshaling Fixes #6316 Empty nested groups were serialized incorrectly because of omitempty. Now only the active conjunction key is emitted, so empty groups become []. * docs: add changelog entry for #6316 * fix: recover playlists previously saved with empty nested groups Treats the old broken {} form as an empty All on unmarshal so existing playlists load again. * docs: mention recovery of previously broken playlists in changelog * style: run gofmt * fix: safer recovery of empty groups and nil slices - only treat {} as empty All when the group has no other rules - marshal nil slices as [] instead of null - drop CHANGELOG.md (release notes are generated from commits) * test: remove hand-built criteria test * test: add Ginkgo round-trip specs for empty nested groups * chore: remove CHANGELOG.md * docs: add docstrings to criteria json helpers * Revert "docs: add docstrings to criteria json helpers" This reverts commit 9f74c604a1afe88da6bde88b5fb15fb94c0bba43. * docs: add docstrings to criteria json helpers * test: fix criteria round-trip specs to use Criteria and gomega * fix(criteria): keep only the marshal fix for empty nested groups Remove the recovery that turned a group made only of {} elements into an empty All. It lived in the parser shared by POST bodies, .nsp files and scrobble filters, so it accepted inputs such as {"all":[{}]} that were rejected before, and turned them into rules that match the whole library. It also had to guess whether a saved {} was an empty all or an empty any. Rows already saved broken are a one-time cleanup, not something the parser should carry. Also remove the {}/null short-circuit (null was already handled, and {} only widened what the parser accepts), drop the doc comments that restated function names, and fold the round-trip specs into one table that checks the exact marshaled output for empty nested all and any groups. --------- Co-authored-by: kukirin-ui <kukirin-ui@users.noreply.github.com> Co-authored-by: Deluan <deluan@navidrome.org>
Navidrome Music Server 
Navidrome is an open source web-based music collection server and streamer. It gives you freedom to listen to your music collection from any browser or mobile device. It's like your personal Spotify!
Note: The master branch may be in an unstable or even broken state during development.
Please use releases instead of
the master branch in order to get a stable set of binaries.
Check out our Live Demo!
Any feedback is welcome! If you find a bug, please file a GitHub issue. If you need/want a new feature or think of any way to improve Navidrome, please share it in Discussions or join the discussion in our Subreddit. Before contributing code, please read the Contribution Guide. If you want to contribute to the project in any other way (ui/backend dev, translations, themes), please join the chat in our Discord server.
Installation
See instructions on the project's website
Cloud Hosting
Several cloud hosting providers partner with us to offer officially supported, cloud-hosted solutions. If you sign up with any of these providers, a share of the revenue funds the development of Navidrome at no additional cost for you.
Features
- Handles very large music collections
- Streams virtually any audio format available
- Reads and uses all your beautifully curated metadata
- Great support for compilations (Various Artists albums) and box sets (multi-disc albums)
- Multi-user, each user has their own play counts, playlists, favourites, etc...
- Very low resource usage
- Multi-platform, runs on macOS, Linux and Windows. Docker images are also provided
- Ready to use binaries for all major platforms, including Raspberry Pi
- Automatically monitors your library for changes, importing new files and reloading new metadata
- Supports lyrics from sidecar .ttml, .yaml/.yml Lyricsfile, .elrc, .lrc, .srt, .txt files and embedded TTML, Enhanced LRC, LRC, SRT, and plain-text tags (via
lyricspriority) - Themeable, modern and responsive Web interface based on Material UI
- Compatible with all Subsonic/Madsonic/Airsonic clients
- Transcoding on the fly. Can be set per user/player. Opus encoding is supported
- Translated to various languages
Translations
Navidrome uses POEditor for translations, and we are always looking for more contributors
Documentation
All documentation can be found in the project's website: https://www.navidrome.org/docs. Here are some useful direct links:
Screenshots
