library.get_images only works for tracks, not albums or artists
library.get_images
returns images based on the track matching the requested id, even if the URI refers to a different type of resource. This makes viewing albums and artists in a client that supports images for them pretty confusing, with seemingly random thumbnails.
Mopidy logs showing said behaviour
DEBUG:mopidy.http.handlers:Received WebSocket message from 10.0.1.28: '{"method":"core.library.get_images","params":{"uris":["funkwhale:directory:albums:by-name:5"]},"jsonrpc":"2.0","id":14}' DEBUG:mopidy_funkwhale.library:Handling get images: ['funkwhale:directory:albums:by-name:5'] DEBUG:requests_oauthlib.oauth2_session: ... DEBUG:urllib3.connectionpool:https://funkwhale:443 "GET /api/v1/tracks/5/ HTTP/1.1" 200 2782 DEBUG:mopidy.http.handlers:Sent WebSocket message to 10.0.1.28: '{"jsonrpc": "2.0", "id": 14, "result": {"funkwhale:directory:albums:by-name:5": [{"__model__": "Image", "uri": "https://funkwhale/media/attachments/8d/6e/4d/attachment_cover-86d86086-1ddb-4092-be19-5e00974f8ef1.png"}, {"__model__": "Image", "uri": "https://funkwhale/media/__sized__/attachments/8d/6e/4d/attachment_cover-86d86086-1ddb-4092-be19-5e00974f8ef1-crop-c0-5__0-5-200x200.png", "width": 200, "height": 200}, {"__model__": "Image", "uri": "https://funkwhale/media/__sized__/attachments/8d/6e/4d/attachment_cover-86d86086-1ddb-4092-be19-5e00974f8ef1-crop-c0-5__0-5-600x600.png", "width": 600, "height": 600}]}}'