I have a rather large library that is mounted as a network drive in Windows 2012 R2. If the scanner tries to scan the whole thing the connection dies and I have to kill the connection and remount. However items that are brought in via Sickbeard and a notification is sent to Plex about the item those seem fine and don't kill my connection. I have tried
"Plex Media Scanner.exe" --scan --refresh --section ## --directory "full path to folder"
but that scans some random items from that library and doesn't add the new item.
So what I would like to do is write a specialized scanner that will only scan one file at a time. Is there any documentation or APIs for this? In this post https://forums.plex.tv/topic/19303-command-line-for-plex-media-scanner/page-2#entry372190 Elan mentions writing a virtual scanner but provides no links to documentation or an idea as how to go about this. Any help would be appreciated