BandcampDownloader icon indicating copy to clipboard operation
BandcampDownloader copied to clipboard

Downloads repeatedly stuck

Open kokoropop opened this issue 3 years ago • 18 comments

App downloads only 0,15-0,45 Mb and stops. Not crushes. It looks like a problem with network, but network works good. Log BandcampDownloader.log

image

kokoropop avatar Jul 28 '22 08:07 kokoropop

Can you reach http://t4.bcbits.com/stream/bd6c5212ea40149e0c7d5cc736d3c797/mp3-128/3386989173?p=0&ts=1659081457&t=b8d9b9fab3c59a82fcb2f0d17550003ba12c6195&token=1659081457_49444f4abfbdb08b225c34912dc2041f1f1d444e in your browser ?

Any BandcampDownloader entry in Event Viewer > Windows Logs > Application ?

Otiel avatar Jul 28 '22 08:07 Otiel

Can you reach http://t4.bcbits.com/stream/bd6c5212ea40149e0c7d5cc736d3c797/mp3-128/3386989173?p=0&ts=1659081457&t=b8d9b9fab3c59a82fcb2f0d17550003ba12c6195&token=1659081457_49444f4abfbdb08b225c34912dc2041f1f1d444e in your browser ?

Any BandcampDownloader entry in Event Viewer > Windows Logs > Application ?

Yes, I can reach it and download manually.

kokoropop avatar Jul 28 '22 16:07 kokoropop

Does this happen for all albums?

Otiel avatar Jul 30 '22 06:07 Otiel

Does this happen for all albums?

Yes. But one strange thing happened. Today's night at 1 a.m (in my local time) app worked, and I downloaded albums without problem. But now 9 a.m and app doesn't work again. BandcampDownloader.log

kokoropop avatar Jul 30 '22 07:07 kokoropop

It looks like your downloads are being restricted, most probably by Bandcamp.

Otiel avatar Jul 30 '22 13:07 Otiel

It looks like your downloads are being restricted, most probably by Bandcamp.

Is it possible to fix?

kokoropop avatar Jul 30 '22 13:07 kokoropop

It can happen if you download lots of albums. In that case, what works usually is to wait some time before downloading again.

Otiel avatar Jul 30 '22 15:07 Otiel

I don't understand how Bandcamp restricts my downloads. What principles? Why I can download manually but can't do it with app? I use this app for five years, I usually download 40-45 tracks per day, not more. Why didn't I get restrictions all this time? I need this app every day. I can't wait some time.

kokoropop avatar Jul 31 '22 09:07 kokoropop

I'm having this issue as well. Is there simply a way to start the process over again and automatically skip items you've already downloaded? I thought the program was doing this but then I noticed after one of my download sessions froze, that the size of the destination folder actually went down from the previous attempt. This leads me to think it's actually erasing everything and starting over with each attempt??

jtayl711 avatar Apr 07 '23 11:04 jtayl711

Is there simply a way to start the process over again and automatically skip items you've already downloaded? I thought the program was doing this

Yes it should be skipping tracks already downloaded, if they have the same name (meaning you haven't the filename format in the meantime). Check as well that you have Allowed file size difference to 5%:

image

Did you notice some particular tracks that are being downloaded again when they should be skipped?

Otiel avatar Apr 07 '23 11:04 Otiel

Is there simply a way to start the process over again and automatically skip items you've already downloaded? I thought the program was doing this

Yes it should be skipping tracks already downloaded, if they have the same name (meaning you haven't the filename format in the meantime). Check as well that you have Allowed file size difference to 5%:

image

Did you notice some particular tracks that are being downloaded again when they should be skipped?

BandcampDownloader.log I didn't notice that explicitly. Attaching my log file. Do you think I'm experiencing the same problem as the above user? Anyworkaround?

jtayl711 avatar Apr 07 '23 13:04 jtayl711

  1. Yes, I think Bandcamp is throttling you in some way, which causes some downloads to fail.
  2. But, tracks already downloaded shouldn't be erased. It seems there is a bug here, I should look into it.

Otiel avatar Apr 07 '23 19:04 Otiel

  1. Yes, I think Bandcamp is throttling you in some way, which causes some downloads to fail.
  2. But, tracks already downloaded shouldn't be erased. It seems there is a bug here, I should look into it.

I realized maybe it was because I unchecked the option to check size before downloads?? Still, if there's a workaround for being throttled please let me know.

jtayl711 avatar Apr 07 '23 21:04 jtayl711

  • I realized maybe it was because I unchecked the option to check size before downloads

    Oh yes, my bad, I missed that! If file size isn't known before download, the check can't be done. So make sure this is checked:

    image

    When track downloads are skipped, you should see the following log: Track already exists within allowed file size range

  • if there's a workaround for being throttled please let me know.

    Unfortunately, none that I know of. ☹️

Otiel avatar Apr 07 '23 22:04 Otiel

  • I realized maybe it was because I unchecked the option to check size before downloads

    Oh yes, my bad, I missed that! If file size isn't known before download, the check can't be done. So make sure this is checked: image When track downloads are skipped, you should see the following log: Track already exists within allowed file size range

  • if there's a workaround for being throttled please let me know.

    Unfortunately, none that I know of. ☹️

Any idea what it is that Bandcamp is looking for as an indication to begin throttling? Is it number of downloads within a certain period of time? If so, perhaps you can implement some kind of "dwell time" for which the program stops downloading?

jtayl711 avatar Apr 08 '23 00:04 jtayl711

Any idea what it is that Bandcamp is looking for as an indication to begin throttling?

Nothing certain. From what I've personally seen, it's the amount of downloads in a certain time. But people's experiences vary. Unless we could have a look at Bandcamp, we can't be sure.

If so, perhaps you can implement some kind of "dwell time" for which the program stops downloading?

There's already a cool down mechanism implemented where the program waits before retrying a failed download. But without really knowing how Bandcamp throttles, we can't implement something perfect unfortunately.

Otiel avatar Apr 08 '23 13:04 Otiel

I have the same issue. But it's downloading 1 album by 1 as intended, only struggles with full discography download. Maybe add some functionality to no download them all at once (one more checkbox when downloading discography)? Or monitor download speed and download progress and repeat from there? Or even tracks one by one... Because for the huge albums like https://adrianvonziegler.bandcamp.com/album/the-complete-discography I got throttled @Otiel

sequencerr avatar May 06 '23 11:05 sequencerr

But it's downloading 1 album by 1 as intended, only struggles with full discography download. Maybe add some functionality to no download them all at once (one more checkbox when downloading discography)?

If you checked "Settings → Downloads → Download one album at a time", it should work also for discographies.

Because for the huge albums like https://adrianvonziegler.bandcamp.com/album/the-complete-discography I got throttled

Thanks for the example, never found such a big album. 😄 I tried downloading it and I had no issue, so it's probably again a case of Bandcamp throttling depending on your history.

As stated in this issue, if you have those settings:

  • Downloads → Retrieve file size before downloading tracks
  • Advanced settings → Allowed file size difference : 5%

... then we you start downloading again the same album, it should not download again tracks that have been fully downloaded previously.

Otiel avatar May 08 '23 19:05 Otiel