-
Notifications
You must be signed in to change notification settings - Fork 247
PG Clone
📂 Click Here - Sign up for Google's Suite for Business - Unlimited Space
📂 Click Here - NZB's with from NewsHost - PG Members Receive a 58% Discount
Table of Contents
Welcome to PG Clone! So what is it PG Clone? PG Clone is a suite of services that utilizes RClone with custom coding and adaption to RClone's configuration file to enable a fast, hasty, and more simplified deployment through the use of PlexGuide's deployment interface.
We discovered over the course of time that editing RClone through the use of RClone config is both simple and complex process depending on the user's requirements. PG stripped out and put in directly what is required for PG to operate. RClone can be quite overwhelming because it covers both a broad scope of services that does a great job by attempting to unify both simplicity and flexibility; both within it's large scope of deploying cloud drives. By understanding how RClone operates, we are able to create PG Clone; while providing personnel Google's Authentication for your project!
Do NOT ever trust anyone who runs a project that provides OAuth from their servers. PG is dedicated 100% to providing you your own privacy and access. Others will have access to your data and more if you provide them your keys or authenticate through their services!
When utilizing PlexGuide the first time and selecting PG Clone, it forces the user to select a transport system but the question that is asked is what is a transport system? A transport system through PG Clone is the method that a user selects in order to transport data through the use of a method or means to accomplish their objective. Below, there is a screenshot that it will ask you what type of method that you want to select.
There are four transport methods that can be select from. For each, select one of the following:
- PG Move /w No Encryption
- PG Move /w Encryption
- PG Blitz /w No Encryption
- PG Blitz /w Encryption
Before selecting a method, consider the requirements. The process can be simple or quite complex based on what is required. Be warned that switching from unencrypted to encrypted or vise versa will require the user to download all of their data and and then reupload. Doing so also creates double bandwidth considerations (upload and download of the same data). Personally, I utilize the unencrypted versions which allows you to see all of your data through Google Drive.
/mnt/unionfs is a union of /mnt/downloads, /mnt/move, /mnt/gdrive, /mnt/tdrive. It also has /mnt/tcrypt and /mnt/gcrypt if using encryption. Processing location default /mnt
Note: we will use /mnt here for ease of explaining but replace /mnt with your processing location.
How it works with 8.3 and above: Files download to:
/mnt/incomplete/nzbget
/mnt/incomplete/rutorrent
etc
Once completed, your downloader moves them to:
/mnt/downloads/nzbget
/mnt/downloads/rutorrent
etc
Once your download is completed sonarr/radarr/lazylibrarian/lidarr will be notified. They will then rename the file and move the file to your library. Radarr and Sonarr have download mappings (you need to configure them). It will replace the path the downloaders give,
/mnt/downloads/nzbget/[...] to
/mnt/unionfs/nzbget/[..]
Sonarr/radarr/etc will then organize and rename the files and import them into the library, which is /mnt/unionfs/category/[...]
The real location of the files is /mnt/downloads/[category]/[...].
The files are now ready for upload. Blitz/Move script runs and moves any completed files to /mnt/move, ignoring any files underneath a downloader folder (/mnt/downloads/nzbget). It will move things like /mnt/downloads/tv, /mnt/downloads/abooks, /mnt/downloads/mycustomcategory, etc).
So at this point, your files are in /mnt/move, ready to upload.
Move: Move will upload the files directly from /mnt/move
Blitz: Blitz will move files from /mnt/move to /mnt/pgblitz/uploads, then again to /mnt/pgblitz/gsaxx and begin uploading. This may seem like it's redundant to move it a few times, but it's instant and keeps the same expected behavior (files in /mnt/move upload).
Now that uploads are finished it will delete empty folders underneath /mnt/move/category and /mnt/downloads/category/
Notes:
- The process from going to completed to upload is a lot faster now, you may miss it.
- You should connect sonarr/radarr to plex and make sure you setup mappings (see their wiki pages for configuration)
- Move/Blitz will not process downloads while there is an active upload. Think of batches, it grabs whats ready, process and upload, then repeat.
📂 Click Here - NZB's from USENET Server - PG Members Receive a 60% Discount
Home - https://plexguide.com
