Before the artwork is downloaded, the cache should be checked for any previously downloaded images.
This was trivial with rust-mpd and has been implemented that way currently. This feature is marked as IMPLEMENTED for now, but might be re-opened if we decide to handle querying MPD server ourselves.
The following should be configurable:
- Path to MPD Library
- Path to Save (Default: XDG_CACHE_HOME/rusty-kunst/artwork)
- Source to get album art from
- MPD Credentials and URL
This was relatively simple with the rust-mpd crate.
I think both Deezer and Spotify have APIs for getting album artwork too, so we have options / fallback providers.
Given that we are using a high level programming language like Rust, it may be possibe to spawn a window from Rust that supports Wayland, X and even Windows. Something like perhaps show_image. This could be the default behaviour and something like imv could be a configurable in the future?
Waiting for song changes will reduce the resource usage for the application.
This replaces the use of MPC by directly interacting with the MPD API.
Could be implemented from scratch or could use the rust-mpd crate. The crate hasn't been updated in a while, but does quite a lot that would need to be reimplemented.