Dragon Global Forums

Go Back   Dragon Global Forums > Other Software > DirMon Discussion

DirMon Discussion Discussion related to the DirMon application produced by Dragon Global. Questions, issues, problems, suggestions, etc. regarding Dragon Global should be posted here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2006, 04:11 PM
src666
Guest
 
Posts: n/a
Default Any way to target filename, instead of extensions?

I'm setting up DirMon2, and I would like to set up a conversion process for _some_ of my SageTV recordings. For example, I would like to convert "The Daily Show" to XVid, but nothing else.

Is there any way to target by anything other than extension? Can we use a wildcarded file mask?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 03-14-2006, 10:12 PM
src666
Guest
 
Posts: n/a
Default

OK, so I guess you can't use a filemask pattern to select which files to trigger on. I guess I'll try to find another way to handle it.
Reply With Quote
  #3 (permalink)  
Old 03-27-2006, 01:31 PM
spacefuzz
Guest
 
Posts: n/a
Default I "second" this feature request!

Just wanted to say that I was hoping for this feature, too.
Reason: I want ads parsed/removed from most of my shows, but if they are known PBS shows (Frontline, NOW, Nova, etc), I do NOT want comskip/ShowAnalyzer to run on them. PBS shows do not have ads but comskip/SA tend to find blank frames or other indicators and skip valid show segments.
Thanks Jere. DirMon is SLICK! Can't wait to upgrade to DM2.
Reply With Quote
  #4 (permalink)  
Old 03-30-2006, 09:36 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 2,020
Jere_Jones has disabled reputation
Default

If you're using SA, you can use the automatic profile selection to tell SA what files to not process. It is much more flexible than a filename match since it can also use channel number, name, path, etc.

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.59 - 8 Feb 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #5 (permalink)  
Old 04-20-2006, 06:19 PM
src666
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jere_Jones
If you're using SA, you can use the automatic profile selection to tell SA what files to not process. It is much more flexible than a filename match since it can also use channel number, name, path, etc.

Jere
I'm trying to use DirMon to recompress selected shows - not everything, just a few choice items. Without a target filename mask, I would have to kludge together something with batch files and flag files to keep it from trying to process everything, and I would rather not clutter up my recordings directory.

If all you want it to be is the scheduling brains for SA, then it's fine as is. If you want it to be more generally usefull, then some additional work is needed.
Reply With Quote
  #6 (permalink)  
Old 04-20-2006, 07:01 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 2,020
Jere_Jones has disabled reputation
Default

I realize that the following solution for you is ugly... very ugly, but it does work.

Step 1: Make sure that your path has a . in it. A directory like D:\Incoming.Videos\ will work fine.
Step 2: Come up with a regular expression (perl style rules) that will find your files.
Step 3: Put that expression in the target extensions block.

Example 1: To process all the files with SG1 in the filename, I would use ".*SG1.*" (without the quotes) as the target expression.

Example 2: To process all the mpg files with SG1 in the filename, I would use ".*SG1.*\.mpg" (without the quotes) as the target expression.

Example 3: To process all the mpg or mpeg files with SG1 in the filename, I would use ".*SG1.*\.(mpg|mpeg)" (without the quotes) as the target expression.

I realize it's ugly and not what you are looking for, but it does work.

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.59 - 8 Feb 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #7 (permalink)  
Old 04-24-2006, 11:10 PM
src666
Guest
 
Posts: n/a
Default

Interesting solution - I'll have to think about that one for a bit. Like you said, it is ugly. But it does look like it will work. Thanks for sticking with me on this one.

One question - why the dot in the directory name? It appears that the regular expression should work without it, but then I'm a bit rusty on regex. Been in the Windows world a bit too long.
Reply With Quote
  #8 (permalink)  
Old 04-25-2006, 06:30 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 2,020
Jere_Jones has disabled reputation
Default

Quote:
Originally Posted by src666
One question - why the dot in the directory name? It appears that the regular expression should work without it, but then I'm a bit rusty on regex. Been in the Windows world a bit too long.
Because the entry in the "Target Extension" block is only part of the regex used to find the show. If you're curious, the first part is: "(.*)\.(". Then whatever is in the Target Extension block then a closing parenthesis.

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.59 - 8 Feb 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #9 (permalink)  
Old 04-27-2006, 05:36 PM
src666
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jere_Jones
Because the entry in the "Target Extension" block is only part of the regex used to find the show. If you're curious, the first part is: "(.*)\.(". Then whatever is in the Target Extension block then a closing parenthesis.

Jere
Thanks for clearing that up.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wait for target file to finish not working ldavis DirMon Discussion 1 10-03-2006 12:03 PM
Not remembering 'Wait until the target file is finished' axcairns DirMon Discussion 2 07-09-2006 12:05 PM
pass filename to processor lbow DirMon Discussion 3 06-13-2005 09:57 AM


All times are GMT -4. The time now is 11:47 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0