SageTV Community  

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

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-16-2010, 09:30 PM
ohpleaseno ohpleaseno is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: South Florida
Posts: 464
Exclude Pattern

I'm having My Movies handle all of my movie metadata. I want to exclude the Movies folder from BMT. I put the regex path to the Movies folder in the "Exclude Pattern" box

Code:
\\\\WHS\\Videos\\Movies
And it tells me

Code:
Regex is valid, but it did not match anything.
I have \\WHS\Videos as an import directory. Movies is the subdirectory below it. I've tried just "Movies" and I still get the same thing. I'm not quite sure what else to try here.
__________________
Server: WHS with 11TB of storage
Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD
Tuners: 1) HD-Homerun 2) Avermedia USB ATSC
Twitter: ohpleaseno
Reply With Quote
  #2  
Old 11-17-2010, 05:02 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by ohpleaseno View Post
I'm having My Movies handle all of my movie metadata. I want to exclude the Movies folder from BMT. I put the regex path to the Movies folder in the "Exclude Pattern" box

Code:
\\\\WHS\\Videos\\Movies
And it tells me

Code:
Regex is valid, but it did not match anything.
I have \\WHS\Videos as an import directory. Movies is the subdirectory below it. I've tried just "Movies" and I still get the same thing. I'm not quite sure what else to try here.
This is another example of a nice feature in bmt... that is poorly documented

The regex editor in bmt contains 3 boxes. The first is your expression, the second is a an area for sample data, and the third is a results area. When you test the regular expression it will look at data that you've put into the sample data area, and then apply the regular expression to it, and if you have any matches, then they will show up in the 3 box.

The idea here is that you can take some sample file paths and paste them into that second box, to test if your expression will match. What you are testing is if your expression will match something from the second box.

Here's a screenshot using sample data...


You can see that the regular express did match the Movie line but not the TV line, so this would would work well for excluding Movies.
Attached Images
File Type: png regex.png (17.7 KB, 340 views)
Reply With Quote
  #3  
Old 11-17-2010, 11:37 AM
ohpleaseno ohpleaseno is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: South Florida
Posts: 464
I didn't know I had to put test material in the second box. I'll try that tonight. Thanks!
__________________
Server: WHS with 11TB of storage
Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD
Tuners: 1) HD-Homerun 2) Avermedia USB ATSC
Twitter: ohpleaseno
Reply With Quote
  #4  
Old 11-17-2010, 12:46 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by ohpleaseno View Post
I didn't know I had to put test material in the second box. I'll try that tonight. Thanks!
You don't HAVE to put anything in the second box... it is only provided there so that you add some test data and verify if your expression is working as your intend. Typically you cut and past some file paths in there. The data that you put in that second field is never stored, and it is only used by the "Test" button. The goal of this dialog is to allow you to verify your expression, and to test it, before you click "Ok". It basically allows you to play around with the regular expressions, testing them, etc.

Just so you know, if you need to specify more than one path, you can do so, using the | character.

Code:
\\\\WHS\\Videos\\Movies|\\\\WHS\\Videos\\Movies2
And it's always a good idea to test the regular expression against some "Sample Data" before you click OK, to ensure that it does what you expect.
Reply With Quote
  #5  
Old 11-17-2010, 06:07 PM
ohpleaseno ohpleaseno is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: South Florida
Posts: 464
I did that and it works perfectly. Thanks.

Is the wiki open for anybody to edit? I feel like your description above works better than what is currently on the wiki.
__________________
Server: WHS with 11TB of storage
Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD
Tuners: 1) HD-Homerun 2) Avermedia USB ATSC
Twitter: ohpleaseno
Reply With Quote
  #6  
Old 11-17-2010, 08:20 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by ohpleaseno View Post
I did that and it works perfectly. Thanks.

Is the wiki open for anybody to edit? I feel like your description above works better than what is currently on the wiki.
Unfortunately, I don't think the wiki is open to the world. I think sage needs a community wiki that can be editable by the forum community (hint, hint).

I can't really make the google code wiki editable to everyone, and if I did, then it would get vandalized
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Noticing pattern in HD-PVR lock-ups jarredduq Hardware Support 23 12-26-2009 01:29 PM
Diamond Pattern on Digital TV Jimb50 SageTV Software 5 12-25-2008 07:40 AM
feature request: basic test pattern sequences korben_dallas SageTV Software 4 06-07-2007 02:59 PM
Exclude Channels from IR? tfurlong SageTV Software 1 02-27-2006 08:51 AM
Version 2 question - PVR-350 Test Pattern every hour... Bill_Mackintosh SageTV Beta Test Software 1 01-13-2004 02:53 PM


All times are GMT -6. The time now is 07:18 PM.


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