gonic icon indicating copy to clipboard operation
gonic copied to clipboard

fix(getPlaylist): populate ArtistID and AlbumID

Open richardsamuels opened this issue 10 months ago • 2 comments

The OpenSubsonic getPlaylist spec doc lists artistId and albumId as fields for playlist entries, which are currently not being populated.

This PR populates those fields.

richardsamuels avatar Feb 24 '25 14:02 richardsamuels

Tests fixed.

  • The changes to .golangci.yml are to fix this error that popped up. It appears to be caused by an update to your linter action.
  • The testdata files were not formatted in a readable way after using GONIC_REGEN, so I ran them through jq. This did not match your previous formatting perfectly. Let me know if you have a preferred linter for those files and I can fix them.

richardsamuels avatar Feb 24 '25 14:02 richardsamuels

thanks @richardsamuels would you mind rebasing? i also usually format with prettier --parser json --write server/ctrlsubsonic/testdata/*

sentriz avatar Mar 24 '25 15:03 sentriz