oSumAtrIX / DownOnSpot

🎧 A Spotify music and playlist downloader working with free Spotify accounts written in Rust
https://osumatrix.me
GNU General Public License v3.0
555 stars 44 forks source link

Running in a Docker container doesn't download anything #30

Open flomader opened 2 years ago

flomader commented 2 years ago

Describe the bug When running the application in a Docker container nothing gets downloaded. The application just finishes without an error message.

To Reproduce Steps to reproduce the behavior:

  1. docker run -it ubuntu bash
  2. from a second shell: a. docker cp target/release bc410c0e362c:/usr/local/DownOnSpot
  3. run the application from the first shell

Expected behavior Files should be downloaded into the directory configured in the settings file.

Additional context looks like self.spotify.resolve_uri(&uri) (downloader.rs, Line 88) is causing the problem.

mossepso commented 1 year ago

I am having the same issue on the same distro. I have set up a multi-stage Dockerfile to build the command, but nothing downloads on the container.

Did you make any progress on this @flomader? Maybe another project even that does work in this setup?

flomader commented 1 year ago

@mossepso I changed to jsavargas/zspotify