|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Utility: DirMon v0.2.4 (Updated 3 September 2005)
DirMon v0.2.5
This is a program that will monitor for new files in selected directories and run up to three different programs on the new files. It will also attempt to keep those directories clean by deleting files that are no longer needed. I started writting this at the same time Cayars first published his external monitor program. Since his does more than I had planned for DirMon, I shelved it because I didn't figure anyone would want to use it. After all, doesn't EVERYBODY use Cayars' STV? Well, apparently not since I recently had someone ask about DirMon. So, there being interest, I finished it up and am releasing it. Enjoy... 0.2.5 - 24 September 2005
Latest version posted here
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
Last edited by Jere_Jones; 09-24-2005 at 12:47 PM. |
#2
|
||||
|
||||
This looks like just what the doctor ordered.
I'll try it out today and report back. Andy |
#3
|
|||
|
|||
Much thanks. Yes there are still those of us who don't use Cayars STV(I still use Maldude2 as my main STV).
I know you just released it but can I ask for a feature? I like the start in tray option as that puts it at easy access, yet still out of the way. Could you add an option to the ini so that clicking the "X" will send to tray rather than terminating the app? I know it's a small thing but it's something I'm used to with apps that minimize to the tray. Thanks again for the app. I look forward to seeing where it goes, especially how it may interact with the next generation of Comskip. /justme |
#4
|
||||
|
||||
Jere,
This program rocks! I've just turned it lose with mpg2srt to start as a test. It is deleting orpahs fine, and launching mpg2srt perfectly. A few questions: Would it be possible to have a window to see the work of a processor? It would be useful to see a dos window for some processors to toubleshoot them. Right now they run kind of "blind". Am I correct in my view of the DirMon that it only kicks off one processor then waits its "check" time before doing another? This is OK, I just want to be sure it is running correctly. To start out, I've lowered the check time to 1 min so that I will mpg2srt all the files that haven't had it done to them (over 100). If I am correct, I might sugges that during its active time it run all possible processors one after another, then sleep until the next check time. Anyway, thanks for a great program. If you're running a media server without Sage Server or Client, this is a pretty cool way to go. Andy |
#5
|
||||
|
||||
Quote:
Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#6
|
||||
|
||||
Quote:
Quote:
Quote:
Quote:
Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#7
|
|||
|
|||
Thanks for this program I tried cayars external comskip running on my laptop.(to test) It deleted all my comskip files. So when I saw this figured I would try it. When it started deleting orphans it scared me<but it only deleted orphans, Amazing. Now it is processing a file but it is the same one over and over what did I do wrong.
|
#8
|
||||
|
||||
Quote:
If that sentence made no sense, the FAQ explains the terminology that I'm using. Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#9
|
||||
|
||||
Jere,
Yes to all 3 options! UnInvisible mode would be great. I can think of reasons users would want both choices. For debugging, watching the action is good, possibly for video card / performance reasons, some will want invisible mode. I suspect I'll run invisible unless I'm adding a new processor or having a problem. I don't plan on any distributed processing mode use. While I see how this could be cool, I want everything to run from my media server directly and not over my Ethernet. Even if I recorded 24/7 my server can process COMSKIP and MPG2SRT with no problems. When you add the option, I'll run DirMon in the "run all processors this check" mode. I could see how someone might want to comskip on their workstation and caption scan on their Sage PC though. Your point that this program isn't even Sage specific is well taken. I can run it with my MYHD transport streams to convert them to MPG as they appear in the directory as well! Thanks again, Andy |
#10
|
||||
|
||||
Could DIRMON be leaving files open after a processor is finished with them?
Here's a snippet my comskip log: 2/28/2005 1:28:44 PM - Comskip skipping open file: I:\SageTV\StarTrekDeepSpaceNineTheEmperorsNewCloak-6072649-0.mpg 2/28/2005 1:28:44 PM - Comskip skipping open file: I:\SageTV\StarTrekEnterpriseAffliction-6089939-0.mpg 2/28/2005 1:28:44 PM - Comskip skipping open file: I:\SageTV\StarTrekIMudd-6068716-0.mpg Currently comskip is not being run by DIRMON, but all the files open were procressed via DirMon by MPG2SRT. I haven't quit DirMon or rebooted the media server, I want it to finish an initial pass. Andy |
#11
|
||||
|
||||
Quote:
Next version will fix it. Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#12
|
||||
|
||||
I knew I was good for something
|
#13
|
|||
|
|||
IU still can't get it to work keeps processing same file and the processing is creating a txt trigger file What am I doing wrong?
|
#14
|
||||
|
||||
Bones,
A little more info would be helpful. Why don't you tell us what's in each of your fields (trigger processor etc)? If you have a log from the processor application (like comskip) post a snippet of that as well. Andy |
#15
|
|||
|
|||
here is a screenshot the log file for comskip is huge
|
#16
|
||||
|
||||
My only idea is that there is some sort of path issue. Is the .txt file that comskip generates going into the same dirertory as the MPG that it scans?
Try throwing a copy of comskip.exe into your MPG directorys and launching it with the same path as the MPG's exist in. Perhaps that would be a workaround for the moment. I'm processing I:\SageTV and I have mpg2srt.exe in the I:\SageTV directory. The only other possibility is that someone Jere's compile of the software isn't handeling long file names. That seems kinda remote though. If my ideas don't help, wait for the Master to respond. Andy |
#17
|
||||
|
||||
Quote:
If DirMon's log is huge, I only need a few cycles of it. Alternatively you could dry putting quotes around the processor. Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#18
|
||||
|
||||
Jere, I think that DirMon is processing files that are indeed open. My 5PM newscast got close caption scanned while it was being recorded, resulting in partial caption data.
Look like file open and file closing issues exist in the .1 of your EXE Andy |
#19
|
|||
|
|||
Tried it on another computer same thing here's a screen cap and log file
|
#20
|
||||
|
||||
Happy birthday, by the way...
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|