This guide with take you through step by step how to setup and configure Rclone in order to interact with files stored on Google Drive, and cover both the encrypted and unencrypted options. At the end of this guide you will find details on how to configure Plex to use the Google Drive remote.

Please make sure you're using the most recent version of our app from our Appstore, Google have made some changes to the way Google Drive integration works which has required some changes on our end.

Setting up and configuring Rclone

  1. Install the rclone app from the Appstore (here)


  2. Click the link to rclone and when prompted enter the password you set in 1


  3. Press the Config button in the bottom right corner of the window


  4. When prompted with "n/s/q>" type "n" and press enter, when prompted with "name>" type gdrive and press enter, this will be the name of your google drive


  5. When prompted with "Storage>" type "drive" and press enter

  6. When prompted with "client_id>" you can either press enter to use the Rclone main account API call quota, or create your own by following the guide at https://rclone.org/drive/#making-your-own-client-id
  7. When prompted with "client_secret>" you can either press enter to use the Rclone main account API call quota, or create your own by following the guide at https://rclone.org/drive/#making-your-own-client-id
  8. When prompted with "scope>" press enter

  9. When prompted with "root_folder_id" press enter

  10. When prompted with "service_account_file" press enter

  11. When prompted with "Edit advanced config? (y/n)" press enter

  12. When prompted with "Use auto config?" press enter

  13. When prompted with "Waiting for code..." highlight the URL as shown below


  14. Click on the "Clipboard" button in the top right of the browser window


  15. Highlight the URL in the box which has appeared and copy it to your clipboard (right click > copy, or ctl + c)


  16. Paste this URL (make sure it's http:// and not https://) into a new "incognito" or "private" mode browser tab and press enter, please make sure you do not close the existing rclone-browser tab


  17. Click on the name of your Google account with which your Google Drive is associated

  18. Click the "Allow" button


  19. You will then be redirected to a page which doesn't exist, this is normal!


  20. In the browser address bar, delete "localhost" and replace it with your rclone app URL, for example "rclone.replace_this_with_your_username.appboxes.co", then press enter
  21. Return the Rclone tab, and you should see the below screen. When prompted "Configure this as a team drive?" press enter
    ( If you are Using Google Workspace Then Select Y at this point. )
  22. (Optional) In the Drop Down select What Workspace Shared Folder you want to use ( Ignore If Not Using Workspace )
  23. When prompted "y/e/d>" press enter

  24. When prompted "e/n/d/r/c/s/q>" if you wish to setup encryption with Google Drive type "n" and press enter, if you do not wish to use encryption type "q", press enter and skip to step 38 below

  25. (Optional) When prompted "name>" type "gcrypt" and press enter

  26. (Optional) When prompted "Storage>" type "crypt" and press enter

  27. (Optional) When prompted "remote>" type "gdrive:/crypt" (please create or ensure the "crypt" folder exists in your Google Drive or in the path specified in step 27) and press enter

  28. (Optional) When prompted "filename_encryption>" type "2" and press enter

  29. (Optional) When prompted "directory_name_encryption>" type "1" and press enter

  30. (Optional) When prompted "Password or pass phrase for encryption." type "g" for a random key

  31. (Optional) When prompted "Bits>" type "1024" and press enter

  32. (Optional) When prompted "Use this password?" press enter

  33. (Optional) When prompted "Password or pass phrase for salt." type "g" and press enter

  34. (Optional) When prompted "Bits>" type "1024" and press enter

  35. (Optional) When prompted "Use this password?" press enter

  36. (Optional) When prompted "y/n>" press enter, When prompted "y/e/d>" press enter, when prompted "e/n/d/r/c/s/q>" type "q" and press enter

  37. Double click on the remote you wish to use, "gdrive" for without encryption, or "gcrypt" for with encryption


  38. Click the "Mount" button


  39. In the left panel click "Computer", then in the right panel double click "/"


  40. Scroll down until you see "shared_mounts" double click it


  41. Click the "New Folder" button


  42. Rename the new folder to "gdrive" if you're not using encryption, or "gcrypt" if you are using encryption. Then click the "Choose" button


  43. Restart the Rclone app from our dashboard, this will make rclone remount the gdrive if there's any errors, however you will no longer see it mounted in the rclone browser.
  44. You can check if it's mounted correctly using the "File Explorer" tab on your appbox page.

  45. Your Google drive should now be mounted in your Rclone app folder! Now lets look how we can add this to Plex

Configuring Plex

  1. Open your Plex link from the Appbox dashboard


  2. Click your account dropdown menu, and then click "Account"


  3. Make sure you have your Appbox plex server selected as shown in point 1 on the image below. Click the "Libraries" option (shown in point 2 below). Click the "ADD LIBRARY" button (shown in point 3 below)


  4. Click "Select type", then select the type of library you want (shown in point 2 below), then click "Add folders"


  5. Click the "BROWSE FOR MEDIA FOLDER" button


  6. Click the name of the remote (as shown in point 1 below), this should be "gdrive" if you're not using encryption or "gcrypt" if you are using encryption. Then press the "ADD" button.


  7. Finally click the "ADD LIBRARY" button


Congratulations! You've made it to then end, you've successfully learned how to setup a remote in Rclone and add it to Plex.

Admin Submitted - Rid


We've setup a chat system on one of our Appboxes so you can get status updates and hangout with other users and ourselves, feel free to ask anything and maybe the community will be able to provide further support.

Click here to sign up

Esta resposta lhe foi útil? 8 Usuários acharam útil (10 Votos)