Skip to content

Fix API call for filtering albums by year#50

Open
pR0Ps wants to merge 1 commit intopeguerosdc:masterfrom
pR0Ps:master
Open

Fix API call for filtering albums by year#50
pR0Ps wants to merge 1 commit intopeguerosdc:masterfrom
pR0Ps:master

Conversation

@pR0Ps
Copy link

@pR0Ps pR0Ps commented Sep 8, 2024

This changes the year filtering parameters from to/from to toYear/fromYear as defined in the Subsonic API docs.

Note that I haven't tested this, I just saw the error in the version deployed at https://subplayer.netlify.app/ and did some basic searching to track down why it was failing.

EDIT: got it building locally and confirmed that the fix works against a local Supysonic v0.7.8 server

This changes the parameters from `to`/`from` to `toYear`/`fromYear` as defined in the Subsonic API docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant