DirectoryWatcher help
Posted: Tue Jun 09, 2015 6:23 pm
Hi guys,
I'm still fairly new with EG and am trying to setup an automated media center. I've tried to follow all the guides out there but for some reason I'm not getting the exact behavior that they are experiencing.
The problem that I'm running into is with DirectoryWatcher.Updated. I can't find any sort of pattern with how many of these I get for each file. Sometimes when downloading a file, this will trigger 3 times, sometimes 4, sometimes more.
With that, I'm having a hard time to create a setup that will encompass all of these. What I'm trying to do is very basic. I want to download a file, have EG monitor that directory, when the file is finished I want to run my AMC.bat file to process it (filebot, rename, move to proper directory).
Am I doing something wrong that is causing the random amounts of updates? If not, is there a way to deal with these so that my process will work whether it's 3, 4, 5 or more?
I'm still fairly new with EG and am trying to setup an automated media center. I've tried to follow all the guides out there but for some reason I'm not getting the exact behavior that they are experiencing.
The problem that I'm running into is with DirectoryWatcher.Updated. I can't find any sort of pattern with how many of these I get for each file. Sometimes when downloading a file, this will trigger 3 times, sometimes 4, sometimes more.
With that, I'm having a hard time to create a setup that will encompass all of these. What I'm trying to do is very basic. I want to download a file, have EG monitor that directory, when the file is finished I want to run my AMC.bat file to process it (filebot, rename, move to proper directory).
Am I doing something wrong that is causing the random amounts of updates? If not, is there a way to deal with these so that my process will work whether it's 3, 4, 5 or more?