Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloads repeatedly stuck #225

Open
kokoropop opened this issue Jul 28, 2022 · 18 comments
Open

Downloads repeatedly stuck #225

kokoropop opened this issue Jul 28, 2022 · 18 comments

Comments

@kokoropop
Copy link

kokoropop commented Jul 28, 2022

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

@Otiel
Copy link
Owner

Otiel commented Jul 28, 2022

@kokoropop
Copy link
Author

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.

@Otiel
Copy link
Owner

Otiel commented Jul 30, 2022

Does this happen for all albums?

@kokoropop
Copy link
Author

kokoropop commented Jul 30, 2022

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

@Otiel
Copy link
Owner

Otiel commented Jul 30, 2022

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

@kokoropop
Copy link
Author

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

Is it possible to fix?

@Otiel
Copy link
Owner

Otiel commented Jul 30, 2022

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

@kokoropop
Copy link
Author

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.

@jtayl711
Copy link

jtayl711 commented Apr 7, 2023

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??

@Otiel
Copy link
Owner

Otiel commented Apr 7, 2023

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?

@jtayl711
Copy link

jtayl711 commented Apr 7, 2023

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?

@Otiel
Copy link
Owner

Otiel commented Apr 7, 2023

  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.

@jtayl711
Copy link

jtayl711 commented Apr 7, 2023

  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.

@Otiel
Copy link
Owner

Otiel commented Apr 7, 2023

  • 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. ☹️

@jtayl711
Copy link

jtayl711 commented Apr 8, 2023

  • 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?

@Otiel
Copy link
Owner

Otiel commented Apr 8, 2023

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.

@sequencerr
Copy link

sequencerr commented May 6, 2023

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

@Otiel
Copy link
Owner

Otiel commented May 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants