melodee icon indicating copy to clipboard operation
melodee copied to clipboard

Subsonic/OpenSubsonic Compatibility Matrix

Open sphildreth opened this issue 10 months ago • 0 comments

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)
  • 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
    • 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)
  • 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:
      • ping
      • getLicense (only if Melodee implements/uses it; otherwise document “Not Supported”)
      • getArtists, getArtist, getAlbum, getSong
      • stream
      • 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)
  • 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.
  • 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
    • Add CI validation that the compatibility matrix file exists and is linked from README.

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}

sphildreth avatar Jan 10 '26 21:01 sphildreth