hydralauncher / hydra

Hydra is a game launcher with its own embedded bittorrent client
MIT License
10.6k stars 2.47k forks source link

[BUG] Unable to download directly to Google Drive #222

Open VIRUXE opened 4 months ago

VIRUXE commented 4 months ago

When setting the download path to G:\My Drive\Games which is where I store all my static content, Hydra refuses to download anything. It does recognize seeds and peers for a ms but then defaults to 0.

It does work if I use a "normal disk". (I'm now simply using D:\Downloads)

zamitto commented 4 months ago

What do you mean by "normal disk"?

It could be because your directory has a space character in it. Could you check this possibility and use your G drive but create a folder with no space characters?

VIRUXE commented 4 months ago

Google Drive is installed on my D drive, but has an exclusive virtual drive for it (drive G). I just set the download location to D:\Downloads instead, and it started working.

piradata commented 4 months ago

but it works if the folder is D:\My Downloads?

VIRUXE commented 4 months ago

Correct.

Haven't tested with the most recent version.

Edit: tested just now and issue remains. Choosing G:\My Drive\Games just makes it not have any peers/seeds, but works if I choose any other location besides Google Drive's "drive".

piradata commented 4 months ago

so, the problem is the whitespace?

VIRUXE commented 4 months ago

Just downloaded another game onto a folder with spaces and it worked normally.

VIRUXE commented 3 months ago

I'm guessing this has to do with the fact that Google Drive's drive is a virtual drive.

Has there been any internal discussion about this and if it's worthwhile to fix?

If not I will most likely try to fix it myself.

piradata commented 3 months ago

i think no one is working on it currently, you can open a pr tho.

but downloading games directly to google drive would zero your drive storage super fast

VIRUXE commented 3 months ago

I have 2tb and don't play a lot. But since I have plenty of space I prefer to store all the games I download, on Google drive, so I don't have to track them down again when I need them.

I'll have a go at this. But I'm also feeling it's going to be an issue with the python client rather than hydra.

piradata commented 3 months ago

I have 2tb and don't play a lot. But since I have plenty of space I prefer to store all the games I download, on Google drive, so I don't have to track them down again when I need them.

I'll have a go at this. But I'm also feeling it's going to be an issue with the python client rather than hydra.

the python client will be dead on the next version tho, they changed it to aria2

piradata commented 3 months ago

u can try if the version on the main solves your issue