l3uddz / plex_autoscan

Script to assist sonarr/radarr with plex imports. Will only scan the folder that has been imported, instead of the whole library section.
GNU General Public License v3.0
395 stars 70 forks source link

cant seem to get Google drive mappings down #59

Closed saitoh183 closed 6 years ago

saitoh183 commented 6 years ago

here is my config

"PLEX_SECTION_PATH_MAPPINGS": {
    "8": [
      "/media/gdrive_encrypted/Videos/TV/"
    ], 
    "7": [
      "/media/gdrive_encrypted/Videos/Movies/"
    ],
    "9": [
      "/media/gdrive_encrypted/Videos/Anime/"
    ],
    "4": [
      "/media/gdrive_encrypted/Videos/FrenchTV/"
    ],
    "2": [
      "/media/gdrive_encrypted/Videos/French Movies/"
    ],
    "3": [
      "/media/gdrive_encrypted/Videos/UFC/"
    ],
    "10": [
      "/media/gdrive_encrypted/Videos/Kids-TV/"
    ]
  }, 
"SERVER_PATH_MAPPINGS": {
    "/media/gdrive_encrypted/Videos/Movies": [
      "/Videos/Movies"
    ],
    "/media/gdrive_encrypted/Videos/TV": [
      "/Videos/TV"
    ],
    "/media/gdrive_encrypted/Videos/Anime": [
      "/Videos/Anime"
    ],
    "/media/gdrive_encrypted/Videos/FrenchTV": [
      "/Videos/FrenchTV"
    ],
    "/media/gdrive_encrypted/Videos/French Movies": [
      "/Videos/French Movies"
    ],
    "/media/gdrive_encrypted/Videos/UFC": [
      "/Videos/UFC"
    ],
    "/media/gdrive_encrypted/Videos/Kids-TV": [
      "/Videos/Kids-TV"
    ]
  }, 

Gdrive path is /Videos/... and it is mounted as /media/gdrive_encrypted/Videos

Logs:

2018-11-10 03:51:53,710 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 03:51:53,711 -     INFO -    GDRIVE [139655713601280]: Added '1mFTh3YmZF4fohGRtf2oKkCN4LF_LcjPA' to cache: Infoman - S19E09 - Épisode 9.mp4
 2018-11-10 03:51:54,220 -     INFO -    GDRIVE [139655713601280]: Added '1uWBMO7PoBuUvocTHnliBcq2_64En-3eZ' to cache: Season 19
 2018-11-10 03:51:54,916 -     INFO -    GDRIVE [139655713601280]: Added '0B4SBUK6Y_ZyeOTVscGlSNTJHdXc' to cache: Infoman
 2018-11-10 03:51:55,432 -     INFO -    GDRIVE [139655713601280]: Added '0B4SBUK6Y_ZyeT0UxeU1jZXdQMTA' to cache: FrenchTV
 2018-11-10 03:51:55,915 -     INFO -    GDRIVE [139655713601280]: Added '0B4SBUK6Y_ZyeR2MtNlBVRmJYd00' to cache: Videos
 2018-11-10 03:51:56,400 -     INFO -    GDRIVE [139655713601280]: Added '0AISBUK6Y_ZyeUk9PVA' to cache: My Drive
 2018-11-10 03:51:56,449 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - \xc9pisode 9.mp4']
 2018-11-10 03:51:56,455 -     INFO -  AUTOSCAN [139655713601280]: Added 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' to database, proceeding with scan
 2018-11-10 03:51:56,455 -     INFO -      PLEX [139655626356480]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4', sleeping for 180 seconds...
 2018-11-10 03:53:57,600 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 03:53:57,600 -     INFO -    GDRIVE [139655713601280]: Added '1etI1x-zeCr6HkpQBI7TkYKqfOp-ThH9D' to cache: Crazy Ex-Girlfriend - S04E05 - I'm So Happy For You.mp4
 2018-11-10 03:53:58,101 -     INFO -    GDRIVE [139655713601280]: Added '18s78Typ2YF3MM4aaulbThEB9snfcl1Iv' to cache: Season 04
 2018-11-10 03:53:58,610 -     INFO -    GDRIVE [139655713601280]: Added '0B4SBUK6Y_ZyecTk5TVVTd2tWTTQ' to cache: Crazy Ex-Girlfriend
 2018-11-10 03:53:59,110 -     INFO -    GDRIVE [139655713601280]: Added '0B4SBUK6Y_ZyeTDVBZFVrWk1PYVk' to cache: TV
 2018-11-10 03:53:59,158 -     INFO -  AUTOSCAN [139655713601280]: Ignored 1 file(s) from Google Drive changes for already being in Plex!
 2018-11-10 03:54:56,554 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 1 of 10, checking again in 60 seconds.
 2018-11-10 03:55:56,615 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 2 of 10, checking again in 60 seconds.
 2018-11-10 03:56:56,672 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 3 of 10, checking again in 60 seconds.
 2018-11-10 03:57:56,721 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 4 of 10, checking again in 60 seconds.
 2018-11-10 03:58:01,439 -     INFO -  AUTOSCAN [139655713601280]: There's 2 Google Drive change(s) to process
 2018-11-10 03:58:01,445 -     INFO -    GDRIVE [139655713601280]: Added '1PaDvqNk-rsH5Jp-MHxYKvSXBzo8VX6Ko' to cache: Blue Bloods - S09E07 - By Hook or By Crook.mp4
 2018-11-10 03:58:01,970 -     INFO -    GDRIVE [139655713601280]: Added '15XE30z-btDnmuLKjvMls3Woa85whgmHW' to cache: Season 09
 2018-11-10 03:58:02,468 -     INFO -    GDRIVE [139655713601280]: Added '0B4SBUK6Y_ZyeV1pBcnVfRG5hM3c' to cache: Blue Bloods
 2018-11-10 03:58:02,551 -     INFO -  AUTOSCAN [139655713601280]: Ignored 1 file(s) from Google Drive changes for already being in Plex!
 2018-11-10 03:58:02,551 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - \xc9pisode 9.mp4']
 2018-11-10 03:58:02,552 -     INFO -  AUTOSCAN [139655713601280]: Already processing 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' from same folder, aborting adding an extra scan request to the queue
 2018-11-10 03:58:56,780 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 5 of 10, checking again in 60 seconds.
 2018-11-10 03:59:03,228 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 03:59:03,267 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - \xc9pisode 9.mp4']
 2018-11-10 03:59:03,267 -     INFO -  AUTOSCAN [139655713601280]: Already processing 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' from same folder, aborting adding an extra scan request to the queue
 2018-11-10 03:59:56,812 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 6 of 10, checking again in 60 seconds.
 2018-11-10 04:00:56,872 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 7 of 10, checking again in 60 seconds.
 2018-11-10 04:01:56,933 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 8 of 10, checking again in 60 seconds.
 2018-11-10 04:02:56,992 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 9 of 10, checking again in 60 seconds.
 2018-11-10 04:03:57,039 -  WARNING -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' exhausted all available checks, aborting scan request.
 2018-11-10 04:03:57,042 -     INFO -      PLEX [139655626356480]: Removed 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' from database
 2018-11-10 04:04:06,131 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:04:06,132 -     INFO -    GDRIVE [139655713601280]: Added '1oj9BoUyLGGan7NQ6q2AflmwPK2v3xK6r' to cache: Enquête - S12E08 - Épisode 8.mp4
 2018-11-10 04:04:06,654 -     INFO -    GDRIVE [139655713601280]: Added '1Es2Y6kPYbLg06t8A1TybIP9XqjKLpyO7' to cache: Season 12
 2018-11-10 04:04:07,253 -     INFO -    GDRIVE [139655713601280]: Added '0B4SBUK6Y_ZyeU2F3Ym9JMm1nMnM' to cache: Enquête
 2018-11-10 04:04:07,307 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/FrenchTV/Enqu\xeate/Season 12/Enqu\xeate - S12E08 - \xc9pisode 8.mp4']
 2018-11-10 04:04:07,310 -     INFO -  AUTOSCAN [139655713601280]: Added 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' to database, proceeding with scan
 2018-11-10 04:04:07,310 -     INFO -      PLEX [139655626356480]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4', sleeping for 180 seconds...
 2018-11-10 04:07:07,409 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 1 of 10, checking again in 60 seconds.
 2018-11-10 04:08:07,462 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 2 of 10, checking again in 60 seconds.
 2018-11-10 04:09:07,516 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 3 of 10, checking again in 60 seconds.
 2018-11-10 04:10:07,568 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 4 of 10, checking again in 60 seconds.
 2018-11-10 04:11:07,618 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 5 of 10, checking again in 60 seconds.
 2018-11-10 04:12:07,671 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 6 of 10, checking again in 60 seconds.
 2018-11-10 04:13:07,724 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 7 of 10, checking again in 60 seconds.
 2018-11-10 04:14:07,784 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 8 of 10, checking again in 60 seconds.
 2018-11-10 04:14:12,951 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:14:12,951 -     INFO -    GDRIVE [139655713601280]: Added '178a_gfajkjlwKwsUzsho_06o_8dj9oaA' to cache: The Meg (2018) Bluray-1080p.mp4
 2018-11-10 04:14:13,453 -     INFO -    GDRIVE [139655713601280]: Added '1zCK-1ytOjY9lbTk6_K6326IvkTL3WHu9' to cache: The Meg (2018)
 2018-11-10 04:14:13,959 -     INFO -    GDRIVE [139655713601280]: Added '0B4SBUK6Y_ZyeRTJqZTR3c3F2bEU' to cache: Movies
 2018-11-10 04:14:13,994 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4']
 2018-11-10 04:14:13,996 -     INFO -  AUTOSCAN [139655713601280]: Added 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' to database, proceeding with scan
 2018-11-10 04:14:13,997 -     INFO -      PLEX [139655617963776]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4', sleeping for 180 seconds...
 2018-11-10 04:15:07,844 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 9 of 10, checking again in 60 seconds.
 2018-11-10 04:16:07,904 -  WARNING -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' exhausted all available checks, aborting scan request.
 2018-11-10 04:16:07,909 -     INFO -      PLEX [139655626356480]: Removed 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' from database
 2018-11-10 04:17:14,083 -     INFO -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' did not exist on check 1 of 10, checking again in 60 seconds.
 2018-11-10 04:18:14,143 -     INFO -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' did not exist on check 2 of 10, checking again in 60 seconds.
 2018-11-10 04:18:16,280 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:18:16,281 -     INFO -    GDRIVE [139655713601280]: Added '1ybT9P1gGNTA8UUr0U-5XLm3948p_G39D' to cache: Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4
 2018-11-10 04:18:16,790 -     INFO -    GDRIVE [139655713601280]: Added '1jeH1Ua1W0cOn8pjrTCHZEHJQTnUsvkts' to cache: Season 05
 2018-11-10 04:18:17,296 -     INFO -    GDRIVE [139655713601280]: Added '0B4SBUK6Y_ZyedXEybld0a3MzUjQ' to cache: Fresh Off the Boat
 2018-11-10 04:18:17,341 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u"My Drive/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4"]
 2018-11-10 04:18:17,345 -     INFO -  AUTOSCAN [139655713601280]: Added 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' to database, proceeding with scan
 2018-11-10 04:18:17,345 -     INFO -      PLEX [139655626356480]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4', sleeping for 180 seconds...
 2018-11-10 04:19:14,199 -     INFO -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' did not exist on check 3 of 10, checking again in 60 seconds.
 2018-11-10 04:19:17,940 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:19:17,986 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/FrenchTV/Enqu\xeate/Season 12/Enqu\xeate - S12E08 - \xc9pisode 8.mp4']
 2018-11-10 04:19:17,990 -     INFO -  AUTOSCAN [139655713601280]: Added 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' to database, proceeding with scan
 2018-11-10 04:19:17,990 -     INFO -      PLEX [139655609571072]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4', sleeping for 180 seconds...
 2018-11-10 04:20:14,256 -     INFO -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' did not exist on check 4 of 10, checking again in 60 seconds.
 2018-11-10 04:20:18,599 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:20:18,645 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u"My Drive/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4"]
 2018-11-10 04:20:18,646 -     INFO -  AUTOSCAN [139655713601280]: Already processing 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' from same folder, aborting adding an extra scan request to the queue
 2018-11-10 04:21:14,313 -     INFO -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' did not exist on check 5 of 10, checking again in 60 seconds.
 2018-11-10 04:21:17,446 -     INFO -      PLEX [139655626356480]: Another scan request occurred for folder of 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4', sleeping again!
 2018-11-10 04:21:17,446 -     INFO -      PLEX [139655626356480]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4', sleeping for 180 seconds...
 2018-11-10 04:21:19,265 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:21:19,266 -     INFO -    GDRIVE [139655713601280]: Added '1cxjDGW3IK9yEL4C5CVq6fF7gDBp_Dc3T' to cache: Clash (2018) - S01E18 - ÉPISODE 18.mp4
 2018-11-10 04:21:19,773 -     INFO -    GDRIVE [139655713601280]: Added '1y7nalqzbQXcQ0hTy_tIjlboxWL7NW-_D' to cache: Season 01
 2018-11-10 04:21:20,283 -     INFO -    GDRIVE [139655713601280]: Added '1U5sQLDvIRleWY63u6CytSSzUK0dsm3JL' to cache: Clash (2018)
 2018-11-10 04:21:20,330 -     INFO -  AUTOSCAN [139655713601280]: Ignored 1 file(s) from Google Drive changes for already being in Plex!
 2018-11-10 04:22:14,372 -     INFO -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' did not exist on check 6 of 10, checking again in 60 seconds.
 2018-11-10 04:22:18,079 -     INFO -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 1 of 10, checking again in 60 seconds.
 2018-11-10 04:22:20,911 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:22:20,954 -     INFO -  AUTOSCAN [139655713601280]: Ignored 1 file(s) from Google Drive changes for already being in Plex!
 2018-11-10 04:23:14,417 -     INFO -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' did not exist on check 7 of 10, checking again in 60 seconds.
 2018-11-10 04:23:18,134 -     INFO -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 2 of 10, checking again in 60 seconds.
 2018-11-10 04:23:21,584 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:23:21,637 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - \xc9pisode 9.mp4']
 2018-11-10 04:23:21,642 -     INFO -  AUTOSCAN [139655713601280]: Added 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' to database, proceeding with scan
 2018-11-10 04:23:21,642 -     INFO -      PLEX [139655601178368]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4', sleeping for 180 seconds...
 2018-11-10 04:24:14,477 -     INFO -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' did not exist on check 8 of 10, checking again in 60 seconds.
 2018-11-10 04:24:17,518 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 1 of 10, checking again in 60 seconds.
 2018-11-10 04:24:18,194 -     INFO -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 3 of 10, checking again in 60 seconds.
 2018-11-10 04:24:22,257 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:24:22,314 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - \xc9pisode 9.mp4']
 2018-11-10 04:24:22,315 -     INFO -  AUTOSCAN [139655713601280]: Already processing 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' from same folder, aborting adding an extra scan request to the queue
 2018-11-10 04:25:14,535 -     INFO -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' did not exist on check 9 of 10, checking again in 60 seconds.
 2018-11-10 04:25:17,560 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 2 of 10, checking again in 60 seconds.
 2018-11-10 04:25:18,244 -     INFO -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 4 of 10, checking again in 60 seconds.
 2018-11-10 04:25:22,926 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:25:22,968 -     INFO -  AUTOSCAN [139655713601280]: Ignored 1 file(s) from Google Drive changes for already being in Plex!
 2018-11-10 04:26:14,594 -  WARNING -      PLEX [139655617963776]: File 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' exhausted all available checks, aborting scan request.
 2018-11-10 04:26:14,598 -     INFO -      PLEX [139655617963776]: Removed 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' from database
 2018-11-10 04:26:17,620 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 3 of 10, checking again in 60 seconds.
 2018-11-10 04:26:18,304 -     INFO -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 5 of 10, checking again in 60 seconds.
 2018-11-10 04:26:21,739 -     INFO -      PLEX [139655601178368]: Another scan request occurred for folder of 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4', sleeping again!
 2018-11-10 04:26:21,740 -     INFO -      PLEX [139655601178368]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4', sleeping for 180 seconds...
 2018-11-10 04:26:23,759 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:26:23,803 -     INFO -  AUTOSCAN [139655713601280]: Ignored 1 file(s) from Google Drive changes for already being in Plex!
 2018-11-10 04:27:17,680 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 4 of 10, checking again in 60 seconds.
 2018-11-10 04:27:18,357 -     INFO -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 6 of 10, checking again in 60 seconds.
 2018-11-10 04:27:24,432 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:27:24,476 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/FrenchTV/Enqu\xeate/Season 12/Enqu\xeate - S12E08 - \xc9pisode 8.mp4']
 2018-11-10 04:27:24,477 -     INFO -  AUTOSCAN [139655713601280]: Already processing 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' from same folder, aborting adding an extra scan request to the queue
 2018-11-10 04:28:17,723 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 5 of 10, checking again in 60 seconds.
 2018-11-10 04:28:18,406 -     INFO -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 7 of 10, checking again in 60 seconds.
 2018-11-10 04:29:17,764 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 6 of 10, checking again in 60 seconds.
 2018-11-10 04:29:18,464 -     INFO -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 8 of 10, checking again in 60 seconds.
 2018-11-10 04:29:21,828 -     INFO -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 1 of 10, checking again in 60 seconds.
 2018-11-10 04:30:17,768 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 7 of 10, checking again in 60 seconds.
 2018-11-10 04:30:18,514 -     INFO -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' did not exist on check 9 of 10, checking again in 60 seconds.
 2018-11-10 04:30:21,885 -     INFO -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 2 of 10, checking again in 60 seconds.
 2018-11-10 04:31:17,827 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 8 of 10, checking again in 60 seconds.
 2018-11-10 04:31:18,572 -  WARNING -      PLEX [139655609571072]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' exhausted all available checks, aborting scan request.
 2018-11-10 04:31:18,575 -     INFO -      PLEX [139655609571072]: Removed 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Enquête/Season 12/Enquête - S12E08 - Épisode 8.mp4' from database
 2018-11-10 04:31:21,942 -     INFO -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 3 of 10, checking again in 60 seconds.
 2018-11-10 04:32:17,884 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 9 of 10, checking again in 60 seconds.
 2018-11-10 04:32:21,992 -     INFO -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 4 of 10, checking again in 60 seconds.
 2018-11-10 04:32:27,633 -     INFO -    GDRIVE [139655713601280]: Renewed access token!
 2018-11-10 04:33:17,944 -  WARNING -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' exhausted all available checks, aborting scan request.
 2018-11-10 04:33:17,947 -     INFO -      PLEX [139655626356480]: Removed 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' from database
 2018-11-10 04:33:22,051 -     INFO -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 5 of 10, checking again in 60 seconds.
 2018-11-10 04:34:22,109 -     INFO -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 6 of 10, checking again in 60 seconds.
 2018-11-10 04:35:22,170 -     INFO -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 7 of 10, checking again in 60 seconds.
 2018-11-10 04:35:29,871 -     INFO -  AUTOSCAN [139655713601280]: There's 1 Google Drive change(s) to process
 2018-11-10 04:35:29,922 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u"My Drive/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4"]
 2018-11-10 04:35:29,926 -     INFO -  AUTOSCAN [139655713601280]: Added 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' to database, proceeding with scan
 2018-11-10 04:35:29,926 -     INFO -      PLEX [139655626356480]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4', sleeping for 180 seconds...
 2018-11-10 04:36:22,217 -     INFO -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 8 of 10, checking again in 60 seconds.
 2018-11-10 04:37:22,269 -     INFO -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' did not exist on check 9 of 10, checking again in 60 seconds.
 2018-11-10 04:38:22,327 -  WARNING -      PLEX [139655601178368]: File 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' exhausted all available checks, aborting scan request.
 2018-11-10 04:38:22,332 -     INFO -      PLEX [139655601178368]: Removed 'My Drive/media/gdrive_encrypted/Videos/FrenchTV/Infoman/Season 19/Infoman - S19E09 - Épisode 9.mp4' from database
 2018-11-10 04:38:30,024 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 1 of 10, checking again in 60 seconds.
 2018-11-10 04:39:30,085 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 2 of 10, checking again in 60 seconds.
 2018-11-10 04:40:30,145 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 3 of 10, checking again in 60 seconds.
 2018-11-10 04:41:30,204 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 4 of 10, checking again in 60 seconds.
 2018-11-10 04:42:30,251 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 5 of 10, checking again in 60 seconds.
 2018-11-10 04:43:30,306 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 6 of 10, checking again in 60 seconds.
 2018-11-10 04:44:30,364 -     INFO -      PLEX [139655626356480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Fresh Off the Boat/Season 05/Fresh Off the Boat - S05E05 - Mo' Chinese Mo' Problems.mp4' did not exist on check 7 of 10, checking again in 60 seconds.
 2018-11-10 04:44:35,026 -     INFO -  AUTOSCAN [139655713601280]: There's 2 Google Drive change(s) to process
 2018-11-10 04:44:35,089 -     INFO -  AUTOSCAN [139655713601280]: Ignored 1 file(s) from Google Drive changes for already being in Plex!
 2018-11-10 04:44:35,089 -     INFO -  AUTOSCAN [139655713601280]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4']
 2018-11-10 04:44:35,094 -     INFO -  AUTOSCAN [139655713601280]: Added 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4' to database, proceeding with scan
 2018-11-10 04:44:35,094 -     INFO -      PLEX [139655601178368]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/Movies/The Meg (2018)/The Meg (2018) Bluray-1080p.mp4', sleeping for 180 seconds...
desimaniac commented 6 years ago

Google drive monitoring does not work with encrypted drives. That’s also mentioned under that section.

saitoh183 commented 6 years ago

i know, what i did is mount it to a gdrive that isnt encrypted which has the same layout (it is my duplicate) gdrive.

saitoh183 commented 6 years ago

Basically, why is it adding My Drive in front of my plex library paths?..Im assuming this is why it isnt scanning in content..

desimaniac commented 6 years ago

Paste your full sanitized config.

saitoh183 commented 6 years ago
{
  "DOCKER_NAME": "plex", 
  "GDRIVE": {
    "CLIENT_ID": "<removed>", 
    "CLIENT_SECRET": "<removed>", 
    "ENABLED": true, 
    "IGNORE_PATHS": [], 
    "POLL_INTERVAL": 60, 
    "SCAN_EXTENSIONS": [
      "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"
    ], 
    "TEAMDRIVE": false
  }, 
  "PLEX_ANALYZE_DIRECTORY": true, 
  "PLEX_ANALYZE_TYPE": "basic", 
  "PLEX_DATABASE_PATH": "/plexdata/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/unionfs/mounted.bin"
  ], 
  "PLEX_EMPTY_TRASH_MAX_FILES": 100, 
  "PLEX_EMPTY_TRASH_ZERO_DELETED": false, 
  "PLEX_LD_LIBRARY_PATH": "/usr/lib/plexmediaserver", 
  "PLEX_LOCAL_URL": "http://localhost:32400", 
  "PLEX_SCANNER": "/usr/lib/plexmediaserver/Plex\\ Media\\ Scanner", 
  "PLEX_SECTION_PATH_MAPPINGS": {
    "8": [
      "/media/gdrive_encrypted/Videos/TV/"
    ], 
    "7": [
      "/media/gdrive_encrypted/Videos/Movies/"
    ],
    "9": [
      "/media/gdrive_encrypted/Videos/Anime/"
    ],
    "4": [
      "/media/gdrive_encrypted/Videos/FrenchTV/"
    ],
    "2": [
      "/media/gdrive_encrypted/Videos/French Movies/"
    ],
    "3": [
      "/media/gdrive_encrypted/Videos/UFC/"
    ],
    "10": [
      "/media/gdrive_encrypted/Videos/Kids-TV/"
    ]
  }, 
  "PLEX_SUPPORT_DIR": "/plexdata/Library/Application\\ Support", 
  "PLEX_TOKEN": "<removed>", 
  "PLEX_USER": "plex", 
  "PLEX_WAIT_FOR_EXTERNAL_SCANNERS": true, 
  "RCLONE_RC_CACHE_EXPIRE": {
    "ENABLED": false, 
    "FILE_EXISTS_TO_REMOTE_MAPPINGS": {
      "Media/": [
        "/home/thompsons/plexdrive/Media"
      ]
    }, 
    "RC_URL": "http://localhost:5572"
  }, 
  "RUN_COMMAND_AFTER_SCAN": "", 
  "RUN_COMMAND_BEFORE_SCAN": "", 
  "SERVER_ALLOW_MANUAL_SCAN": true, 
  "SERVER_FILE_CHECK_DELAY": 60, 
  "SERVER_FILE_EXIST_PATH_MAPPINGS": {
    "/home/thompsons/plexdrive": [
      "/data"
    ]
  }, 
  "SERVER_IGNORE_LIST": [
    "/.grab/", 
    ".DS_Store", 
    "Thumbs.db"
  ], 
  "SERVER_IP": "0.0.0.0", 
  "SERVER_MAX_FILE_CHECKS": 10, 
  "SERVER_PASS": "<removed>", 
  "SERVER_PATH_MAPPINGS": {
    "/media/gdrive_encrypted/Videos/Movies": [
      "/Videos/Movies"
    ],
    "/media/gdrive_encrypted/Videos/TV": [
      "/Videos/TV"
    ],
    "/media/gdrive_encrypted/Videos/Anime": [
      "/Videos/Anime"
    ],
    "/media/gdrive_encrypted/Videos/FrenchTV": [
      "/Videos/FrenchTV"
    ],
    "/media/gdrive_encrypted/Videos/French Movies": [
      "/Videos/French Movies"
    ],
    "/media/gdrive_encrypted/Videos/UFC": [
      "/Videos/UFC"
    ],
    "/media/gdrive_encrypted/Videos/Kids-TV": [
      "/Videos/Kids-TV"
    ]
  }, 
  "SERVER_PORT": 3467, 
  "SERVER_SCAN_DELAY": 180, 
  "SERVER_SCAN_FOLDER_ON_FILE_EXISTS_EXHAUSTION": false, 
  "SERVER_SCAN_PRIORITIES": {
    "0": [
      "/media/gdrive_encrypted/Videos/TV"
    ], 
    "1": [
      "/media/gdrive_encrypted/Videos/Movies"
    ], 
    "2": [
      "/media/gdrive_encrypted/Videos/Anime"
    ],
    "3": [
      "/media/gdrive_encrypted/Videos/FrenchTV"
    ],
    "4": [
      "/media/gdrive_encrypted/Videos/Kids-TV"
    ],
    "5": [
      "/media/gdrive_encrypted/Videos/French Movies"
    ],
    "6": [
      "/media/gdrive_encrypted/Videos/UFC"
    ]
  }, 
  "SERVER_USE_SQLITE": true, 
  "USE_DOCKER": false, 
  "USE_SUDO": false
}
desimaniac commented 6 years ago

You need to tell the config to map Gdrive to a folder locally...

  "SERVER_PATH_MAPPINGS": {
    "/media/gdrive_encrypted/Videos/Movies": [
      "/Videos/Movies",
      "My Drive/media/gdrive_encrypted/Videos/Movies/"
    ],
    "/media/gdrive_encrypted/Videos/TV": [
      "/Videos/TV",
      "My Drive/media/gdrive_encrypted/Videos/TV/"
    ],
    "/media/gdrive_encrypted/Videos/Anime": [
      "/Videos/Anime",
      "My Drive/media/gdrive_encrypted/Videos/Anime/"
    ],
    "/media/gdrive_encrypted/Videos/FrenchTV": [
      "/Videos/FrenchTV",
      "My Drive/media/gdrive_encrypted/Videos/FrenchTV"
    ],
    "/media/gdrive_encrypted/Videos/French Movies": [
      "/Videos/French Movies"
      "My Drive/media/gdrive_encrypted/Videos/French Movies"
    ],
    "/media/gdrive_encrypted/Videos/UFC": [
      "/Videos/UFC"
      "My Drive/media/gdrive_encrypted/Videos/UFC"
    ],
    "/media/gdrive_encrypted/Videos/Kids-TV": [
      "/Videos/Kids-TV",
      "My Drive/media/gdrive_encrypted/Videos/Kids-TV"
    ]
  }, 
saitoh183 commented 6 years ago

Why is My Drive at the start of the path?

/Videos/Movies < Gdrive path /media/gdrive_encrypted/Videos/Movies < Local path My Drive/media/gdrive_encrypted/Videos/Movies/ < ?

desimaniac commented 6 years ago

Can you try it ?

saitoh183 commented 6 years ago

Yeah I will, just trying to understand the configuration

desimaniac commented 6 years ago

I pushed out an update for that section of the readme file. That should clarify it.

saitoh183 commented 6 years ago

Doesnt seem to be working..

       _                         _                            
  _ __ | | _____  __   __ _ _   _| |_ ___  ___  ___ __ _ _ __  
 | '_ \| |/ _ \ \/ /  / _` | | | | __/ _ \/ __|/ __/ _` | '_ \ 
 | |_) | |  __/>  <  | (_| | |_| | || (_) \__ \ (_| (_| | | | |
 | .__/|_|\___/_/\_\  \__,_|\__,_|\__\___/|___/\___\__,_|_| |_|
 |_|                                                           

#########################################################################
# Author:   l3uddz                                                      #
# URL:      https://github.com/l3uddz/plex_autoscan                     #
# --                                                                    #
# Part of the Cloudbox project: https://cloudbox.works                  #
#########################################################################
# GNU General Public License v3.0                                       #
#########################################################################

 2018-11-12 08:59:45,340 -     INFO -  AUTOSCAN [139831880595200]: Starting queue processor in 10 seconds
 2018-11-12 08:59:45,341 -     INFO -  AUTOSCAN [139831872202496]: Starting Google Drive changes monitor in 30 seconds...
 2018-11-12 08:59:45,341 -     INFO -  AUTOSCAN [139831944521472]: Starting server: http://0.0.0.0:3467/fca395bade7b4e31bd0783882bcdf026
 2018-11-12 08:59:55,349 -     INFO -  AUTOSCAN [139831880595200]: Queue processor started
 2018-11-12 08:59:55,350 -     INFO -  AUTOSCAN [139831880595200]: Restored 0 scan requests from database
 2018-11-12 09:00:15,357 -     INFO -  AUTOSCAN [139831872202496]: Google Drive access tokens were successfully loaded
 2018-11-12 09:00:15,357 -     INFO -  AUTOSCAN [139831872202496]: Google Drive changes monitor started
 2018-11-12 09:03:17,743 -     INFO -  AUTOSCAN [139831872202496]: There's 1 Google Drive change(s) to process
 2018-11-12 09:34:36,285 -     INFO -  AUTOSCAN [139831872202496]: There's 1 Google Drive change(s) to process
 2018-11-12 09:34:36,286 -     INFO -    GDRIVE [139831872202496]: Added '1obENZ-hFGORpktnJ7RyiAGIiIr_YKSgk' to cache: Outlander - S04E02 - Do No Harm.mp4
 2018-11-12 09:34:36,808 -     INFO -    GDRIVE [139831872202496]: Added '1bAUWDFYAyH2MMtwWc9X995Shr2nxqKN9' to cache: Season 04
 2018-11-12 09:34:37,320 -     INFO -    GDRIVE [139831872202496]: Added '0B4SBUK6Y_ZyeVVF4MlNqMHpVbGs' to cache: Outlander
 2018-11-12 09:34:37,884 -     INFO -    GDRIVE [139831872202496]: Added '0B4SBUK6Y_ZyeTDVBZFVrWk1PYVk' to cache: TV
 2018-11-12 09:34:38,406 -     INFO -    GDRIVE [139831872202496]: Added '0B4SBUK6Y_ZyeR2MtNlBVRmJYd00' to cache: Videos
 2018-11-12 09:34:38,915 -     INFO -    GDRIVE [139831872202496]: Added '0AISBUK6Y_ZyeUk9PVA' to cache: My Drive
 2018-11-12 09:34:38,961 -     INFO -  AUTOSCAN [139831872202496]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4']
 2018-11-12 09:34:38,965 -     INFO -  AUTOSCAN [139831872202496]: Added 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' to database, proceeding with scan
 2018-11-12 09:34:38,965 -     INFO -      PLEX [139831787124480]: Scan request from Google Drive for 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4', sleeping for 180 seconds...
 2018-11-12 09:36:40,438 -     INFO -    GDRIVE [139831872202496]: Renewed access token!
 2018-11-12 09:37:39,066 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 1 of 10, checking again in 60 seconds.
 2018-11-12 09:38:39,124 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 2 of 10, checking again in 60 seconds.
 2018-11-12 09:38:42,314 -     INFO -  AUTOSCAN [139831872202496]: There's 1 Google Drive change(s) to process
 2018-11-12 09:38:42,315 -     INFO -    GDRIVE [139831872202496]: Added '1F-L2xl4ZvD-mL-VPgt4EL7S5iVQGELMg' to cache: Point Break (1991) Bluray-1080p.mp4
 2018-11-12 09:38:42,831 -     INFO -    GDRIVE [139831872202496]: Added '1ECyqhhlEEqL0NLp9ni6BCufY7K-g8YXf' to cache: Point Break (1991)
 2018-11-12 09:38:43,379 -     INFO -    GDRIVE [139831872202496]: Added '0B4SBUK6Y_ZyeRTJqZTR3c3F2bEU' to cache: Movies
 2018-11-12 09:38:43,407 -     INFO -  AUTOSCAN [139831872202496]: Ignored 1 file(s) from Google Drive changes for already being in Plex!
 2018-11-12 09:39:39,184 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 3 of 10, checking again in 60 seconds.
 2018-11-12 09:39:44,023 -     INFO -  AUTOSCAN [139831872202496]: There's 1 Google Drive change(s) to process
 2018-11-12 09:39:44,024 -     INFO -    GDRIVE [139831872202496]: Added '1KGJaB3vVAwM9T6-YDWwT2NNwJF_03shB' to cache: 90 Day Fiancé Before The 90 Days - S02E11 - Goodbye for Now.mp4
 2018-11-12 09:39:44,691 -     INFO -    GDRIVE [139831872202496]: Added '1anQFlpXxN-JtFuQJ37pZCsifYoNt6apn' to cache: Season 02
 2018-11-12 09:39:45,257 -     INFO -    GDRIVE [139831872202496]: Added '1StVmS1qpqhnXl0qdonAMQj5q-lcfMZX-' to cache: 90 Day Fiancé Before The 90 Days
 2018-11-12 09:39:45,306 -     INFO -  AUTOSCAN [139831872202496]: Ignored 1 file(s) from Google Drive changes for already being in Plex!
 2018-11-12 09:40:39,245 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 4 of 10, checking again in 60 seconds.
 2018-11-12 09:41:39,305 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 5 of 10, checking again in 60 seconds.
 2018-11-12 09:41:46,604 -     INFO -  AUTOSCAN [139831872202496]: There's 1 Google Drive change(s) to process
 2018-11-12 09:41:46,659 -     INFO -  AUTOSCAN [139831872202496]: Proceeding with scan of 1 file(s) from Google Drive changes: [u'My Drive/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4']
 2018-11-12 09:41:46,660 -     INFO -  AUTOSCAN [139831872202496]: Already processing 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' from same folder, aborting adding an extra scan request to the queue
 2018-11-12 09:42:39,366 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 6 of 10, checking again in 60 seconds.
 2018-11-12 09:43:39,422 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 7 of 10, checking again in 60 seconds.
 2018-11-12 09:44:39,424 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 8 of 10, checking again in 60 seconds.
 2018-11-12 09:45:39,484 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 9 of 10, checking again in 60 seconds.
 2018-11-12 09:46:39,544 -  WARNING -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' exhausted all available checks, aborting scan request.
 2018-11-12 09:46:39,547 -     INFO -      PLEX [139831787124480]: Removed 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' from database

Here is the process might help in fixing the issue.

Plex and Sonarr/Radarr are on different boxes.

On Sonarr/Radarr box, files are sent to library folder and are then uploaded to 2 Gdrives via rclone. First it is uploaded to an encrypted Gdrive (i know it is not support. It's the gdrive plex uses). Second upload is to a non-encrypted gdrive (monitored by plex_scan). Both have the same hierarchy for the path to the files.

On the plex box, the gdrive is mounted to /media/gdrive_encrypted/ and plexscan is running. Since there is a small delay before the mount shows the file that was uploaded, i made sure to upload to the encrypted drive first so that by the time the plex scan picks up changes, the file is visible in the /media/gdrive_encrypted/.

desimaniac commented 6 years ago
 2018-11-12 09:37:39,066 -     INFO -      PLEX [139831787124480]: File 'My Drive/media/gdrive_encrypted/Videos/TV/Outlander/Season 04/Outlander - S04E02 - Do No Harm.mp4' did not exist on check 1 of 10, checking again in 60 seconds.

Here it using the server mappings to check to see if it's ic located in your /media/gdrive_encrypted/ or not.. and it's failing....

desimaniac commented 6 years ago

.. and while typing that i just realized you never did your SERVER_FILE_EXISTS_MAPPING section 😛

  "SERVER_FILE_EXIST_PATH_MAPPINGS": {
    "/media/gdrive_encrypted/Videos/": [
      "/Videos/"
    ]
  }, 

in case that alone does not work.....

Are you using Sonarr/Radarr and Plex as Docker containers?

If so, can you tell me the paths that Sonarr/Radarr uses for its rooth path and what library path your Plex is using?

Then i can fix your config up accordingly.

l3uddz commented 6 years ago

Not using sonarr/radarr?

If so:

  "SERVER_PATH_MAPPINGS": {
    "/media/gdrive_encrypted/Videos/Movies/": [
      "My Drive/Videos/Movies/"
    ],
    "/media/gdrive_encrypted/Videos/TV/": [
      "My Drive/Videos/TV/"
    ],
    "/media/gdrive_encrypted/Videos/Anime/": [
      "My Drkve/Videos/Anime/"
    ],
    "/media/gdrive_encrypted/Videos/FrenchTV/": [
      "My Drive/Videos/FrenchTV/"
    ],
    "/media/gdrive_encrypted/Videos/French Movies/": [
      "My Drive/Videos/French Movies/"
    ],
    "/media/gdrive_encrypted/Videos/UFC/": [
      "My Drive/Videos/UFC/"
    ],
    "/media/gdrive_encrypted/Videos/Kids-TV/": [
      "My Drive/Videos/Kids-TV/"
    ]
  },
saitoh183 commented 6 years ago

As i said before the plex and sonarr are not on the same box. Plex is not running in docker. Sonarr/Radarr is not using unionFS to merge local and cloud drive. After Files are processed via one of the "arr's" a script runs which uploads the file to gdrive via rclone move.

I will try the above

saitoh183 commented 6 years ago

also ending path with backslash like you did above causes error :)

desimaniac commented 6 years ago

I am aware that they are not on the same box, but if you look at the config explanations, it translates the sonarr paths to local paths on the host plex box as well.

desimaniac commented 6 years ago

I have trailing slashes, works ok for me.

And, I too, have sonarr/radarr setup on a separate box than my plex one.

saitoh183 commented 6 years ago

I have trailing slashes, works ok for me.

in the first config you posted, it didnt...but i think it was because some paths had the backslash and some didnt

desimaniac commented 6 years ago

Yeah maybe mixed settings prob did it.

desimaniac commented 6 years ago

Server path mappings - FOR NATIVE ie NON Docker Setups.. regardless of where sonarr and plex are located (ie same box or different boxes).

Format:

"SERVER_PATH_MAPPINGS": {
    "/path/on/local/plex/host": [   <--- Plex Library path
        "/path/to/media/on/sonarr/host"   <--- TV root path
    ]
},
desimaniac commented 6 years ago

I hope the above clears it up. It's why I was asking about your paths.

saitoh183 commented 6 years ago

yeah it is what i thought, the portion that was puzzling me was the addition of My Drive to the path

desimaniac commented 6 years ago

I think i finally got what it was.. your gdrive was /Video... so it should have been "My Drive/Video".. If you are using gdrive in french mode, you wont notice that.

I suggest you come on to the Discord chat server and start fresh on your config. PM me there and tell me what you exact paths for Sonarr, Plex, and Gdrive are.. send me screenshots if you have to. Ill close this cause i think we are going to go in circles .

Discord link is on the Readme (at the top).