Skip to content

Add background downloading to client

Jason Heard requested to merge background-download into master

The client will download songs in the background and cache up to 5 of them in memory. In addition, the upcoming song will also be cached. I hope to add caching to the filesystem later.

Other small changes:

  • Upgraded Actix and simplelog to latest versions in Cargo.toml
  • Ran cargo update to get latest versions. Unfortunately, I had to revert 'tokio' to 1.17.0 and 'mio' to 0.8.0 to fix Windows build for some reason.
  • Also split up the client config to reduce cloning as we discussed.
  • Finally, the server now uses local time for logging.
Edited by Jason Heard

Merge request reports