~jonnobrow

https://jonathanbartlett.co.uk

Trackers

~jonnobrow/rusty-kunst-features

Last active 1 year, 3 months ago

~jonnobrow/rusty-kunst-bugs

Last active 1 year, 3 months ago

#6 Check cache for artwork 1 year, 3 months ago

Ticket created by ~jonnobrow on ~jonnobrow/rusty-kunst-features

Before the artwork is downloaded, the cache should be checked for any previously downloaded images.

#1 Query current song from MPD API 1 year, 3 months ago

Comment by ~jonnobrow on ~jonnobrow/rusty-kunst-features

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.

REPORTED RESOLVED IMPLEMENTED

#5 Configuration 1 year, 3 months ago

Ticket created by ~jonnobrow on ~jonnobrow/rusty-kunst-features

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

#2 Use MPD 'idle player' command to wait for song changes 1 year, 3 months ago

Comment by ~jonnobrow on ~jonnobrow/rusty-kunst-features

This was relatively simple with the rust-mpd crate.

REPORTED RESOLVED IMPLEMENTED

#4 Extract cover art 1 year, 3 months ago

Comment by ~jonnobrow on ~jonnobrow/rusty-kunst-features

I think both Deezer and Spotify have APIs for getting album artwork too, so we have options / fallback providers.

#3 Open the cover image with an image viewer 1 year, 3 months ago

Comment by ~jonnobrow on ~jonnobrow/rusty-kunst-features

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?

#2 Use MPD 'idle player' command to wait for song changes 1 year, 3 months ago

core added by ~jonnobrow on ~jonnobrow/rusty-kunst-features

#2 Use MPD 'idle player' command to wait for song changes 1 year, 3 months ago

Ticket created by ~jonnobrow on ~jonnobrow/rusty-kunst-features

Waiting for song changes will reduce the resource usage for the application.

#1 Query current song from MPD API 1 year, 3 months ago

core added by ~jonnobrow on ~jonnobrow/rusty-kunst-features

#1 Query current song from MPD API 1 year, 3 months ago

Ticket created by ~jonnobrow on ~jonnobrow/rusty-kunst-features

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.