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-20-2011, 11:00 AM
appelm appelm is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Chappaqua, NY
Posts: 323
Title matching problem?

I had to do a complete re-install of SageTV due to a hard drive crash which was a total nightmare. But I'm up and running now and reimported all my videos with BMT active. I use a regular expression to skip a group of files that sometimes get garbarge metadata. After re-importing all my videos , I was left with some files that were skipped because they matched my regular expression. I removed the regular expression and tried updating just that group of files by selecting them under view by genre and going to "No Genre". When I click Update Metadata button, all the files fail. It seems its trying to do exact title matches. For instance, it failed to find "Animatrix". But when I do it manually, it finds it in the IMDB database as "The Animatrix". If I change the MediaTitle to "The Animatrix" and then run the Update Metadata job on all the files again, this time it updates that file successfully.

Similarly, I'm having a problem in the search dialogue under "Browse". I can't type a partial filename to find. If I type the exact name as long as there are no spaces, it finds it. With spaces in the title, regardless of whether I surround with ' or " it either doesn't find or produces an error message.
Reply With Quote
  #2  
Old 11-20-2011, 05:40 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by appelm View Post
I had to do a complete re-install of SageTV due to a hard drive crash which was a total nightmare. But I'm up and running now and reimported all my videos with BMT active. I use a regular expression to skip a group of files that sometimes get garbarge metadata. After re-importing all my videos , I was left with some files that were skipped because they matched my regular expression. I removed the regular expression and tried updating just that group of files by selecting them under view by genre and going to "No Genre". When I click Update Metadata button, all the files fail. It seems its trying to do exact title matches. For instance, it failed to find "Animatrix". But when I do it manually, it finds it in the IMDB database as "The Animatrix". If I change the MediaTitle to "The Animatrix" and then run the Update Metadata job on all the files again, this time it updates that file successfully.

Similarly, I'm having a problem in the search dialogue under "Browse". I can't type a partial filename to find. If I type the exact name as long as there are no spaces, it finds it. With spaces in the title, regardless of whether I surround with ' or " it either doesn't find or produces an error message.
The Search box in the Browse is a PQL (Phoenix Query Language) search box. If you enter a single word it will treat it as a Title = "Word" query, but if you enter multiple words, then it needs to be formatted as a correct PQL statement.

YOu can do something like, Title contains "Partial Title", if you want to find a title that contains a partial word.

As for title matching... BMT will attempt to guess on titles, but if it's not sure, then it won't use it. You can set your own tolerance for errors, which is currently set to .9 (it's a value between 0 and 1 where 0 is accept anything, and 1 is accept only exact matches). When you do a manual search it returns a single result, it doesn't mean the result is within the tolerance, and BMT will not simply take the result, because it is the only one returned. You best bet is to name your stuff with as much information as to ensure an exact hit. ie, "The Animatrix (2003)" would be good filename. BMT will work with some oddly named items, but you are bound to experience some misses.
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
Display Name: Fanart title vs Movie title les_bloom Diamond 8 05-12-2011 04:25 PM
EPG not matching Zap2it graywolf SageTV EPG Service 1 04-30-2011 02:36 PM
Add New Series by Title problem.. Stuntman SageMC Custom Interface 2 04-14-2009 06:42 PM
Clarify the title/artist bit eg. [DVD TITLE] / [MOVIE TITLE]? bcjenkins SageMC Custom Interface 1 12-31-2008 11:58 AM
Level expansion matching SD and HD bialio The SageTV Community 2 05-13-2008 04:20 AM


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


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