Hello, I am trying to get eventghost to do the following in order:
1 - Watch for a new file get created in a folder (W:\Movie)
2 - When new file is noticed run EmberMediaManager (this will scrape jpegs and media info)
3 - Move newly created files and movie into a folder on NAS. (N:\Movie)
I am not sure the best way to do this. I have added the plugin "Directory Watcher" and that will create an event. Then I created a macro called "EmberMediaManager" which when a new file is detected will run with the command: "-fullauto -all". So this will scrape and place new files in this same directory. Well the problem that I am having is that when this program starts running it writes new files to this dir so then it will run again and new files keep on getting placed in this folder that the plugin is watching. This is creating a loop effect and I am stuck rebooting my machine cause it literally runs this app like 100 times, lol. So I can't think of a better clever way to make this work. Its probably very simple but I just cant think of what to do so this wont loop.
My second issue it trying to get the files moved onto my NAS. I would like to try and only move certain files (.jpg, .mkv, .nfo). I have attached what I have setup right now so you guys can better understand what I have going. Any help would be great thank you!
-haryy
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.
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.
Cant stop EventGhost from endless loop
Re: Cant stop EventGhost from endless loop
Try moving the movie files to a temporary directory before scraping them with ember. Then once you are done scraping transfer them to your NAS. That way the new files added by ember won't trigger the event each time.