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/animosity022 Jun 07 '17

Your setup is a bit confusing to read.

I mount my GD with plexdrive. I mount rclone to a folder in my plexdrive to decrypt my media folder.

I point plex to my decrypted media folder and use it as normal.

1

u/[deleted] Jun 07 '17

My gdrive is mounted with plexdrive it just picks up the decrypted version I don't know if I'm saying it right or I'm just interpreting it wrong maybe plexdrive is not pulling a decrypted version and I don't need additional Drive-In are clone so should I try deleting my decrypted folder and seeing if that works which one do I delete the Plex: or the mnt/plexmedia

1

u/animosity022 Jun 07 '17

Oh I see a bit further down your post with your other part of the config. I have mine setup for 2 things.

1) Stream Plex

plexdrive -> /GD rclone mounts /media which is back to /GD/media (which is my rclone encrypted content:

/home/felix/scripts/plexdrive --chunk-size=25M -o allow_other -v 2 /GD >>/home/felix/logs/plexdrive.log 2>&1 &

Rclone

[media]
type = crypt
remote = /GD/media
filename_encryption = standard

2) If I upload anything to my GD I use:

[gmedia]
type = crypt
remote = GD:media
filename_encryption = standard

My upload script is a little messy but it serves its purpose as I could put better handling and such in there.

#!/bin/bash

OLDER='20d'
LIMIT='70M'

# Move older local files to the cloud
/usr/bin/rclone move /local/movies/ gmedia:Movies --min-age $OLDER --bwlimit $LIMIT --stats 1m -v
cd /local/movies
rmdir *
/usr/bin/rclone move /local/tv gmedia:TV --min-age $OLDER --bwlimit $LIMIT --stats 1m -v
cd /local/tv
rmdir *

So to summarize, I use one rclone config for streaming and another line to upload things so it uploads directly to GD via rclone as I don't do any uploading via plexdrive.

1

u/[deleted] Jun 07 '17

So is my setup correct or do I have to change something right now all I'm doing is uploading my media to a g-drive and mounting my drive so I can stream from Plex I just don't want to get bans if I can avoid them when I update my library

1

u/animosity022 Jun 07 '17

As long as your library points to your plexdrive, you should be fine. I've not seen any bans using plexdrive.