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.

Download complete notification using Directory Watcher

If you have a question or need help, this is the place to be.
Post Reply
SE2000
Posts: 1
Joined: Thu Oct 30, 2014 5:15 pm

Download complete notification using Directory Watcher

Post by SE2000 »

Hello,

I'm trying to do something simple. I just started using EG yesterday and I've almost got this right, but I'm having some issues.

Basically, when a file is created in a folder, I have EG sending a notification to my phone through the AutoRemote plugin. Simple, but a few things I don't know how to do:

1. The download manager creates two files, one is a .tmp and the other is the actual file I want. Because of this, I get two notifications and it's really annoying. How can I get the directory watcher to ignore .tmp files?
2. I can't figure out how to get just the filename. I use eg.event.payload and it sends something weird like u'E:\\Downloads\\file.zip' and I'd rather just show "file.zip"
3. I only want the notifications to show up while my computer is locked.

I was wondering if anyone could help me. I don't have experience with python scripts or anything, and I don't know if this can be done without scripts.

Thank you.
Post Reply