Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Using Directory Watcher for completed file trasfer

If you have a question or need help, this is the place to be.
Post Reply
agrowe
Posts: 6
Joined: Tue Dec 28, 2010 7:17 am

Using Directory Watcher for completed file trasfer

Post by agrowe »

Hi,
I have been using the latest version of Eventghost on Win7 x64 to help automate my XBMC install.
The problem I was facing was that i wanted XBMC to update its library whenever I added a new show to its folder.
I had this working with the XBMC plugin and the Directory Watcher plugin but not 100%.
I had directorywatcher.updated > XBMC.updatelibrary(video).
What happens in the event log is:

Code: Select all

5:24:36 PM   DirectoryWatcher2.Created (u'H:\\TV\\Top Gear\\SEASON 15\\Top Gear - 15x07.avi',)
5:24:36 PM   DirectoryWatcher2.Updated (u'H:\\TV\\Top Gear\\SEASON 15',)
5:24:36 PM      XBMC: Update Video Library
5:24:36 PM         XBMC: Update Video Library
5:24:36 PM   DirectoryWatcher2.Updated (u'H:\\TV\\Top Gear\\SEASON 15\\Top Gear - 15x07.avi',)
5:24:36 PM      XBMC: Update Video Library
5:24:36 PM         XBMC: Update Video Library
5:24:53 PM   DirectoryWatcher2.Updated (u'H:\\TV\\Top Gear\\SEASON 15\\Top Gear - 15x07.avi',)
5:24:53 PM      XBMC: Update Video Library
5:24:53 PM         XBMC: Update Video Library
5:24:53 PM   DirectoryWatcher2.Updated (u'H:\\TV\\Top Gear\\SEASON 15\\Top Gear - 15x07.avi',)
5:24:53 PM      XBMC: Update Video Library
5:24:53 PM         XBMC: Update Video Library
5:24:53 PM   DirectoryWatcher2.Updated (u'H:\\TV\\Top Gear\\SEASON 15\\Top Gear - 15x07.avi',)
5:24:53 PM      XBMC: Update Video Library
5:24:53 PM         XBMC: Update Video Library
5:24:53 PM   DirectoryWatcher2.Updated (u'H:\\TV\\Top Gear\\SEASON 15\\Top Gear - 15x07.avi',)
5:24:53 PM      XBMC: Update Video Library
5:24:53 PM         XBMC: Update Video Library
It runs CREATED, then UPDATED but keeps on running UPDATED cause the file is still being pasted.
I would like it to run only when the file has been completely moved, is this possible to do this with Eventghost and Directory Watcher.
Any help would be greatly appreciated.

Regards.
Post Reply