dweymouth / supersonic

A lightweight and full-featured cross-platform desktop client for self-hosted music servers
GNU General Public License v3.0
675 stars 26 forks source link

Items with no available cover image will keep being re-requested whenever shown #267

Open dweymouth opened 8 months ago

dweymouth commented 8 months ago

Currently there is no system in place to mark a cover as requested but unavailable. So whenever an entity (artist, album, etc) with no available art is shown on screen, it will re-request the art from the server. We should store the fact that the cover is requested but unavailable so it will not keep retrying.

Ideas:

dweymouth commented 8 months ago

We also may want to treat a 429 (rate limited) error differently from a 404 or other error. May need to update go-subsonic to expose this in the error type returned by the getCoverArt function. See https://github.com/SubmarinerApp/Submariner/issues/174 for more context