fiso64 / slsk-batchdl

A batch downloader for Soulseek
GNU General Public License v3.0
216 stars 16 forks source link

"running" but not doing anything. No Errors #24

Closed varoudis closed 6 months ago

varoudis commented 6 months ago

I get no error or anything. Any ideas for how to troubleshoot?



Windows: Recommended to use the command prompt instead of terminal app to avoid printing issues.

Parsing CSV track info

Using inferred columns: artist:"Artist", title:"Title".

Warning: No duration column found, results may be imprecise

  XXX - XXX

  XXXX - XXXXX

  ... (etc)

Downloading 10 tracks```

Then it stays there and does nothing.
Windows 11 Pro.
fiso64 commented 6 months ago

Try running it with input "artist=Artist,title=Title" with some valid Artist and Title. Does it work? Please provide the full command you used and a section of the csv file so I can try to reproduce it.

varoudis commented 6 months ago

nothing again. Windows 11 with dotnet 8.03 I believe.

.\slsk-batchdl.exe --username "XXXXX" --password "XXXX" --pref-format "flac" --concurrent-downloads 6 -p .\ "artist=Prodigy,title=Firestarter" Windows: Recommended to use the command prompt instead of terminal app to avoid printing issues.

My test csv is:

Artist,Title FLUG & SEBASTIAN LOPEZ,The Piano SHLOMI ABER,That's The Way I Speak ROMAN PONCET,Focal ACKERMANN,Consciousness (Marcal Remix)

fiso64 commented 6 months ago

I'm unable to reproduce it for the single track download (obviously). Could you try the self-contained version? And if you have wsl, could you try the linux build? Also, make sure you're not logged in with the same username in any other soulseek programs.

I will add an option to print debug info.

fiso64 commented 6 months ago

I have updated the latest 2.0 release to add the --debug option. Please try running the single song search with the following additional options: --debug --display simple --concurrent-downloads 1

varoudis commented 6 months ago

It stops on "Login XXXX". The login/pass works. I tested on the same system with the official GUI Any ideas?

fiso64 commented 6 months ago

I have updated the latest release again to add the option --no-wait-for-internet. Please run it again with the options above + --no-wait-for-internet. If it then gets stuck at "Setting share count", try again with the additional option --no-modify-share-count.

varoudis commented 6 months ago

"--no-wait-for-internet" Worked. What was this doing?

EDIT: I checked the code. Opening "www.google.com" is indeed heavily filtered along with other things. So this new addition is very useful (for others too)

fiso64 commented 6 months ago

Thank you for debugging. The internet check is useful to prevent the program from failing after a short network disconnect, but I realize now that it would be smarter to just catch that particular error than checking with google..