Closed toniz4 closed 3 years ago
Can you send in the part of your code that downloads the songs?
https://gitlab.com/heyitscassio/deezgo/-/blob/master/main.go#L233 it's in this function, I tried using song.Write too, same effect
I've ran
env GODEBUG=http2debug=1 go run . get -f flac https://www.deezer.com/us/track/793554582
with deezgo a couple times in an attempt to reproduce the error and I
have not yet been able to. I'll keep trying to reproduce the error and
I'll let you know if I'm able to.
try to download a whole artist discography, I've found problems doing that. When I have time I will try to come up with a program that shows this problem. For now try: ./deezgo get -f flac -p /tmp/music 'https://www.deezer.com/us/artist/399'
I believe the error should be now fixed in 142b8240e3ef8f55aa94a6e39d00a2b54981c2a7. After making this change the error hasn't occurred anymore. Upgrade to v1.2.1 and reopen this issue if the error occurs again.
Thanks! Now it woks as intended.
When trying to download many songs I get this error. It ocours on random songs, and sometimes doesn't happens. And when it happens, It doesn't trows an error, so it locks the program. This bug report might be relevant https://github.com/golang/go/issues/29125.
here is the relevant part of the log that I get when running my program with
GODEBUG=http2debug=1
:Sometimes it takes a while to happen, some times not. The full log is almost 300M, if you want I can upload it somewere, but i didin't saw anything important there.