tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.23k stars 128 forks source link

Downloading a GOG game restarts at 0% if I quit and restart the application because it considers that I have cancelled it. #448

Open xTrEIX opened 3 years ago

xTrEIX commented 3 years ago

Hello,

I have a strange problem with my GOG games imported in Gamehub, why is the timeline of my downloads not saved like on Steam? I have the same problem on Lutris, I can't quit the application without the download resuming where it was, let's say I'm at 80% of the download, if I quit Gamehub, I restart at 0% because Gamehub considers that I've cancelled the download of the game.

Thanks.

tkashkin commented 3 years ago

GameHub should resume downloads from where they ended if partially downloaded file is saved correctly and if server supports download resume and returns Content-Range header.

Since you have this problem with both GameHub and Lutris, are you using any proxies or anything else that could strip the Content-Range header?

Try to run GameHub in terminal with --debug --verbose --log-downloader options. Related log lines should start with [SoupDownloader].