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
548 stars 45 forks source link

Error: Invalid state { invalid digit found in string } when trying to download #67

Closed Edison12300 closed 7 months ago

Edison12300 commented 8 months ago

Whenever I try to download a song, it shows "Error: Invalid state { invalid digit found in string }"

image
LostXOR commented 8 months ago

This is also happening for me on Linux with Spotify Premium.

ncc-hyperion commented 8 months ago

Same issue for me!

PEERSOFTdev commented 7 months ago

Same for me. Steps to reproduce:

  1. In Ubuntu in WSL on the command line, I enter: rip https://open.spotify.com/track/3jkYFXONdX1Hi1swn6ao75 where rip is an alias.
  2. The output looks like this:
    
    Settings successfully loaded.                                                                                                        
    Continuing with spotify account: peer.gustavsson.                                                                                    
    Login succeeded.                                                                                                                     
    Preparing...       | The Days of Pearly Spencer                                                                                      

Elapsed second(s): 0
Error: Invalid state { invalid digit found in string } | The Days of Pearly Spencer
Finished download(s) in 1 second(s).



My Spotify account is premium, too.
Christof93 commented 7 months ago

It can be fixed by using the newest version of librespot. (Change rev to c491f90e09d6468829f004605fe14121a01c6674 in Cargo.toml)

ncc-hyperion commented 7 months ago

It can be fixed by using the newest version of librespot. (Change rev to c491f90e09d6468829f004605fe14121a01c6674 in Cargo.toml)

Are you able to advise a layman how to do this?

Edison12300 commented 7 months ago

It can be fixed by using the newest version of librespot. (Change rev to c491f90e09d6468829f004605fe14121a01c6674 in Cargo.toml)

Thanks!! It works now.

LostXOR commented 7 months ago

You should make a PR to update the version of librespot.

oSumAtrIX commented 7 months ago

Last version is Jul 29, 2022