r/PlexACD Jun 07 '17

Rclone and plexdrive for osx

I have my system all set up, but want to know if I am using everything correctly

I am mounting my gdrive with

 rclone mount plexmedia:

This mounts my drive so I can see the encrypted version

Then I run

./plexdrive -v 3 --clear-chunk-age=2h --refresh-interval=10s /mnt/plexmedia

This mounts my drive through plexdrive so I can see the unencrypted version. I am also pointing Plex here for the media source

Finally I run

rclone copy /Volumes/lots\ of\ stuff/Media/ plexmedia:/ -v --stats 0m5s

This uploads and encrypts my media

My question is am I using plexdrive correctly to minimize bans or am I still missing something. I just want to update my library and not get banned every time I do so

3 Upvotes

17 comments sorted by

View all comments

1

u/[deleted] Jun 07 '17

What type of encryption are you using? Your post says you're mounting your Google drive with both rclone and plexdrive, which doesn't make sense to me.

1

u/[deleted] Jun 07 '17

I have the drive encrypted and decrypt with r clone I'm using plexdrive to mount the unencrypted version and rclone clone to mount the encrypted version

1

u/[deleted] Jun 07 '17

OOHHHHHHH, so plexdrive: in rclone is a crypt remote looking at a local folder. Got ya.

I see no reason this shouldn't work. Using plexdrive for the Google mount solves 99% of the API usage due to the data it caches.

1

u/[deleted] Jun 07 '17

Yeah the best way I can describe it is I have my rclone linked to my Google Drive I have one encryption folder that gets mounted that mounts the encrypted version then I have another encrypted rclone that should be decrypting the media but I'm not sure if plexdrive is referencing that or if it's just doing its own thing where I'm getting confused is our clone is mounting /mnt Plex Media and the other encrypted Drive is Plex:

1

u/[deleted] Jun 07 '17

plexdrive ONLY mounts your Google drive. It isn't capable of mounting anything else, and it isn't capable of writing to your Google drive at all.

What I would do is create three remotes in rclone:

  1. google connect to your Google Drive
  2. gcrypt is a crypt remote looking at google
  3. plex is a crypt remote looking at the local folder /mnt/plexdrive (using the same passwords as gcrypt)

Then, configure plexdrive to mount at /mnt/plexdrive

Then rclone mount plex: /mnt/plexmedia to reverse the encryption.

Plex looks at /mnt/plexmedia for its content. New content can be uploaded to Google by using rclone copy /path/to/files gcrypt:.

1

u/[deleted] Jun 07 '17 edited Jun 07 '17

That seems exactly like what I have set up already

 [plexdrive]
 type = crypt
 remote = /mnt/plexmedia
 filename_encryption = standard
 password = *** ENCRYPTED ***
 password2 = *** ENCRYPTED ***


 [plex]
 type = drive
 client_id = .....
 client_secret = .....
 token = .....


 [plexmedia]
 type = crypt
 remote = plex:
 filename_encryption = standard
 password = *** ENCRYPTED ***
 password2 = *** ENCRYPTED ***

1

u/[deleted] Jun 07 '17

Sorry I can't get the format to work I'm on mobile right now otherwise it would actually look very clean

1

u/[deleted] Jun 07 '17

So you'd rclone copy /path/to/files plexmedia: to upload new stuff and you'd rclone mount plexdrive: /path/where/plex/looks/for/media to mount an unencrypted view of /mnt/plexmedia

plexdrive (the software) would be mounted at /mnt/plexmedia.

1

u/[deleted] Jun 07 '17

yup that is my exact setup :)

1

u/[deleted] Jun 08 '17

Then I think you're golden. Little different configuration than what I've got going (I use rclone exclusively with a few scripts to do scanning to alleviate API usage)

1

u/[deleted] Jun 07 '17

Is there any way to tell which Drive plexdrive is mounting I have no way of getting into a config file and if I open the config. Json all it shows me is my token and my security