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
  #41  
Old 02-20-2006, 07:40 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by AWS
I was wondering if it would be possible to have DM2 look to process files at the top and bottom of every hour instead of every X seconds.
I'll keep it in mind, but I don't think so.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #42  
Old 02-20-2006, 11:48 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by Jere_Jones
Thanks for the hint! Best I can figure, uninstalling DirMon deletes the Dragon Global registry branch. That means ShowAnalyzer can't find it's dll or registration information.

Reinstalling SA and reentering the registration data fixes it.

Jere
LOL, I think you have to reinstall DirMon2 as well, if you uninstalled DirMon after installing DirMon2. All of my settings in DM2 were wiped out after uninstalling DirMon. Could not get the service part to work, then I thought, I bet you have to reinstall DM2. Sure enough, that works...

BTW, Jere. Outstanding work on this. Love all the features.
__________________
-Jason
Reply With Quote
  #43  
Old 02-21-2006, 12:55 AM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
Quote:
Originally Posted by Jere_Jones
Can you explain what you mean by local paths?

Jere
When I tried to choose D:\SageTV on the job management tab, Where section, by clicking the New button. In the Browse for Folder pop-up I expanded My Computer then D:\ and chose the SageTV folder. The entry that ended up in the Directories list was D:/SageTV not D:\SageTV and it could not find anything to process. As soon as I changed it to \\Sageserver\SageTV (displayed however as //Sageserver/SageTV,) Dirmon2 immediately found 26 jobs.

Also, in the What section, Program to Run also uses forward slashes instead of backslashes in C:\Program Files\Dragon Global\ShowAnalyzer\ShowAnalyzer.exe but it does find and run SA. Go figure?

I initially thought it was the incorrect use of backslashes but I now think that is another issue since they are still being used even though everything is working. What must have been keeping it from working was the local path, i.e. - D:\SageTV instead of the UNC path.
Reply With Quote
  #44  
Old 02-21-2006, 02:18 AM
Humanzee's Avatar
Humanzee Humanzee is offline
Sage Fanatic
 
Join Date: Sep 2004
Location: North Idaho
Posts: 752
I noticed that if you have the "." as part of your extentions listed in your triggers, nothing will show in the job status window, it just doesn't work. Make your triggers with out the period.

Also, Jere
Can you explain about the "How" section, Im curious about the "Timeout". I had a session of showanalyzer hang on a partial show segment that was only like 10 megabytes. It sat there for the whole weekend before I noticed it and deleted it manually. Does this mean that we can time out SA after say, X amount of time if it hangs?
Reply With Quote
  #45  
Old 02-21-2006, 04:48 AM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by sleonard
What must have been keeping it from working was the local path, i.e. - D:\SageTV instead of the UNC path.
I don't know. D:\SageTV and D:/SageTV should be the same. You can open up a command window and check it out.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #46  
Old 02-21-2006, 04:49 AM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by Humanzee
Also, Jere
Can you explain about the "How" section, Im curious about the "Timeout". I had a session of showanalyzer hang on a partial show segment that was only like 10 megabytes. It sat there for the whole weekend before I noticed it and deleted it manually. Does this mean that we can time out SA after say, X amount of time if it hangs?
That is correct. The timeout is in seconds. DM2 will try to terminate the process after the timeout period and move on to the next job.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #47  
Old 02-21-2006, 06:32 AM
cenwesi cenwesi is offline
Sage Aficionado
 
Join Date: Aug 2005
Posts: 311
Ok can someone tell me why when my shows are done recording and DM2 starts, it just hangs there. All my .txt files are zero bytes?
Reply With Quote
  #48  
Old 02-21-2006, 09:34 AM
Motofreak75 Motofreak75 is offline
Sage Expert
 
Join Date: Oct 2005
Posts: 578
Send a message via ICQ to Motofreak75
I also noticed that if I select to scan the root of Drive E:\ only (or in this case E:/ ) and uncheck the search subdirectories. it still scans the entire the drive. ????
Reply With Quote
  #49  
Old 02-21-2006, 01:43 PM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
Quote:
Originally Posted by Jere_Jones
I don't know. D:\SageTV and D:/SageTV should be the same. You can open up a command window and check it out.

Jere
I'm sorry, what I meant to convey was that I no longer thought it was the backslashes or forward slashes but the difference between D:/SageTV path style and the //Sageserver/SageTV UNC path style. Only the UNC path works on my system.

I guess it doesn't matter much now that I'm using //Sageserver/SageTV except that I've read that this will still use network resources even though the disc is physically a local drive.
Reply With Quote
  #50  
Old 02-21-2006, 01:46 PM
Humanzee's Avatar
Humanzee Humanzee is offline
Sage Fanatic
 
Join Date: Sep 2004
Location: North Idaho
Posts: 752
Quote:
Originally Posted by Jere_Jones
That is correct. The timeout is in seconds. DM2 will try to terminate the process after the timeout period and move on to the next job.

Jere
Why seconds? Presumably I could record a 4 hour baseball game or something and SA could be running that entire time. So should I put in 14,400 seconds? Or does the timeout get ignored if the program SA is analyzing is still being recorded?
Reply With Quote
  #51  
Old 02-21-2006, 02:51 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by Humanzee
Why seconds? Presumably I could record a 4 hour baseball game or something and SA could be running that entire time. So should I put in 14,400 seconds? Or does the timeout get ignored if the program SA is analyzing is still being recorded?
Hmm...that's an interesting question.
__________________
-Jason
Reply With Quote
  #52  
Old 02-21-2006, 05:15 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Alright Jere...

Probably something stupid on my part, but:

I can't get DM2 to detect things that occur after it's initial startup, if I start a recording after I start DM2, then it won't find it (even with a 1 sec polling time).

Second, the Current Status doesn't seem to like updating. If I hit refresh after starting (or restarting) DM2, then it will show the queue and active jobs. If I refresh again, it will not show anything in the active jobs, even though SA is running.

SA is getting run on those things that are queued though.
Reply With Quote
  #53  
Old 02-21-2006, 06:00 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by cenwesi
Ok can someone tell me why when my shows are done recording and DM2 starts, it just hangs there. All my .txt files are zero bytes?
What just hangs? DM2? SA? If SA, does SA work for you normally? Are you running in free mode? If so, I'm not even sure it will run as LocalSystem. You may need to run it as a user.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #54  
Old 02-21-2006, 06:08 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by Humanzee
Why seconds?
Why not seconds? Did you have something else in mind?
Quote:
Originally Posted by Humanzee
Presumably I could record a 4 hour baseball game or something and SA could be running that entire time. So should I put in 14,400 seconds?
60*60*4 = 14400 so, yeah, 14400 seconds. Although you may want to increase that a few seconds to let SA finish up.
Quote:
Originally Posted by Humanzee
Or does the timeout get ignored if the program SA is analyzing is still being recorded?
DM2 has no idea if SA is doing what it's supposed to or is hung. It only starts a timer and if the job hasn't finished by the timeout then DM2 kills it.

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #55  
Old 02-21-2006, 06:09 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Stanger,

Try running DM2 from the command line with no command line options. Do you see JobFinder:GetOutstandingJobs?

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #56  
Old 02-21-2006, 06:10 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Out of curiosity, is anyone running DM2 on Windows2k? Does it work?

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #57  
Old 02-21-2006, 06:12 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by stanger89
Second, the Current Status doesn't seem to like updating. If I hit refresh after starting (or restarting) DM2, then it will show the queue and active jobs. If I refresh again, it will not show anything in the active jobs, even though SA is running.
The Active list and Queue list don't automatically update. You have to hit refresh to get them to update.

Did you make any changes to your configuration besides changing the target extensions?

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #58  
Old 02-21-2006, 06:35 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Jere_Jones
Stanger,

Try running DM2 from the command line with no command line options. Do you see JobFinder:GetOutstandingJobs?

Jere
Code:
C:\Program Files\Dragon Global\DirMon2>DirMon2.exe
JobFinder::GetOutstandingJobs()
Priority        Name    Filename
--------NO JOBS--------
JobRunner loop
JobRunner queue updated.
Priority        Name    Filename
1       ShowAnalyzer    //Thunderbird/sagetv/DharmaGreg-HausArrest-6748059-0.mpg

JobRunner kill requested.
That file has not an is not being scanned.

Further I started another 2 recordings just now, and Dirmon has not caught them.

I run Dirmon from the command line and they are now queued, but not processing.

I stop, and restart the service, and now 2 of the 3 shows in queue (which I had to run Dirmon from the command line to get queued) are processing.

And, a bit later now, and the last job has dissappeared from the Active Jobs list, but SA is still running on the last file, and the Queued Jobs still lists all the jobs, even the finished ones.

One last thing, run Dirmon from the command line, and now it shows no jobs, but SA is still running on the last one.

Quote:
The Active list and Queue list don't automatically update. You have to hit refresh to get them to update.
Yup, caught that, and hitting refresh seems to do nothing after the first two times (I mentioned above).

Quote:
Did you make any changes to your configuration besides changing the target extensions?
Not really sure, but here's the current config:
Code:
[Global]
Polling Time = 60
Available Resources = 100

[Service]
Start Automatically = 1
Run as Local System = 0
Run as User = 1
User Name = something
User Password = somethingelse

[Job Description 1]
Name = ShowAnalyzer
Processor = C:/Program Files/Dragon Global/ShowAnalyzer/ShowAnalyzer.exe
Command Line Options = 
Must Exist 1 = mpg
Must Exist Logic = OR
Must Exist 2 = 
Must And Or Must Not Exist Logic = AND
Must Not Exist 1 = txt
Must Not Exist Logic = OR
Must Not Exist 2 = 
Directory 1 = //Thunderbird/sagetv
Processee Extension 1 = mpg
Resources Needed = 50
Timeout Enabled = 0
Timeout = -1
Priority Boost Due To Job Description = 0
Priority Boost Due To Age = 1
Priority Boost Due To Name = 0
Process Subdirectories = 0
Wait Until File Is Finished = 0
Wait Until Drive Is Idle = 0
Hide Console = 0
Blackout Enabled = 0
Blackout Start Time = 0
Blackout End Time = 0

[Cleanup Description 1]
Directory = //Thunderbird/sagetv
Process Subdirectories = 0
Target Extension 1 = txt
Target Extension 2 = log
Target Extension 3 = ccyes
Target Extension 4 = ccno
Target Extension 5 = vprj
Target Extension 6 = wme
Target Extension 7 = vls
Target Extension 8 = edl
Trigger Extension 1 = mpg
Reply With Quote
  #59  
Old 02-21-2006, 06:56 PM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Stanger,

This is a shot in the dark, but does the behavior improve if you take the mpg out of the must exist block?

Also, what OS are you running?

Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #60  
Old 02-21-2006, 07:00 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
I've had mpg in and out of the must have with seemingly no effect.

I'm running XP Pro (Dirmon), and the files are stored on my server running 2003 Server. I'm running it as the same user I'm logged as, which has admin rights on both machines.
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.