Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Configure Maximum number of songs/artists/albums to return in search #132

Open
hak0 opened this issue Feb 25, 2024 · 1 comment

Comments

@hak0
Copy link

hak0 commented Feb 25, 2024

In the subsonic API search3, by default the search result is limited by 20. If there are more than 20 artists/albums/songs in the search result, they will be discarded. This can cause problems for airsonic-refix users since they may not get the album they want in the search result.

To get the full search result, we need to set the artistCount, albumCount and songCount in the search request. The request may looks like: search3.view?artistCount=100&albumCount=100&songCount=100

I think we could either add 3 environment variables to configure these values, or just simply add 3 hard-coded limitation parameters(e.g. 500 or 1000) in the request.

@khers
Copy link

khers commented Feb 27, 2024

search3 is page-able so one possible fix would be to allow the user to request the next page for any of the categories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants