[Bug] Artist page fails to render if getTopSongs errors
jprjr opened this issue ยท 3 comments
Hi there -
I'm using airsonic-refix with gonic as a backend.
I enabled last.fm integration in Gonic. When calling getTopSongs
- it seems that Gonic can return an error response if it can't locate the artist on last.fm, or has some other issue with connecting last.fm results with tracks. Either way, it returns error code 70
(data not found).
This causes airsonic-refix to throw an error and the artist page never renders - it just displays the loading icon.
I also noticed this. gonic should probably also be updated to return an empty list or something . need to see what the spec says
EDIT: oh didn't see the 70 part, that sounds right ๐
Would be best if server can return empty list. I can work around it client side, but I am unable to test it as it requires setting up a last.fm account.. Without enabling last.fm gonic always returns 200 ok.