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

Audio Key Error #20

Closed Puncia closed 2 years ago

Puncia commented 2 years ago

The program exits without downloading anything, giving the message "Audio Key Error"

image

It doesn't matter if I give a track link or if I use the search function. My config file is identical to the one automatically generated, except for the account credentials (free account) and client_id and client_secret. I also tried to create a new Spotify App from the dashboard and using different client credentials but the issue persists.

oSumAtrIX commented 2 years ago

Did you compile with the free-librespot crate?

Puncia commented 2 years ago

Yes I did. I downloaded the key and manually changed permissions to 400, set up the config file as per the example and then compiled following the instructions.

oSumAtrIX commented 2 years ago

Free accounts are limited to download up to 160kbit/s as said in the README. Make sure you set that.

Puncia commented 2 years ago

Right, I totally missed it, changing my config accordingly solved the issue.