SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #361  
Old 06-27-2008, 02:31 PM
Ronno6 Ronno6 is offline
Sage Advanced User
 
Join Date: Aug 2007
Location: Astor, Florida
Posts: 77
OOPS! In the "must not exist" I had .txt rather than txt I guess that little dot can make a difference. We'll see now.

Nope. ShowAnalyzer has run 2x now since correction. I'm lost again.

Last edited by Ronno6; 06-27-2008 at 02:48 PM.
Reply With Quote
  #362  
Old 06-27-2008, 04:24 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Been a long while since troubleshooting the service issue.

From what I remember, you have to use the login and password of the system for it to work.

You may also need to right-click My Computer>>Manage, go to services and applications, and services.

In there, you need to find DirMon2, and double click it, go to the Login tab, and make sure it's setup correctly with user name and password.

I'm not sure if DM2 will show up in the services section here, if not, go into DM2 GUI, and try to get it setup as a service as far as you can, then go back and see if it's listed in the services section.

I'm not sure this will solve the other problem though.

I compared your ini file to mine, and it looks good from what I can tell. If you get the services thing working, and still have problems, repost your ini file, and we can take a look again.
__________________
-Jason
Reply With Quote
  #363  
Old 06-27-2008, 04:26 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Oh, and BTW, the user name, will be typed in as ".\geogecko", if your user name was geogecko, without the quotes.
__________________
-Jason
Reply With Quote
  #364  
Old 06-27-2008, 04:33 PM
othy othy is offline
Sage Advanced User
 
Join Date: Aug 2003
Posts: 147
Just to add a little confusion to all of this

You also have to ensure that the user account is set up to be used by a service. I'm sure someone has an elegant solution for doing so. I think I just went to Services (Control Panel?) and set up the username/password there, and it popped up and asked if it should be allowed to auto login for a service.

That wouldn't affect jobs getting queued repeatedly, of course.

Tim
__________________
Server: WHS, Phenom 9150e Quad-Core, 2.0TB for recordings (pooled). HD-PVR (w/USB-UIRT), HDHR, ATI550.
Clients: HD200 (wired), HD100 (wireless via Netgear WNHDEB111).
Reply With Quote
  #365  
Old 06-27-2008, 05:00 PM
Ronno6 Ronno6 is offline
Sage Advanced User
 
Join Date: Aug 2007
Location: Astor, Florida
Posts: 77
Thanks, all. The only reason I inquire about the user name/password is that someone had suggested that to cure my continuous CPU usage I was seeing with DirMon2.exe in the task manager of Windows. Since installing a new HD and clean installation of the related programs, the CPU usage is no longer an issue. I think I'm closing in on the solutions to the other problems. Thanks again.
Reply With Quote
  #366  
Old 06-27-2008, 09:54 PM
Humanzee's Avatar
Humanzee Humanzee is offline
Sage Fanatic
 
Join Date: Sep 2004
Location: North Idaho
Posts: 752
Quote:
Originally Posted by geogecko View Post
Guess it all depends. The processing time will be different for every system, and can then be configured to where it will take a lot longer to process (throttling). But, I wouldn't think anyone would want commercial processing to take more than 4 hours!
Well, these are only on bad recordings off of my firewire setup. Sometimes the program gets 5c encrypted or something and SA will hang up. I don't know if Dirmon will Force a taskkill or just ask for a program close. The frame count and FPS sit at 0 but the cpu is chugging on it anyway. It's funny though, sometimes a bad recording will work in SA but not in sage. I can open a video full of garbage but it will show commercial segments.
Reply With Quote
  #367  
Old 01-08-2009, 10:35 PM
shatter shatter is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 75
PROBLEM:

I can't get the DirMon2 service to start on my machine. I keep getting "Error 2: The system cannot find the file specified." When I try to start the DirMon2 service from the windows xp services screen. Any ideas why this is occurring? Doesn't seem to matter if I try to run at as Local System or under my admin account.

SOLUTION:

Copied DirMon2.exe to /windows/system32/ directory and all was happy. Not sure why installer for service didn't take care of this issue.
__________________
Hardware: Intel i5-2500, ASUS P8H67-M EVO, 12GB DDR3 RAM, Hauppauge HD-PVR, Intel PCIe NIC, BD-ROM drive, wireless keyboard/mouse combo, HD-200, HD-300
Software: Win 10 Pro 64-bit, SageTV 9.0.9.441

Last edited by shatter; 01-09-2009 at 12:04 AM.
Reply With Quote
  #368  
Old 02-05-2009, 07:54 PM
SomeWhatLost's Avatar
SomeWhatLost SomeWhatLost is offline
Sage Expert
 
Join Date: Jan 2009
Location: earth
Posts: 532
just curious, is it possible to check/trigger off the existence of a directory?
ie if any directory exists in the folder Dirmon2 is monitoring, I want to wait till the directory is done being created/accessed/whatever and then move it off to another drive... seems like this is something dir2mon could do, and its already running to keep my shows showanalyzed (is that a proper verb?)
Reply With Quote
  #369  
Old 02-11-2009, 10:48 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
I am using Dirmon2 to execute a batch file (.bat) to start my video compressions. I want the batch file to run in windowed mode (like you would from the CMD prompt) to monitor the encoding status. Is there a way to have Dirmon2 not hide the process window? I have the "Hide console window" option unchecked, but it has no effect on the visibility of the process. Any suggestions are appreciated.

Thanks
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #370  
Old 02-24-2009, 08:30 AM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 302
Quote:
Originally Posted by razrsharpe View Post
I am using Dirmon2 to execute a batch file (.bat) to start my video compressions. I want the batch file to run in windowed mode (like you would from the CMD prompt) to monitor the encoding status. Is there a way to have Dirmon2 not hide the process window? I have the "Hide console window" option unchecked, but it has no effect on the visibility of the process. Any suggestions are appreciated.

Thanks
Just a guess since I don't do it myself, but you'll probably have to modify the service. Go to the service properties, then check the "Interact with desktop" checkbox. You'll have to run the service as a user, and not localsystem to be able to check the box.
Reply With Quote
  #371  
Old 10-02-2009, 09:29 PM
davephan's Avatar
davephan davephan is offline
Sage Icon
 
Join Date: Mar 2004
Location: Minnesota
Posts: 1,911
I am able to use Dirmon2 without problems if I set the "Targets" field to "file extensions only" and use "mpg" in the "Targets" field.

However, I would like to restrict the files that will be processed. I tried setting the "Targets" field to "entire file path", which did not work using wildcards.

For example, I tried using the following syntax in the "Targets" field to try to process only filenames beginning with 'abc' and 'nbc'.

d:\video\abc*.mpg,d:\video\nbc*.mpg

Is it possible to use 'wildcards' in the file names? If not, the option of using "entire file path" would not be very useful, since the exact file names cannot be predicted in the future.

Dave
Reply With Quote
  #372  
Old 10-03-2009, 06:26 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by davephan View Post
I am able to use Dirmon2 without problems if I set the "Targets" field to "file extensions only" and use "mpg" in the "Targets" field.

However, I would like to restrict the files that will be processed. I tried setting the "Targets" field to "entire file path", which did not work using wildcards.

For example, I tried using the following syntax in the "Targets" field to try to process only filenames beginning with 'abc' and 'nbc'.

d:\video\abc*.mpg,d:\video\nbc*.mpg

Is it possible to use 'wildcards' in the file names? If not, the option of using "entire file path" would not be very useful, since the exact file names cannot be predicted in the future.

Dave
Try this:

Your path is defined in the Where field of Dirmon2. If you already have added the d:\video there then just try putting the abc*.mpg in the target field. ALso when you make changes look in the dirmon2.ini file to see if it makes sense.

If that doesn't work you might be able to build on the commandline stuff.
Quote:
Command Line Options Substitutions
The command line options block is a rather complicated creature.

First, if it is blank, then the target file name is added.
Example
Command Line Options:
Result: ShowAnalyzer X:/Directory/file.mpg

Second, if it is not blank, but does not have any of the substitution strings then the the target file name is put before what ever is put in the options block.
Example
Command Line Options: -status
Result: ShowAnalyzer X:/Directory/file.mpg -status

Third, if there are any substitution strings used then ONLY what is built from the options block is passed to the processor.
Example
Command Line Options: -i [[%FULLFILESPEC%]] -o [[%PATH%/%BASENAME%.avi]]
Result: ShowAnalyzer -i X:/Directory/file.mpg -o X:/Directory/file.avi

What are the substitution strings and what will the result be?

Code:
Example filename: D:/TV/Nova.mpg
%FULLFILESPEC% - D:/TV/Nova.mpg
%DRIVE% - D
%PATH% - D:/TV
%DIRECTORY% - TV
%BASENAME% - Nova
%EXTENSION% - mpg
Example filename: D:/Nova.mpg
%FULLFILESPEC% - D:/Nova.mpg
%DRIVE% - D
%PATH% - D:
%DIRECTORY% -
%BASENAME% - Nova
%EXTENSION% - mpg
Example filename: //Media/TV/Nova.mpg
%FULLFILESPEC% - //Media/TV/Nova.mpg
%DRIVE% - //Media/TV
%PATH% - //Media/TV
%DIRECTORY% -
%BASENAME% - Nova
%EXTENSION% - mpg
Example filename: //Media/TV/SageTV/Nova.mpg
%FULLFILESPEC% - //Media/TV/SageTV/Nova.mpg
%DRIVE% - //Media/TV
%PATH% - //Media/TV/SageTV
%DIRECTORY% - SageTV
%BASENAME% - Nova
%EXTENSION% - mpgAdditionally, anything contained within [[ ]]'s will be surrounded with quotes if necessary (i.e. there are any spaces). DO NOT NEST THEM!! Bad, bad things will happen if they are nested. If someone can come up with a possible use for nested quotes, then I'll look into supporting it. Until then, just don't do it.
The problem being is there is no place I could find where it specifically states Dirmon2 supports wildcards. There was one post talking about adding it but no confirmation.

If all else fails maybe create a batch job or two using your abc*.mpg and nbc*.mpg and have Dirmon2 run the batch jobs.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #373  
Old 11-03-2009, 09:26 PM
machine88 machine88 is offline
Sage User
 
Join Date: Sep 2007
Posts: 7
I have just finished installing windows 7 32 bit professional. I have most of my programs installed and running with the exception of dirmon2. After I install Dirmon2 and configure the settings, I hit the install button. This button does not seem to be working. I have tried to unistall and re-download the program several times with no luck. Can anyone help?

Thanks
Chris
Reply With Quote
  #374  
Old 11-04-2009, 09:07 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
Have you tried turning down UAC? Also have you tried running DirmonGUI as an administrator by right-clicking and selecting "Run as Administrator"?
Reply With Quote
  #375  
Old 11-05-2009, 04:00 PM
machine88 machine88 is offline
Sage User
 
Join Date: Sep 2007
Posts: 7
Setting the permissions worked great. Thanks
Reply With Quote
  #376  
Old 12-05-2009, 12:11 PM
MalibuDave42 MalibuDave42 is offline
Sage Advanced User
 
Join Date: Dec 2008
Location: Denver, CO
Posts: 81
2 or more PCs?

Can I run DirMon2 and Comskip from 2 or more PCs against the same target directory of recordings?

I have 200+ shows and just installed comskipping... once I am caught up I will run it from 1 pc, but it would be quicker to throw some more processors at it.

Thanks
Reply With Quote
  #377  
Old 12-05-2009, 12:35 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by MalibuDave42 View Post
Can I run DirMon2 and Comskip from 2 or more PCs against the same target directory of recordings?

I have 200+ shows and just installed comskipping... once I am caught up I will run it from 1 pc, but it would be quicker to throw some more processors at it.

Thanks
probably... you just need to be careful with your rules so that two computers do not try to comskip the same file.... if you run into issues look into SJQ to execute your comskip jobs instead of Dirmon2 (its much customizable/configurable/powerful/etc and you can have multiple computers execute jobs off the same queue.
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #378  
Old 12-05-2009, 01:08 PM
MalibuDave42 MalibuDave42 is offline
Sage Advanced User
 
Join Date: Dec 2008
Location: Denver, CO
Posts: 81
I suspected there would not be a problem -- until they try to write the same EDL file.

Looking at the queue via DirMonGui, I can see all of the shows in the queue matching the DirMon rule "for MPGs with no EDL run comskip." Even though there is a queue, does this get re-evaluted prior to executing comskip? In other words, each PC running DirMon builds it's own queue, but if PC1 DirMon fires off comskip, comskip will write an empty EDL populating it with info as it runs, then when Instance2 of DirMon gets to the same recording it will see the EDL and not fire comskip. Am I making any sense?

If this was true, there would be an instant in which there may be a collision, but the odds of that happening are very small.
Reply With Quote
  #379  
Old 12-05-2009, 01:30 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
my understanding is the queue gets reevaluated before executing new jobs... it would be pretty silly if it didnt... so ya like you say there is theoretically a time when a collision could occur but its very small.
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #380  
Old 01-04-2010, 12:12 PM
jnewman33 jnewman33 is offline
Sage User
 
Join Date: Jan 2010
Location: Cincinnati
Posts: 10
Hey all,

I have dirmon2 installed on Windows Home Server (WHS) monitoring a share on the WHS as outlined in the tutorial located elsewhere on this forum. The tutorial is not WHS based but I believe it still is applicable.

Everything is working and I am generating .edl and .txt files. My problem seems to be that dirmon2 is trying to process the source files in a loop that never ends. I have the triggers set per the tutorial and the .edl and .txt files that are present should preclude the processing after the first run.

I do see that similar issues have been discussed here but I cannot see a firm resolution.

Any help is greatly appreciated,

James
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 06:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.