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:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user