Need help with DirectoryWatcher (solved)
Posted: Tue Sep 27, 2011 5:03 pm
Im trying to automate my htpc and i need to get some stuff to work.
This is what i want:
1: When something in Z:\TvTorrents.com gets created. A program C:\Users\PC\Desktop\cleartorrent\cleartorrent.exe should start. This has to be hidden. This will remove the torrent from the utorrent.
2: When something in Z:\TvTorrents.com gets created/updated. theRenamer should start C:\Program Files (x86)\theRenamer\theRenamer.exe. But only one program, not one for each mediafile.(this is was usualy happens)
3: When something gets updated in X:\ and Y:\ xbmc gonna look for new mediafiles.
My problem is that when something gets added in Z:\TvTorrents.com. 100s of events with DirectoryWatcher3.updated happens.Is there anyway i can make it will only trigger one event for each for the mediafile? The setup i have now works fine for one and one episode. But when download a couple of seasons eg just freezes.
This is what i want:
1: When something in Z:\TvTorrents.com gets created. A program C:\Users\PC\Desktop\cleartorrent\cleartorrent.exe should start. This has to be hidden. This will remove the torrent from the utorrent.
2: When something in Z:\TvTorrents.com gets created/updated. theRenamer should start C:\Program Files (x86)\theRenamer\theRenamer.exe. But only one program, not one for each mediafile.(this is was usualy happens)
3: When something gets updated in X:\ and Y:\ xbmc gonna look for new mediafiles.
My problem is that when something gets added in Z:\TvTorrents.com. 100s of events with DirectoryWatcher3.updated happens.Is there anyway i can make it will only trigger one event for each for the mediafile? The setup i have now works fine for one and one episode. But when download a couple of seasons eg just freezes.