mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
Fix album detail endpoint to use correct parameter
- Change album endpoint from ?id= to ?f= to match API spec - Album search parsing is correct (data.albums.items) - Album detail parsing is correct (data with items array)
This commit is contained in:
@@ -289,7 +289,7 @@ public class SquidWTFMetadataService : IMusicMetadataService
|
|||||||
|
|
||||||
return await TryWithFallbackAsync(async (baseUrl) =>
|
return await TryWithFallbackAsync(async (baseUrl) =>
|
||||||
{
|
{
|
||||||
var url = $"{baseUrl}/album/?id={externalId}";
|
var url = $"{baseUrl}/album/?f={externalId}";
|
||||||
|
|
||||||
var response = await _httpClient.GetAsync(url);
|
var response = await _httpClient.GetAsync(url);
|
||||||
if (!response.IsSuccessStatusCode) return null;
|
if (!response.IsSuccessStatusCode) return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user