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.02k stars 60 forks source link

[feature request] make subsonic browse folder endpoint compliant #474

Open parisni opened 1 month ago

parisni commented 1 month ago

Hi,

I know you don't want to invest on browse directory feature #94

Still subsonic provides such endpoint (sorry I can't point to it) and apparently you implemented it.

Most clients provide the browse folder feature (dsub, symphonium, tempo...). While both subsonic and airsonic return the actual folder tree, LMS likely returns the artist tree. BTW this discussion clarifies the topic I d'say

So I wonder if you could make this compliant to provide the browse file feature at low cost (no need to implement the tree traversal on the web ui, only slighky change the endpoint behavior)

Thanks !

epoupon commented 1 month ago

Hello! Yes it is actually planned to change that. Only for the subsonic API, as you said.

parisni commented 1 month ago

Correct me if i'm wrong, the endpoint is getIndexes

Quoted from the discussion linked in the OP:

Actually was able to repro on Airsonic, the API returns artists (and the api description says: Returns an indexed structure of all artists.) but it’s actual folders despite the naming and doc.

My understanding is the api documentation reflects the default behavior of subsonic which is to store the folders with artists as first level.