epoupon / lms

Lightweight Music Server. Access your self-hosted music using a web interface.
http://lms-demo.poupon.dev
GNU General Public License v3.0
1.09k stars 61 forks source link

Wrong album count #483

Closed alessandrococco closed 3 months ago

alessandrococco commented 3 months ago

Hello!

I noticed that the album count exposed by LMS is wrong:

image

I don't know what these numbers represent - they're not the tracks count 🤔

This is the LMS response:

curl --location 'https://lms.alessandrococco.com/rest/getArtists?c=postman&v=1.16.0&u=alessandro&p=REDACTED'

image

I'm using lms 3.54.

epoupon commented 3 months ago

Ah this is certainly a regression on some query refactoring that were made recently. Thanks for reporting!

epoupon commented 3 months ago

Hello! Would you mind testing the docker image 67ebbdce to confirm for both issues are solved?

alessandrococco commented 3 months ago

Hello! Would you mind testing the docker image 67ebbdc to confirm for both issues are solved?

Hello! I just tried via podman using a sample library (I cannot access my server now), the values seem correct, thanks!