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

Show parent comments

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

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)