Jump to content

Recommended Posts

tattoomees
Posted

Hi can u show how's your config is ? Mine is still not find new files or folders:(

Posted

These are the flags I use together with my service rclone mount:

--allow-other --fast-list --uid=1000 --gid=1000 --umask 002 --timeout 1h --transfers=16 --checkers=8 --tpslimit 10 --max-read-ahead=256M --poll-interval=1m --dir-cache-time 1000h --vfs-cache-mode writes --vfs-cache-max-age 1h --vfs-read-chunk-size-limit 2048M  --vfs-read-chunk-size 64M --buffer-size 64M

 

Do be sure you're using an rclone vfs mount.

saitoh183
Posted

I'm still trying to get this to work but the Gdrive Id keeps saying it is wrong. I have tried the ID for my video folder that you find in the url and I have tried the Gdrive ID itself. I'm not using a team drive, it's a gsuite drive.

Posted

I gave up on the python script, doesn’t seem to work.

  • 2 weeks later...
Posted

1. So I was wondering if you can utilize service accounts with this or not?

2. I finally got it working I think but ran into this error:
 

Issue while trying to retrive changes for drive: REDACTED. Error: maximum recursion depth exceeded
Trying again, retry # 1
Traceback (most recent call last):
  File "scan.py", line 49, in <module>
    main()
  File "scan.py", line 25, in main
    embyUpdates, nextPageToken, error = getChanges(driveConfig, currentPageToken, generalConfig['headless'])
  File "/opt/emby_gdrive_autoscan/googleDriveService.py", line 203, in getChanges
    getChanges(config, nextPageToken, headless)
  File "/opt/emby_gdrive_autoscan/googleDriveService.py", line 203, in getChanges
    getChanges(config, nextPageToken, headless)
  File "/opt/emby_gdrive_autoscan/googleDriveService.py", line 203, in getChanges
    getChanges(config, nextPageToken, headless)
  [Previous line repeated 950 more times]
  File "/opt/emby_gdrive_autoscan/googleDriveService.py", line 181, in getChanges
    changes = response.get('changes')
AttributeError: 'NoneType' object has no attribute 'get'

All I did was take the last known token and input into the config file and had it start from there to restart it. But I don't know if this is an issue or if something is wrong on my end.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...