melodee
melodee copied to clipboard
Subsonic/OpenSubsonic Compatibility Matrix
Description
Publish a clear, honest Subsonic/OpenSubsonic compatibility matrix for Melodee and back it with automated parity tests in CI, so users can quickly confirm whether their favorite Subsonic clients and workflows will work.
Requirements
- Documentation
- Create a public-facing “Compatibility Matrix” Jekyll documentation page (opensubsonic-matrix.md) that includes:
- Implemented Subsonic REST endpoints (core list + any additional endpoints Melodee supports).
- Supported OpenSubsonic extensions (explicitly listed).
- Known limitations / differences vs common servers (e.g., Navidrome/Airsonic) written plainly.
- A “Last updated” date and the Melodee version the matrix applies to.
- Link the compatibility matrix from:
- the repo README (high visibility)
- the docs navigation (if applicable)
- Create a public-facing “Compatibility Matrix” Jekyll documentation page (opensubsonic-matrix.md) that includes:
- Matrix structure (must be consistent and easy to scan)
- For each endpoint/feature row include:
- Name (e.g.,
getArtists) - Status:
Supported,Partial,Not Supported,Planned - Notes (required for Partial / Not Supported)
- Test coverage marker:
Automated,Manual,None
- Name (e.g.,
- Include a “Client behavior notes” section for the most common client assumptions:
- Symfonium (Android)
- Feishin (Desktop)
- At least 1 additional client (e.g., DSub / Ultrasonic)
- For each endpoint/feature row include:
- Automated parity test suite
- Add an automated integration test project (or extend existing test projects) that:
- Spins up Melodee in test mode (or uses test host) with a seeded database and media fixtures.
- Executes Subsonic/OpenSubsonic API calls against the running instance.
- Validates response shape, key fields, and expected status codes.
- Tests must cover at minimum:
pinggetLicense(only if Melodee implements/uses it; otherwise document “Not Supported”)getArtists,getArtist,getAlbum,getSongstream- playlists: create/update/delete/get playlist
- starred/favorites
- ratings
- scrobble
- search endpoints relied on by top clients (Symfonium/Feishin)
- The test suite must run in CI on every PR and on main branch merges.
- The test suite must fail CI if:
- a previously “Supported” endpoint becomes broken
- response contract changes in a way that violates expectations (unless the matrix is updated in the same PR)
- Add an automated integration test project (or extend existing test projects) that:
- Manual client verification
- Maintain a “Client Verification” section in the matrix doc with:
- client name + platform
- Melodee version tested
- date tested
- what was verified (login, browse, stream, playlists, search, favorites, scrobble)
- known issues/workarounds
- Require at least 3 popular clients to be verified manually and documented.
- Maintain a “Client Verification” section in the matrix doc with:
- Developer workflow / governance
- Add a lightweight rule:
- Any change to Subsonic/OpenSubsonic behavior must include:
- updated parity tests (if applicable)
- updates to the compatibility matrix notes/status
- Any change to Subsonic/OpenSubsonic behavior must include:
- Add CI validation that the compatibility matrix file exists and is linked from README.
- Add a lightweight rule:
Success Criteria
- A compatibility matrix document exists in the Jekyll docs and is linked from the Jekyll "api-opensubsonic" page.
- The matrix clearly lists:
- implemented Subsonic endpoints
- supported OpenSubsonic extensions
- known limitations/differences (with notes for partial/unsupported items)
- CI runs an automated “Subsonic parity test” suite against a seeded Melodee instance.
- The parity test suite covers the minimum endpoint set:
ping,getArtists,getArtist,getAlbum,getSong,stream- playlist create/update/delete/get
- starred/favorites, ratings, scrobble
- key search endpoints used by Symfonium/Feishin
- CI fails if a previously supported endpoint breaks unless the matrix is updated in the same PR.
- At least 3 popular clients are manually verified and documented in the matrix (i ::contentReference[oaicite:0]{index=0}