mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
convert query="" to query= for subsonic
This commit is contained in:
parent
58bb8e716e
commit
4407c8d424
1 changed files with 7 additions and 7 deletions
|
|
@ -273,7 +273,7 @@ export const SubsonicController: ControllerEndpoint = {
|
||||||
albumOffset: query.startIndex,
|
albumOffset: query.startIndex,
|
||||||
artistCount: 0,
|
artistCount: 0,
|
||||||
artistOffset: 0,
|
artistOffset: 0,
|
||||||
query: query.searchTerm || '""',
|
query: query.searchTerm || '',
|
||||||
songCount: 0,
|
songCount: 0,
|
||||||
songOffset: 0,
|
songOffset: 0,
|
||||||
},
|
},
|
||||||
|
|
@ -426,7 +426,7 @@ export const SubsonicController: ControllerEndpoint = {
|
||||||
albumOffset: startIndex,
|
albumOffset: startIndex,
|
||||||
artistCount: 0,
|
artistCount: 0,
|
||||||
artistOffset: 0,
|
artistOffset: 0,
|
||||||
query: query.searchTerm || '""',
|
query: query.searchTerm || '',
|
||||||
songCount: 0,
|
songCount: 0,
|
||||||
songOffset: 0,
|
songOffset: 0,
|
||||||
},
|
},
|
||||||
|
|
@ -906,7 +906,7 @@ export const SubsonicController: ControllerEndpoint = {
|
||||||
albumOffset: 0,
|
albumOffset: 0,
|
||||||
artistCount: 0,
|
artistCount: 0,
|
||||||
artistOffset: 0,
|
artistOffset: 0,
|
||||||
query: query.searchTerm || '""',
|
query: query.searchTerm || '',
|
||||||
songCount: query.limit,
|
songCount: query.limit,
|
||||||
songOffset: query.startIndex,
|
songOffset: query.startIndex,
|
||||||
},
|
},
|
||||||
|
|
@ -1048,7 +1048,7 @@ export const SubsonicController: ControllerEndpoint = {
|
||||||
albumOffset: 0,
|
albumOffset: 0,
|
||||||
artistCount: 0,
|
artistCount: 0,
|
||||||
artistOffset: 0,
|
artistOffset: 0,
|
||||||
query: query.searchTerm || '""',
|
query: query.searchTerm || '',
|
||||||
songCount: query.limit,
|
songCount: query.limit,
|
||||||
songOffset: query.startIndex,
|
songOffset: query.startIndex,
|
||||||
},
|
},
|
||||||
|
|
@ -1088,7 +1088,7 @@ export const SubsonicController: ControllerEndpoint = {
|
||||||
albumOffset: 0,
|
albumOffset: 0,
|
||||||
artistCount: 0,
|
artistCount: 0,
|
||||||
artistOffset: 0,
|
artistOffset: 0,
|
||||||
query: query.searchTerm || '""',
|
query: query.searchTerm || '',
|
||||||
songCount: MAX_SUBSONIC_ITEMS,
|
songCount: MAX_SUBSONIC_ITEMS,
|
||||||
songOffset: startIndex,
|
songOffset: startIndex,
|
||||||
},
|
},
|
||||||
|
|
@ -1191,7 +1191,7 @@ export const SubsonicController: ControllerEndpoint = {
|
||||||
albumOffset: 0,
|
albumOffset: 0,
|
||||||
artistCount: 0,
|
artistCount: 0,
|
||||||
artistOffset: 0,
|
artistOffset: 0,
|
||||||
query: query.searchTerm || '""',
|
query: query.searchTerm || '',
|
||||||
songCount: 1,
|
songCount: 1,
|
||||||
songOffset: sectionIndex,
|
songOffset: sectionIndex,
|
||||||
},
|
},
|
||||||
|
|
@ -1219,7 +1219,7 @@ export const SubsonicController: ControllerEndpoint = {
|
||||||
albumOffset: 0,
|
albumOffset: 0,
|
||||||
artistCount: 0,
|
artistCount: 0,
|
||||||
artistOffset: 0,
|
artistOffset: 0,
|
||||||
query: query.searchTerm || '""',
|
query: query.searchTerm || '',
|
||||||
songCount: MAX_SUBSONIC_ITEMS,
|
songCount: MAX_SUBSONIC_ITEMS,
|
||||||
songOffset: startIndex,
|
songOffset: startIndex,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue