piejanssens / premiumizer

Download manager for premiumize.me cloud downloads
MIT License
172 stars 45 forks source link

File "already exists. Existing file will be removed." #319

Open wilki24 opened 2 years ago

wilki24 commented 2 years ago

Sometimes I run into errors that I suspect are caused by connection issues, and then the entire download starts over, overwriting everything that has already been downloaded.

Shouldn't there be a way to say "if the file is already there, skip it"?

Log (I've removed the filenames and URLs):

09-29 18:15:35: ERROR : The read operation timed out 09-29 18:15:35: ERROR : The read operation timed out NoneType: None 09-29 18:15:35: INFO : Starting a new SmartDL operation. 09-29 18:15:35: INFO : One URL is loaded. 09-29 18:15:35: INFO : Downloading ''... 09-29 18:15:38: WARNING : <urlopen error [Errno 11001] getaddrinfo failed> 09-29 18:31:36: WARNING : Download: myFile stuck restarting task 09-29 18:31:41: INFO : Downloading: myFile -- id: 1qE97BwP9tZUh7Qf7n-rCw 09-29 18:31:41: INFO : Using url "" 09-29 18:31:45: WARNING : Destination "" already exists. Existing file will be removed. 09-29 18:31:45: INFO : Creating a ThreadPool of 1 thread(s). 09-29 18:31:45: INFO : Starting a new SmartDL operation. 09-29 18:31:45: INFO : One URL is loaded. 09-29 18:31:45: INFO : Downloading ''... 09-29 18:31:46: INFO : Content-Length is 2883524890 (2.69 GB). 09-29 18:31:46: INFO : Launching 1 thread (downloads 2.69 GB). 09-29 18:31:46: INFO : Downloading ''... 09-29 18:31:46: INFO : Control thread has been started. 09-29 18:40:09: INFO : File downloaded within 499.02 seconds. 09-29 18:51:46: WARNING : Download: myFile stuck restarting task 09-29 18:51:50: INFO : Downloading: myFile -- id: 1qE97BwP9tZUh7Qf7n-rCw 09-29 18:51:50: INFO : Using url "" 09-29 18:51:52: WARNING : Destination "" already exists. Existing file will be removed.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

i-am-the-slime commented 2 years ago

Nah, this is not stale.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

chris-fp commented 2 years ago

Not stale

piejanssens commented 2 years ago

Are you use JD or Aria? I don't see how this happens with the built in downloader as we should be skipping these already.

neox387 commented 2 years ago

09-29 18:51:52: WARNING : Destination "" already exists. Existing file will be removed.

Is from pysmartdl I think, I only use JD

piejanssens commented 2 years ago

In deed it is pySmartDL.

You can request the author or contribute to the pySmartDL module project to make this possible: https://github.com/iTaybb/pySmartDL/issues/14