Auto-Import uses the OS provided monitoring functions to listen for file changes. Its quite likely that such a virtual file system doesn't trigger the appropriate hooks in the OS.
Yeah, seems that way. The Google Drive client does trigger whatever it is.
I found a few examples of people that have created python scripts to watch for new directories and then tell Plex to import those. I'm sure I can take one of these and adapt it to MC using the /import/ api:
https://github.com/stokkes/plex_rcsI'll work on that this weekend. Seems like a basic enough idea. Watch a log file, when certain words show up, call the MCWS API to import that directory. My initial look at this means it'll be a little ugly because the log file outputs the directory relative to rclone, not to my install (which happens to be on Windows). So I see something like this:
2021/05/07 09:54:04 INFO : 00_test folder/New Text Document.txt: vfs cache: queuing for upload in 5s
2021/05/07 09:54:12 INFO : 00_test folder/New Text Document.txt: Copied (new)
2021/05/07 09:54:12 INFO : 00_test folder/New Text Document.txt: vfs cache: upload succeeded try #1
And I need to tell MCWS to import like this:
/MCWS/v1/Library/Import?Block=0&path=z%3A%5C00_test%20folder
Not the most elegant solution, but it'll at least get me something to use as a signal that I have a new folder to import.