Aug-17-2021, 08:15 AM
I think you can't use the Watchdog to observe media Changes.
Polling the directory the whole time is ineffective and if a CD is in your drive, it will always spin up during polling. This can be very annoying.
You have to use the win32 subsystem and a guy made already the work: https://abdus.dev/posts/python-monitor-usb/
Polling the directory the whole time is ineffective and if a CD is in your drive, it will always spin up during polling. This can be very annoying.
You have to use the win32 subsystem and a guy made already the work: https://abdus.dev/posts/python-monitor-usb/
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!