Browse Source

Various api fixes

- Fix undefined genre and artist on album returns
- Add playcount to album
master
jeffvli 3 years ago
committed by Jeff
parent
commit
f542895839
  1. 4
      src/api/api.ts

4
src/api/api.ts

@ -409,9 +409,7 @@ export const getArtist = async (options: { id: string }) => {
biography: infoData.artistInfo2.biography,
lastFmUrl: infoData.artistInfo2.lastFmUrl,
externalImageUrl: infoData.artistInfo2.largeImageUrl,
similarArtist: (infoData.artistInfo2.similarArtist || []).map((entry: any) =>
normalizeArtist(entry)
),
similarArtist: infoData.artistInfo2.similarArtist,
});
};

Loading…
Cancel
Save