Get album info (when available) from Last.fm, add getAlbumInfo endpoint (#2061)

* lastfm album.getInfo, getAlbuminfo(2) endpoints

* ... for description and reduce not found log level

* address first comments

* return all images

* Update migration timestamp

* Handle a few edge cases

* Add CoverArtPriority option to retrieve albumart from external sources

* Make agents methods more descriptive

* Use Last.fm name consistently

Co-authored-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Kendall Garner
2023-01-18 01:22:54 +00:00
committed by GitHub
parent 5564f00838
commit 93adda66d9
33 changed files with 797 additions and 188 deletions
+5
View File
@@ -63,6 +63,10 @@ const getArtistInfo = (id) => {
return httpClient(url('getArtistInfo', id))
}
const getAlbumInfo = (id) => {
return httpClient(url('getAlbumInfo', id))
}
const streamUrl = (id) => {
return baseUrl(url('stream', id, { ts: true }))
}
@@ -79,5 +83,6 @@ export default {
getScanStatus,
getCoverArtUrl,
streamUrl,
getAlbumInfo,
getArtistInfo,
}