Music Folder extension to extend musicFolderID support to more endpoints#162
Music Folder extension to extend musicFolderID support to more endpoints#162dweymouth wants to merge 3 commits into
Conversation
✅ Deploy Preview for opensubsonic ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
I think So if I have a playlist with songs from 2 libraries, when passing a musicFolderId to |
kgarner7
left a comment
There was a problem hiding this comment.
Required changes:
- Fix build
- Update OpenAPI Docs
Suggested endpoints to also extend:
getArtist: for servers which support artists across libraries (not OG subsonic), only return albums in that specific library (and properalbumCount)getBookmarks: only show bookmarks for items in a given librarygetShares: only show shares for a given library
Endpoints where it might make sense:
getScanStatus/startScan. If servers support per-library scanning. Maybe that's a separate extension?getVideos(not sure this is relevant, since OS is mostly audio, but to be technically correct)
Endpoints that probably shouldn't:
getPlayQueue/savePlayQueue(and*Index): this is extremely complicated for maintaining current
IMO, it doesn't makes sense for getShares to have the musicFolderId. AFAIK, shares are not saved per library. |
Shared content would come from a library / musicfolder so you should be able to list shares by folder id (The share isn't part of the folder)
It wouldn't happen often but you should be able to filter playlist content by folder id
Indexing per library could be slower for a lot of people so i would say should. But I would extend to support it myself. |
|
+1 for this. My client (Radiccio) already sends Currently, when browsing a specific music folder, we have no choice but to display artist albums that don't belong to that folder, which is not the desired user experience. If it were also implemented for |
|
My server currently has no support for multiple music folders but it might be added later. In that case, I wouldn't want to have the musicFolderId-filtering on |
|
Could we perhaps use the versioning mechanism to include or exclude playlists? Version 1 excludes playlists, version 2 includes playlists? Then, servers could advertise whichever version they want to support. Alternatively, we could have a separate extension just for playlists. That feels rather unnecessarily complex to me, but it could also solve the problem. |
Open questions