DownOnSpot icon indicating copy to clipboard operation
DownOnSpot copied to clipboard

silent failure to download

Open VincentGijsen opened this issue 3 years ago • 3 comments

Describe the bug after compilation compilation, it failes silently...
it is compiled, then executing:


Settings successfully loaded.
Continuing with spotify account: <RED>.
Login succeeded.

Nothing happens, no download, am i using it wrong, or is ClientID / Secret to be filled-out, other than standard?

settings:

{
  "username": "<RED>",
  "password": "<RED>",
  "client_id": "client_id",
  "client_secret": "secret",
  "refresh_ui_seconds": 1,
  "downloader": {
    "concurrent_downloads": 4,
    "quality": "Q320",
    "path": "downloads",
    "filename_template": "%artist% - %title%",
    "id3v24": true,
    "convert_to_mp3": false,
    "separator": ", "
  }
}

used brew install lame to get lame mp3 on my system.

To Reproduce

bash-3.2$ ./down_on_spot https://open.spotify.com/playlist/6bYg4fYfP0TNNKpOqLDRSR

Expected behavior a download, progress or failue, instead, jumps straight to terminal

  • OS: (MacOsx Darwin <RED> 19.6.0 Darwin Kernel Version 19.6.0: Thu Nov 11 20:02:32 PST 2021; root:xnu-6153.141.49~1/RELEASE_X86_64 x86_64),
  • Basically old Macbook Air

VincentGijsen avatar Dec 12 '21 15:12 VincentGijsen

adding some debug-lines, i have not the error: Error: invalid_client: Invalid client, do i presume correctly that i need a Devaccount from spotify?

edit: adding dev api reqs, solved the issue; guess slight imporvement suggestion is log invalid client_id?,

VincentGijsen avatar Dec 12 '21 15:12 VincentGijsen

adding dev api reqs, solved the issue;

How do I get these?

Edit: Here - https://developer.spotify.com/dashboard/applications

benjick avatar Apr 09 '22 21:04 benjick

Goto developer.Spotify.com, sign in with your Spotify credentials, create new app, and voilà. It gives you api I’d and key.

Sent from my phone

On 9 Apr 2022, at 23:22, Max Malm @.***> wrote:

 adding dev api reqs, solved the issue;

How do I get these?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

VincentGijsen avatar Apr 10 '22 07:04 VincentGijsen

Observing the "Silent failure" issue as well, no clear indication in the TUI, and the file is made (.mp3). But it is impossibly small / incomplete.

Kinda related - https://github.com/oSumAtrIX/DownOnSpot/issues/19#issuecomment-1029105723

ckcr4lyf avatar Aug 25 '23 08:08 ckcr4lyf

Moving to #53

oSumAtrIX avatar Aug 25 '23 15:08 oSumAtrIX