diff --git a/src/renderer/api/subsonic/subsonic-controller.ts b/src/renderer/api/subsonic/subsonic-controller.ts index 0525b09a9..9c00e19f0 100644 --- a/src/renderer/api/subsonic/subsonic-controller.ts +++ b/src/renderer/api/subsonic/subsonic-controller.ts @@ -1195,6 +1195,7 @@ export const SubsonicController: InternalControllerEndpoint = { albumOffset: 0, artistCount: 0, artistOffset: 0, + musicFolderId: getLibraryId(query.musicFolderId), query: query.searchTerm || '', songCount: query.limit, songOffset: query.startIndex, @@ -1339,6 +1340,7 @@ export const SubsonicController: InternalControllerEndpoint = { albumOffset: 0, artistCount: 0, artistOffset: 0, + musicFolderId: getLibraryId(query.musicFolderId), query: query.searchTerm || '', songCount: query.limit, songOffset: query.startIndex, @@ -1379,6 +1381,7 @@ export const SubsonicController: InternalControllerEndpoint = { albumOffset: 0, artistCount: 0, artistOffset: 0, + musicFolderId: getLibraryId(query.musicFolderId), query: query.searchTerm || '', songCount: MAX_SUBSONIC_ITEMS, songOffset: startIndex, @@ -1482,6 +1485,7 @@ export const SubsonicController: InternalControllerEndpoint = { albumOffset: 0, artistCount: 0, artistOffset: 0, + musicFolderId: getLibraryId(query.musicFolderId), query: query.searchTerm || '', songCount: 1, songOffset: sectionIndex, @@ -1510,6 +1514,7 @@ export const SubsonicController: InternalControllerEndpoint = { albumOffset: 0, artistCount: 0, artistOffset: 0, + musicFolderId: getLibraryId(query.musicFolderId), query: query.searchTerm || '', songCount: MAX_SUBSONIC_ITEMS, songOffset: startIndex,