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 06-26-2015, 02:19 PM
jughead's Avatar
jughead jughead is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 114
BMT not recognizing "Space: 1999" tv show

I read that BMT strips special characters before getting info from tvdb.com and I'm guessing that's why it can't pull metadata for "Space: 1999". It shows up as a movie with no info :/

How can I get it to be recognized correctly?

Thanks!
Reply With Quote
  #2  
Old 06-26-2015, 02:37 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
This thread should get you on the right track. I'm not sure if BMT also has issues with colons, but it wouldn't surprise me. You may need to do the same thing I showed for parenthesis.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #3  
Old 06-26-2015, 07:51 PM
jughead's Avatar
jughead jughead is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 114
Quote:
Originally Posted by Skirge01 View Post
This thread should get you on the right track. I'm not sure if BMT also has issues with colons, but it wouldn't surprise me. You may need to do the same thing I showed for parenthesis.
Thanks, I'm giving that a try now but I probably have an error in the syntax. I've tried it several different ways but can't get any results. Two of many ways I tried are below. Am I supposed to be using the file name or folder name? The file name does not have the : (because windows doesn't like that)

Space 1999 - S01E01 - Breakaway.avi

is how i have them named

Code:
<titles>
    <match>
        <regex>[\\/]Space\: 1999-.*</regex>
        <metadata type="tv" name="tvdb">76366</metadata>
    </match>
</titles>
Code:
<titles>
    <match>
        <regex>[\\/]Space\: 1999[\\/]</regex>
        <metadata type="tv" name="tvdb">76366</metadata>
    </match>
</titles>
Reply With Quote
  #4  
Old 06-26-2015, 08:55 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I hadn't thought about the colon in the filename not working for a Windows filesystem (d'oh!), so my reference to the colon only added more confusion because you're obviously not using it in the filename; sorry about that. Anyhow, it's based on the filename, so, according to what you have it named, it should be as simple as the following:

Code:
<titles>
    <match>
        <regex>[\\/]Space 1999[\\/]</regex>
        <metadata type="tv" name="tvdb">76366</metadata>
    </match>
</titles>
The reason you're having an issue with the show in the first place is simply because BMT can't handle shows which have years in the title without some minor intervention, not because of the special characters. Since there's no usage of parenthesis (or colons ) in the filename, you could probably even manually add a matcher for this show directly via the BMT UI.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7

Last edited by Skirge01; 06-26-2015 at 08:58 PM.
Reply With Quote
  #5  
Old 06-26-2015, 09:50 PM
jughead's Avatar
jughead jughead is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 114
Quote:
Originally Posted by Skirge01 View Post
I hadn't thought about the colon in the filename not working for a Windows filesystem (d'oh!), so my reference to the colon only added more confusion because you're obviously not using it in the filename; sorry about that. Anyhow, it's based on the filename, so, according to what you have it named, it should be as simple as the following:

Code:
<titles>
    <match>
        <regex>[\\/]Space 1999[\\/]</regex>
        <metadata type="tv" name="tvdb">76366</metadata>
    </match>
</titles>
The reason you're having an issue with the show in the first place is simply because BMT can't handle shows which have years in the title without some minor intervention, not because of the special characters. Since there's no usage of parenthesis (or colons ) in the filename, you could probably even manually add a matcher for this show directly via the BMT UI.

Thanks! I'll try that later tonight. How do I add the matcher in the BMT UI like you suggested? Do you mean the UI in Sage or the web interface? In the web interface, I don't see a category for "metadata ID" when I click on the show but I do see that category for other shows that were correctly detected...
Reply With Quote
  #6  
Old 06-26-2015, 11:32 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
It's in the BMT web UI once you're viewing a show. You just need to manually use BMT to search, select the correct show, then add the matcher. If you're unsure how to do that, I'm pretty certain there's a BMT guide around somewhere. Keep in mind that the new matcher will only work for future episodes.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #7  
Old 06-27-2015, 01:15 AM
jughead's Avatar
jughead jughead is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 114
Quote:
Originally Posted by Skirge01 View Post
It's in the BMT web UI once you're viewing a show. You just need to manually use BMT to search, select the correct show, then add the matcher. If you're unsure how to do that, I'm pretty certain there's a BMT guide around somewhere. Keep in mind that the new matcher will only work for future episodes.
ok, I'm looking over the BMT user guide. it seems like the MediaTitles.xml method would be best and will be useful for other things too once i get it working. i never knew that existed

one thing i can't find in there (yet) is how to search for a file by file name in BMT if it doesn't have metadata yet. are they all just lumped into the "missing metadata" category? just getting to my space 1999 folder in BMT is painful the way i'm doing it, "video imports by folder" then hit "load" 50 times.

i still can't get it to work using the syntax you provided though. i'm still reading and trying things, but if you have any ideas, please let me know.
i'm wondering if having a year or a number in the title may be causing the issue?
Reply With Quote
  #8  
Old 06-27-2015, 08:15 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by jughead View Post
one thing i can't find in there (yet) is how to search for a file by file name in BMT if it doesn't have metadata yet. are they all just lumped into the "missing metadata" category? just getting to my space 1999 folder in BMT is painful the way i'm doing it, "video imports by folder" then hit "load" 50 times.
You can also use the search box. You'll want to learn the proper syntax for searching, since it's not nearly as simple as typing in just the title.

Quote:
i still can't get it to work using the syntax you provided though. i'm still reading and trying things, but if you have any ideas, please let me know.
i'm wondering if having a year or a number in the title may be causing the issue?
Are you certain you're only expecting it to successfully import future episodes? An existing episode would be any filename that Sage has already seen, whether or not it was able to find metadata for it.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
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
Show "Hoarders", how much space did you use? IVB General Discussion 137 09-27-2014 06:03 PM
"Backdrops" "SageTV" "Covers" folders - what's creating them mp328 Sage My Movies 4 09-20-2010 05:31 PM
SageTV Doesn't Honor "Leave Free" Disk Space Rules superdodge SageTV Software 2 01-23-2010 07:18 PM
"Set defaults" for Series forgets "Keep"/"Auto-delete" setting maxpower SageMC Custom Interface 9 05-14-2008 09:44 PM
MVP boots, live tv and video files show "trial" - PAL issue? maninblack_30 SageTV Media Extender 2 08-04-2006 05:07 AM


All times are GMT -6. The time now is 01:29 PM.


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