Plex_autoscan, help please

I'm trying to get plex_autoscan to run, without success.

Could somebody please help me here?

The Error i'm getting:

2019-09-07 15:11:49,263 -    DEBUG -    GOOGLE [140637214582528]: Updated page_token: 836430
 2019-09-07 15:11:49,263 -     INFO -    GOOGLE [140637214582528]: Processing 0 changes
 2019-09-07 15:11:49,264 -    DEBUG -    GOOGLE [140637214582528]: Added: {}
 2019-09-07 15:11:49,264 -    DEBUG -    GOOGLE [140637214582528]: Unwanted: []
 2019-09-07 15:11:49,265 -    DEBUG -    GOOGLE [140637214582528]: Ignored: {}
 2019-09-07 15:11:49,265 -    DEBUG -    GOOGLE [140637214582528]: Renamed: {}
 2019-09-07 15:11:49,265 -    DEBUG -    GOOGLE [140637214582528]: Moved: {}
 2019-09-07 15:11:49,265 -     INFO -    GOOGLE [140637214582528]: 0 added / 0 removed / 0 unwanted / 0 ignored / 0 renamed / 0 moved
 2019-09-07 15:11:49,266 -    DEBUG -    GOOGLE [140637214582528]: Finished retrieving changes from all loaded drives
 2019-09-07 15:12:49,326 -    DEBUG - requests_oauthlib.oauth2_session [140637214582528]: Invoking 0 protected resource request hooks.
 2019-09-07 15:12:49,327 -    DEBUG - requests_oauthlib.oauth2_session [140637214582528]: Adding token {'access_token': 'XXXXXXXXXXXXXXXXXXXXXX', 'expires_in': 3600, 'scope': ['https://www.googleapis.com/auth/drive'], 'token_type': 'Bearer', 'expires_at': 1567865204.7544591, 'refresh_token': '1/XXXXXXXXXXXXXXXXXXXXXX'} to request.
 2019-09-07 15:12:49,327 -    DEBUG - requests_oauthlib.oauth2_session [140637214582528]: Requesting url https://www.googleapis.com/drive/v3/changes using method GET.
 2019-09-07 15:12:49,327 -    DEBUG - requests_oauthlib.oauth2_session [140637214582528]: Supplying headers {'Authorization': 'Bearer XXXXXXXXXXXXXXXXXXXXXX'} and data None
 2019-09-07 15:12:49,327 -    DEBUG - requests_oauthlib.oauth2_session [140637214582528]: Passing through key word arguments {'timeout': 30, 'params': {'pageToken': '836430', 'pageSize': 1000, 'includeRemoved': True, 'includeTeamDriveItems': False, 'supportsTeamDrives': False, 'fields': 'changes(file(md5Checksum,mimeType,modifiedTime,name,parents,teamDriveId,trashed),fileId,removed,teamDrive(id,name),teamDriveId),newStartPageToken,nextPageToken'}, 'allow_redirects': True}.
 2019-09-07 15:12:49,605 -    DEBUG -    GOOGLE [140637214582528]: Request URL: https://www.googleapis.com/drive/v3/changes?pageToken=XXXXXXXXXXXX&pageSize=1000&includeRemoved=True&includeTeamDriveItems=False&supportsTeamDrives=False&fields=changes%28file%28md5Checksum%2CmimeType%2CmodifiedTime%2Cname%2Cparents%2CteamDriveId%2Ctrashed%29%2CfileId%2Cremoved%2CteamDrive%28id%2Cname%29%2CteamDriveId%29%2CnewStartPageToken%2CnextPageToken
 2019-09-07 15:12:49,605 -    DEBUG -    GOOGLE [140637214582528]: Request ARG: {'params': {'pageToken': '836430', 'pageSize': 1000, 'includeRemoved': True, 'includeTeamDriveItems': False, 'supportsTeamDrives': False, 'fields': 'changes(file(md5Checksum,mimeType,modifiedTime,name,parents,teamDriveId,trashed),fileId,removed,teamDrive(id,name),teamDriveId),newStartPageToken,nextPageToken'}}
 2019-09-07 15:12:49,606 -    DEBUG -    GOOGLE [140637214582528]: Response Status: 200 OK
 2019-09-07 15:12:49,606 -    DEBUG -    GOOGLE [140637214582528]: Response Content:
{
 "newStartPageToken": "836445",
 "changes": [
  {
   "removed": false,
   "fileId": "1hJY22N8zKA6yS3aKpZyTUw_7tPieBD0p",
   "file": {
    "name": "9uhu8jdu2lng99i4vovg7rqml21dsfec3leqhjrcjs905f3drep4nfa1fvi2tvqpagtevlsj3ppb93oige3cgbaberfjpngaf0tov00",
    "mimeType": "application/octet-stream",
    "trashed": false,
    "parents": [
     "1jSXi2jhSxYkoLY9KK9t_yn21LfPNgUte"
    ],
    "modifiedTime": "2019-09-04T10:39:07.822Z",
    "md5Checksum": "27eabb54dfb53ecd0ffb42b8924412f4"
   }
  },
  {




 2019-09-07 15:12:49,606 -    DEBUG -    GOOGLE [140637214582528]: Updated page_token: 836445
 2019-09-07 15:12:49,606 -     INFO -    GOOGLE [140637214582528]: Processing 8 changes
 2019-09-07 15:12:49,623 -     INFO -    RCLONE [140637214582528]: Encoded file Path identified as 'ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/9uhu8jdu2lng99i4vovg7rqml21dsfec3leqhjrcjs905f3drep4nfa1fvi2tvqpagtevlsj3ppb93oige3cgbaberfjpngaf0tov00'
 2019-09-07 15:12:49,623 -     INFO -    RCLONE [140637214582528]: Crypt base directory identified as 'Meine Ablage/Misc/'
 2019-09-07 15:12:49,623 -     INFO -    RCLONE [140637214582528]: Crypt base directory 'Meine Ablage/Misc/' has mapping defined in config as remote 'SecretDrive:'. Attempting to decode
 2019-09-07 15:12:49,623 -    DEBUG -    RCLONE [140637214582528]: Raw query is '/usr/bin/rclone cryptdecode SecretDrive: ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/9uhu8jdu2lng99i4vovg7rqml21dsfec3leqhjrcjs905f3drep4nfa1fvi2tvqpagtevlsj3ppb93oige3cgbaberfjpngaf0tov00'
 2019-09-07 15:12:49,633 -    ERROR -    RCLONE [140637214582528]: command '['/usr/bin/rclone', '--config', '', 'cryptdecode', 'SecretDrive:', 'ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/9uhu8jdu2lng99i4vovg7rqml21dsfec3leqhjrcjs905f3drep4nfa1fvi2tvqpagtevlsj3ppb93oige3cgbaberfjpngaf0tov00']' return with error (code 1): b'2019/09/07 15:12:49 Failed to load config file "/opt/plex_autoscan": read /opt/plex_autoscan: is a directory\n'
 2019-09-07 15:12:49,633 -    DEBUG -    GOOGLE [140637214582528]: Ignoring 'Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/9uhu8jdu2lng99i4vovg7rqml21dsfec3leqhjrcjs905f3drep4nfa1fvi2tvqpagtevlsj3ppb93oige3cgbaberfjpngaf0tov00' because it was not an allowed extension
 2019-09-07 15:12:49,635 -     INFO -    RCLONE [140637214582528]: Encoded file Path identified as 'ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/j4p9r0fard080p9j53665uaej0ef41imdr5evopo42poqeo9nnm3lsajc65nrnat321rort4tu7g1t8pahqa5jrqbf9qdv3op0j2oug'
 
 
 
 
 
 
 
  2019-09-07 15:12:49,735 -     INFO -    RCLONE [140637214582528]: Crypt base directory identified as 'Meine Ablage/Misc/'
 2019-09-07 15:12:49,735 -     INFO -    RCLONE [140637214582528]: Crypt base directory 'Meine Ablage/Misc/' has mapping defined in config as remote 'SecretDrive:'. Attempting to decode
 2019-09-07 15:12:49,735 -    DEBUG -    RCLONE [140637214582528]: Raw query is '/usr/bin/rclone cryptdecode SecretDrive: ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/fh99uq3ei2pivagesmblk8o8nn8k953rsjqimmv3i57244eq2rt3fcjq17hna1a5uortunom31fu0pvvdfuc0olgnaqe2qovd816th8'
 2019-09-07 15:12:49,765 -    ERROR -    RCLONE [140637214582528]: command '['/usr/bin/rclone', '--config', '', 'cryptdecode', 'SecretDrive:', 'ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/fh99uq3ei2pivagesmblk8o8nn8k953rsjqimmv3i57244eq2rt3fcjq17hna1a5uortunom31fu0pvvdfuc0olgnaqe2qovd816th8']' return with error (code 1): b'2019/09/07 15:12:49 Failed to load config file "/opt/plex_autoscan": read /opt/plex_autoscan: is a directory\n'
 2019-09-07 15:12:49,766 -    DEBUG -    GOOGLE [140637214582528]: Ignoring 'Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/fh99uq3ei2pivagesmblk8o8nn8k953rsjqimmv3i57244eq2rt3fcjq17hna1a5uortunom31fu0pvvdfuc0olgnaqe2qovd816th8' because it was not an allowed extension
 2019-09-07 15:12:49,766 -    DEBUG -    GOOGLE [140637214582528]: Added: {}
 2019-09-07 15:12:49,766 -    DEBUG -    GOOGLE [140637214582528]: Unwanted: ['Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/9uhu8jdu2lng99i4vovg7rqml21dsfec3leqhjrcjs905f3drep4nfa1fvi2tvqpagtevlsj3ppb93oige3cgbaberfjpngaf0tov00', 'Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/j4p9r0fard080p9j53665uaej0ef41imdr5evopo42poqeo9nnm3lsajc65nrnat321rort4tu7g1t8pahqa5jrqbf9qdv3op0j2oug', 'Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/js179e4bn3hrl8dh9vtd2nuoqv15mtc3g07h0it8v7v82dlt1p62539r7383579heo38vo30t35p5vgbeeovfovnh2dtdtasua5mhf0', 'Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/akl1kmpga6h51tmu2m21uq8tnkbabrr9uqsmm1lnup57r7qsf6mai73s233o9k1tleq9v5rr1i56l606pq36ec7ud0feldlej5tj0a8', 'Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/heiav7ooegjb6tdt4r3kelndg6ggi8drggncithqkekg74dsfae5ts8ae16dhbke1s06qau06dnilmmicp81meagk0r958pvqh61ii0', 'Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/9mghn4qcic9qe1uo1ke42kbjdu0mml87i117e7991009j9tqh9qv6ksoosi578628548m9mg05qe4j8rtrnoeopt0qmhmqd18np0d30', 'Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/ka0phvatq5f3b9ml0295piddsg59q1m6baq0d2ertnr2t33d989l1upp2l055862nmovr4njkku5tbgnduiqt4oro4lna8upseg7l60', 'Meine Ablage/Misc/ipqf53ci161bq17u636onrea04/0t53crefc7q3sfdflertisu4n4agm239kf74c2392mqjft58246g/fh99uq3ei2pivagesmblk8o8nn8k953rsjqimmv3i57244eq2rt3fcjq17hna1a5uortunom31fu0pvvdfuc0olgnaqe2qovd816th8']
 2019-09-07 15:12:49,766 -    DEBUG -    GOOGLE [140637214582528]: Ignored: {}
 2019-09-07 15:12:49,766 -    DEBUG -    GOOGLE [140637214582528]: Renamed: {}
 2019-09-07 15:12:49,766 -    DEBUG -    GOOGLE [140637214582528]: Moved: {}
 2019-09-07 15:12:49,767 -     INFO -    GOOGLE [140637214582528]: 0 added / 0 removed / 8 unwanted / 0 ignored / 0 renamed / 0 moved
 2019-09-07 15:12:49,767 -    DEBUG -    GOOGLE [140637214582528]: Finished retrieving changes from all loaded drives

My Setup is:

rclone-crypt-name: "SecretDrive"
mounted on "mnt/media/"
Google-Drive-Folder-Path "Meine Ablage/Misc" (which is german for "My Drive/Misc" , because even with "My Drive", plex_autoscan gave output for "Meine Ablage". But also not working)

I personally don't get it, why these three aren't a simple clarified option right up top :confused:

{
  "DOCKER_NAME": "", 
  "GOOGLE": {
    "ALLOWED": {
      "FILE_EXTENSIONS": true, 
      "FILE_EXTENSIONS_LIST": [
        "webm", 
        "mkv", 
        "flv", 
        "vob", 
        "ogv", 
        "ogg", 
        "drc", 
        "gif", 
        "gifv", 
        "mng", 
        "avi", 
        "mov", 
        "qt", 
        "wmv", 
        "yuv", 
        "rm", 
        "rmvb", 
        "asf", 
        "amv", 
        "mp4", 
        "m4p", 
        "m4v", 
        "mpg", 
        "mp2", 
        "mpeg", 
        "mpe", 
        "mpv", 
        "m2v", 
        "m4v", 
        "svi", 
        "3gp", 
        "3g2", 
        "mxf", 
        "roq", 
        "nsv", 
        "f4v", 
        "f4p", 
        "f4a", 
        "f4b", 
        "mp3", 
        "flac", 
        "ts"
      ], 
      "FILE_PATHS": [
        "Meine Ablage/Misc/"
], 
      "MIME_TYPES": true, 
      "MIME_TYPES_LIST": [
        "video"
      ]
    }, 
    "CLIENT_ID": "XXXXXXXXXXXXXXXXX", 
    "CLIENT_SECRET": "XXXXXXXXXXXXXXXXX", 
    "ENABLED": true, 
    "POLL_INTERVAL": 60, 
    "SHOW_CACHE_LOGS": false, 
    "TEAMDRIVE": false, 
    "TEAMDRIVES": []
  }, 
  "PLEX_ANALYZE_DIRECTORY": true, 
  "PLEX_ANALYZE_TYPE": "basic", 
  "PLEX_CHECK_BEFORE_SCAN": false, 
  "PLEX_DATABASE_PATH": "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db", 
  "PLEX_EMPTY_TRASH": false, 
  "PLEX_EMPTY_TRASH_CONTROL_FILES": [
    "/mnt/media/mounted.bin"
  ], 
  "PLEX_EMPTY_TRASH_MAX_FILES": 100, 
  "PLEX_EMPTY_TRASH_ZERO_DELETED": false, 
  "PLEX_LD_LIBRARY_PATH": "/usr/lib/plexmediaserver/lib", 
  "PLEX_LOCAL_URL": "http://localhost:32400", 
  "PLEX_SCANNER": "/usr/lib/plexmediaserver/Plex\\ Media\\ Scanner", 
  "PLEX_SECTION_PATH_MAPPINGS": {
    "30": [
      "/Series/"
    ], 
    "7": [
      "/Movies/"
    ]
  }, 
  "PLEX_SUPPORT_DIR": "/var/lib/plexmediaserver/Library/Application\\ Support", 
  "PLEX_TOKEN": "XXXXXXXXXXXXXXXXX", 
  "PLEX_USER": "XXXXXXXXXXXXXXXXX", 
  "PLEX_WAIT_FOR_EXTERNAL_SCANNERS": true, 
  "RCLONE": {
    "BINARY": "", 
    "CONFIG": "", 
    "CRYPT_MAPPING": {
      "Meine Ablage/Misc/": [
       "SecretDrive:"
       ]
    }, 
    "RC_CACHE_EXPIRE": {
      "ENABLED": false, 
      "FILE_EXISTS_TO_REMOTE_MAPPINGS": {
        "Misc/": ["/mnt/media/"]
      }, 
      "RC_URL": "http://localhost:5572"
    }
  }, 
  "RUN_COMMAND_AFTER_SCAN": "", 
  "RUN_COMMAND_BEFORE_SCAN": "", 
  "SERVER_ALLOW_MANUAL_SCAN": false, 
  "SERVER_FILE_CHECK_DELAY": 60, 
  "SERVER_FILE_EXIST_PATH_MAPPINGS": {
  }, 
  "SERVER_IGNORE_LIST": [
    "/.grab/", 
    ".DS_Store", 
    "Thumbs.db"
  ], 
  "SERVER_IP": "0.0.0.0", 
  "SERVER_MAX_FILE_CHECKS": 10, 
  "SERVER_PASS": "XXXXXXXXXXXXXXXXX", 
  "SERVER_PATH_MAPPINGS": {
    "/mnt/media/": [
      "Meine Ablage/Misc/"
    ]
  }, 
  "SERVER_PORT": 3468, 
  "SERVER_SCAN_DELAY": 180, 
  "SERVER_SCAN_FOLDER_ON_FILE_EXISTS_EXHAUSTION": false, 
  "SERVER_SCAN_PRIORITIES": {
    "1": [
      "/Movies/"
    ], 
    "2": [
      "/Series/"
    ]
  }, 
  "SERVER_USE_SQLITE": true, 
  "USE_DOCKER": false, 
  "USE_SUDO": false
}

Would even donate a Beer or two if somebody could help :smiley:
Thank you!

I believe your rclone config section is missing the mapping to the config file based on that error:

  "RCLONE": {
    "BINARY": "",
    "CONFIG": "",
    "CRYPT_MAPPING": {
      "": []

That part based on the error.

This is the section from the docs:

BINARY - Path to Rclone binary if not in standard location.

CONFIG - Path to Rclone config file containing crypt remote configuration. Required for crypt decoder.

CRYPT_MAPPING - Mapping of path (root or subfolder) of Google Drive crypt ( My Drive/ or Team Drive Name/ ) to Rclone mount name. These values enable Rclone crypt decoder.

thanks!
pointing to the binary and config did the trick.
altough they were both on the default location from the official rclone installation tutorial.

update:

hmm.. now i'm getting this error:

2019-09-07 18:49:43,088 - INFO - RCLONE [140548416722688]: Encoded file Path identified as 'Meine Ablage/Backups/jd2/logs/1567873785908_Sat, Sep 7, 2019 18.29 +0200/org.jdownloader.update.launcher.SecondLevelLauncher.log.0'
2019-09-07 18:49:43,090 - INFO - RCLONE [140548416722688]: Encoded file Path identified as 'Meine Ablage/Backups/jd2/logs/1567873785908_Sat, Sep 7, 2019 18.29 +0200/StartupParameterHandler.log.0'
2019-09-07 18:49:43,091 - INFO - RCLONE [140548416722688]: Encoded file Path identified as 'Meine Ablage/Backups/jd2/logs/1567873785908_Sat, Sep 7, 2019 18.29 +0200/org.jdownloader.update.UpdateManager.log.0'
2019-09-07 18:49:43,093 - INFO - RCLONE [140548416722688]: Encoded file Path identified as 'Meine Ablage/Backups/jd2/logs/1567873785908_Sat, Sep 7, 2019 18.29 +0200/org.appwork.shutdown.ShutdownController.log.0'
2019-09-07 18:49:43,093 - INFO - GOOGLE [140548416722688]: 0 added / 105 removed / 44 unwanted / 2 ignored / 0 renamed / 0 moved
2019-09-07 18:50:43,369 - INFO - GOOGLE [140548416722688]: Processing 0 changes
2019-09-07 18:50:43,369 - INFO - GOOGLE [140548416722688]: 0 added / 0 removed / 0 unwanted / 0 ignored / 0 renamed / 0 moved
2019-09-07 18:51:43,658 - INFO - GOOGLE [140548416722688]: Processing 0 changes
2019-09-07 18:51:43,658 - INFO - GOOGLE [140548416722688]: 0 added / 0 removed / 0 unwanted / 0 ignored / 0 renamed / 0 moved
2019-09-07 18:52:43,950 - INFO - GOOGLE [140548416722688]: Processing 0 changes
2019-09-07 18:52:43,951 - INFO - GOOGLE [140548416722688]: 0 added / 0 removed / 0 unwanted / 0 ignored / 0 renamed / 0 moved
2019-09-07 18:53:44,290 - INFO - GOOGLE [140548416722688]: Processing 0 changes
2019-09-07 18:53:44,291 - INFO - GOOGLE [140548416722688]: 0 added / 0 removed / 0 unwanted / 0 ignored / 0 renamed / 0 moved
2019-09-07 18:54:44,632 - INFO - GOOGLE [140548416722688]: Processing 13 changes
2019-09-07 18:54:44,633 - INFO - RCLONE [140548416722688]: Encoded file Path identified as 'ipqf53ci161bq17u636onrea04/ckmdjd5r1t6q9u6b0ipq658hv5i1hg8dp1kaviack82f1a6tadru5hpom2ovtlab9i7jmvdqck06uj0jelh08ro8prbvheph9v09ebg'
2019-09-07 18:54:44,633 - INFO - RCLONE [140548416722688]: Crypt base directory identified as 'Meine Ablage/Misc/'
2019-09-07 18:54:44,634 - INFO - RCLONE [140548416722688]: Crypt base directory 'Meine Ablage/Misc/' has mapping defined in config as remote 'SecretDrive:'. Attempting to decode
2019-09-07 18:54:44,695 - ERROR - GOOGLE [140548416722688]: Exception sending request to https://www.googleapis.com/drive/v3/changes with kwargs={'params': {'pageToken': '837369', 'pageSize': 1000, 'includeRemoved': True, 'includeTeamDriveItems': False, 'supportsTeamDrives': False, 'fields': 'changes(file(md5Checksum,mimeType,modifiedTime,name,parents,teamDriveId,trashed),fileId,removed,teamDrive(id,name),teamDriveId),newStartPageToken,nextPageToken'}}:
Traceback (most recent call last):
File "/opt/plex_autoscan/google/drive.py", line 182, in query
callbacks'data_callback'
File "/opt/plex_autoscan/google/drive.py", line 602, in _process_changes
decoded = self.crypt_decoder.decode_path(item_paths[0])
File "/opt/plex_autoscan/rclone.py", line 28, in decode_path
decoded = subprocess.check_output([self._binary, "--config", self._config, "cryptdecode", mapped_remote, file_path], stderr=subprocess.STDOUT).rstrip('\n')
TypeError: a bytes-like object is required, not 'str'
^C 2019-09-07 18:54:58,188 - INFO - AUTOSCAN [140548520998720]: Server stopped

i probably screwed something in the config i guess... :confused:
god i hate editing config's like that :frowning:

You probably would need the config location if your user running the autoscan is different from the default rclone user? I'm not 100% sure as I never used this part of the autoscan as I run an all in one box.

I'd guess that's probably back to your crypt mapping. What do you have for this part?

  • Example: Crypt folder on drive called encrypt mapped to Rclone crypt mount called grypt: .

"CRYPT_MAPPINGS": { "My Drive/encrypt/": [ "gcrypt:" ] },

  • Example: Crypt Teamdrive named Shared_TV mapped to Rclone crypt mount called Shared_TV_crypt: .

"CRYPT_MAPPINGS": { "Shared_TV/": [ "Shared_TV_crypt:" ] },

Hi mate. Can you elaborate on this please?

I run Sonarr/Radarr/Plex/Emby/Deluge/etc. all on the same server so there is no need for Google Drive monitoring so I've never looked at that part of autoscan. I use autoscan mainly for the empty trash feature and not much else as I keep "empty trash' off in Plex.