Increasing count of similar artists to 50

This commit is contained in:
simojenki
2021-07-27 07:28:46 +10:00
parent 95c44ca767
commit a40aeb52ae
2 changed files with 16 additions and 0 deletions

View File

@@ -389,6 +389,7 @@ export class Navidrome implements MusicService {
getArtistInfo = (credentials: Credentials, id: string): Promise<ArtistInfo> =>
this.getJSON<GetArtistInfoResponse>(credentials, "/rest/getArtistInfo", {
id,
count: 50,
}).then((it) => ({
image: {
small: validate(it.artistInfo.smallImageUrl),

View File

@@ -547,6 +547,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artist.id,
count: 50
}),
headers,
});
@@ -610,6 +611,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artist.id,
count: 50
}),
headers,
});
@@ -673,6 +675,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artist.id,
count: 50
}),
headers,
});
@@ -736,6 +739,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artist.id,
count: 50
}),
headers,
});
@@ -790,6 +794,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artist.id,
count: 50
}),
headers,
});
@@ -842,6 +847,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artist.id,
count: 50
}),
headers,
});
@@ -892,6 +898,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artist.id,
count: 50
}),
headers,
});
@@ -2151,6 +2158,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artistId,
count: 50
}),
headers,
}
@@ -2226,6 +2234,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artistId,
count: 50
}),
headers,
}
@@ -2301,6 +2310,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artistId,
count: 50
}),
headers,
}
@@ -2369,6 +2379,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artistId,
count: 50
}),
headers,
}
@@ -2447,6 +2458,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artistId,
count: 50
}),
headers,
}
@@ -2523,6 +2535,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artistId,
count: 50
}),
headers,
}
@@ -2594,6 +2607,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artistId,
count: 50
}),
headers,
}
@@ -2670,6 +2684,7 @@ describe("Navidrome", () => {
params: asURLSearchParams({
...authParams,
id: artistId,
count: 50
}),
headers,
}