qbittorrent-to-rclone-heroku icon indicating copy to clipboard operation
qbittorrent-to-rclone-heroku copied to clipboard

rclone - crypt support?

Open DarkVader-cell opened this issue 3 years ago • 7 comments

Hey, I have deployed this and torrents download fine, but I would like the download location to be an encrypted drive (crypt) from my config and I have set it as my first drive there to reflect the same.

But, none of the downloads are being reflecting in my team drive, am I doing something wrong or are crypt remotes not supported yet?

DarkVader-cell avatar Feb 04 '22 16:02 DarkVader-cell

oh thats a problem. i'll fix it as soon as possible.

developeranaz avatar Feb 04 '22 16:02 developeranaz

I assume rclone crypt is similar to rclone union, for now rename your cloud/remote name in a manner below.

[1] 
type = union
remotes = 2: 3: 4:

[2] 
type = drive
root_folder_id = xxcc
scope = drive
token = xxcc

[3] 
type = pcloud
hostname = api.pcloud.com
token = 

[4]
type = mega
user = [email protected]
pass = xxxxxxxx

Use your main/ desired remote name for upload to [1] (to list it first)

developeranaz avatar Feb 04 '22 17:02 developeranaz

I assume rclone crypt is similar to rclone union, for now rename your cloud/remote name in a manner below. [1] type = union remotes = 2: 3: 4: [2] type = drive root_folder_id = xxcc scope = drive token = xxcc [3] type = pcloud hostname = api.pcloud.com token = [4] type = mega user = [email protected] pass = xxxxxxxx Use your main/ desired remote name for upload to [1] (to list it first)

so are you saying that keep my [1] remote one as crypt drive and keep [2] remote 2 as the normal gdirve that might fix the error ??? I tried this configuration keeping encrypted drive 1st still it uploads the the the unencrypted 2nd remote that is drive 1 doesn't work but their is a fix i got it working [driveencrypt] type = crypt remote = drive1: password = ILUFIKVikfvsajufvbskli-dsgdsgsdgds-gdsg-sdgg-dsg-sdg-dsgds password2 = ILUFIKVikfvsajufvbskli-dsgdsgsdgds-gdsg-sdgg-dsg-sdg-dsgds

[drive1] type = drive client_id = client_secret = scope = drive token = {"access_token":"lol"} root_folder_id =

the solution is tools>options scroll allthe way down and you will see this line rclone copy /qBittorrent/downloads/"%N" drive1:qbit/"%N" just edit this to rclone copy /qBittorrent/downloads/"%N" driveencrypt:qbit/"%N" image i did this and it worked

you can do that but you need to change it every 23 hours or next heroku restart

developeranaz avatar Mar 21 '22 06:03 developeranaz

Use below similar rclone config to change it permanently

[000000001a]
type = crypt
remote = drive1:
password = ILUFIKVikfvsajufvbskli-dsgdsgsdgds-gdsg-sdgg-dsg-sdg-dsgds
password2 = ILUFIKVikfvsajufvbskli-dsgdsgsdgds-gdsg-sdgg-dsg-sdg-dsgds

[drive1]
type = drive
client_id =
client_secret =
scope = drive
token = {"access_token":"lol"}
root_folder_id =

according to rclone remote listing , remotes starting with 0 will list first and files will be uploaded to it

developeranaz avatar Mar 21 '22 06:03 developeranaz

Use below similar rclone config to change it permanently

[000000001a]
type = crypt
remote = drive1:
password = ILUFIKVikfvsajufvbskli-dsgdsgsdgds-gdsg-sdgg-dsg-sdg-dsgds
password2 = ILUFIKVikfvsajufvbskli-dsgdsgsdgds-gdsg-sdgg-dsg-sdg-dsgds

[drive1]
type = drive
client_id =
client_secret =
scope = drive
token = {"access_token":"lol"}
root_folder_id =

according to rclone remote listing , remotes starting with 0 will list first and files will be uploaded to it

ohh thats great so any remote starting with a 0 will be considered as default remote 👍 was this pushed in update ??

bolavefasfas avatar Mar 22 '22 10:03 bolavefasfas

No, the webapp was already designed in that manner, but i didn't provided it in readme.

developeranaz avatar Mar 22 '22 11:03 developeranaz

No, the webapp was already designed in that manner, but i didn't provided it in readme.

All right

bolavefasfas avatar Mar 22 '22 11:03 bolavefasfas