Google Drive changes monitor starts then does nothing
wongjustin99 opened this issue · comments
I think I've misconfigured google drive changes monitor -- I can see the monitor start in syslog, but then it just does nothing:
7 00:47:24,998 - INFO - AUTOSCAN [140120572458752]: Starting server: http://0.0.0.0:3467/5baf69b7a96a49609d4fc│
7 00:47:25,002 - INFO - AUTOSCAN [140120475117312]: Starting Google Drive changes monitor in 30 seconds... │
7 00:47:55,031 - INFO - AUTOSCAN [140120475117312]: Google Drive access tokens were successfully loaded │
7 00:47:55,032 - INFO - AUTOSCAN [140120475117312]: Google Drive changes monitor started
Config file below.
{
"DOCKER_NAME": "plex",
"GDRIVE": {
"ALLOW_PATHS": ["My Drive/nhk_shows","My Drive/media"],
"CLIENT_ID": "NONONO",
"CLIENT_SECRET": "NONONO",
"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"
],
"SHOW_CACHE_MESSAGES": false,
"TEAMDRIVE": false
},
"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": [
""
],
"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": {
"1": [
"/media/gdrive/Media/Movies/"
],
"2": [
"/media/gdrive/nhk_shows/"
],
"3": [
"/media/gdrive/Media/TV/"
]
},
"PLEX_SUPPORT_DIR": "/var/lib/plexmediaserver/Library/Application\\ Support",
"PLEX_TOKEN": "",
"PLEX_USER": "plex",
"PLEX_WAIT_FOR_EXTERNAL_SCANNERS": true,
"RCLONE_RC_CACHE_EXPIRE": {
"ENABLED": false,
"FILE_EXISTS_TO_REMOTE_MAPPINGS": {
"Media/": [
"/mnt/gdrive/Media/"
],
"nhk_shows/": [
"/mnt/gdrive/nhk_shows/"
]
},
"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": "NONONO",
"SERVER_PATH_MAPPINGS": {
},
"SERVER_PORT": 3467,
"SERVER_SCAN_DELAY": 180,
"SERVER_SCAN_FOLDER_ON_FILE_EXISTS_EXHAUSTION": false,
"SERVER_SCAN_PRIORITIES": {
"0": [
"/nhk_shows/"
],
"1": [
"/TV/"
],
"2": [
"/Movies/"
]
},
"SERVER_USE_SQLITE": false,
"USE_DOCKER": false,
"USE_SUDO": true
}
Solved issue -- was using wrong drive credentials -- also my paths were a bit wrong, had "media" instead of "my drive"