Updated Directory Watcher

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
SilentException
Posts: 12
Joined: Wed Oct 29, 2008 1:19 am

Updated Directory Watcher

Post by SilentException » Wed Oct 29, 2008 3:18 am

hello!

i've updated DirectoryWatcher plugin so the filenames are used in events too..

that way you can do actions (create, delete, update, rename) in watched directory and the event would be dependent on the file name too (not just on the action).

this was added like the option in plugin properties

see if you like it and if it's usable to some (i hope it is) :)

later..

http://pastebin.com/m3dd97608

slimyosra
Posts: 1
Joined: Fri Nov 28, 2008 3:41 pm

Re: Updated Directory Watcher

Post by slimyosra » Fri Nov 28, 2008 3:47 pm

Hi,
Is there a way to get the filename returned. I want every time a new avi file is placed in the specific directory to be converted to an mpeg file. so I need the file to pass as argument to the converter.
Any idea ?
Thanks

Post Reply