|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
BMT Adding Extra Space In Meta Data Lookup
I'm having a little trouble getting BMT to recognize a certain title/series. The file name is: DCs.Legends.of.Tomorrow.S01E04.mkv
When I click Discover Defaults in Find Metadata, the title comes up as "D Cs Legends of Tomorrow". The extra space in "D Cs" causes the lookup to fail on tvdb. If that space is removed, the search works properly. I'm guessing BMT is adding an extra space in there due to the capital letters, it assumes they are separate words. I'm guessing this can be fixed by using Add Matcher, but I'm not sure what to put in for Match Filename Pattern. I did a quick read of that section of the manual, but my various attempts at Regex failed (I think that field uses regex, but maybe that's just the mediatitles.xml file?). Any ideas? Thanks. |
#2
|
||||
|
||||
Typically you shows will be organized by folder, so use the foldername as the matcher.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
Hi Stuckless,
I'm still not having much luck. The folder the file is in is named "DCs Legends of Tomorrow". So the path is "D:\Sage\Imports\DCs Legends of Tomorrow\DCs.Legends.of.Tomorrow.S01E04.mkv" These are the matchers I've tried: Code:
<match> <regex>[\\/]DCsLegends-.*</regex> <title>DC's Legends of Tomorrow</title> <metadata type="TV" name="tvdb">295760</metadata> </match> <match> <regex>[\\/]Legends</regex> <metadata type="TV" name="tvdb">295760</metadata> </match> <match> <regex>[\\/]DCs[\\/]</regex> <metadata type="TV" name="tvdb">295760</metadata> </match> Thanks. |
#4
|
||||
|
||||
Did you add these using the "Add Matcher" button in BMT? In bmt, once you find the correct metadata for 1 item, use "Add Matcher" select the "match foldername pattern" option and enter the EXACT (copy it from the file path in the dialog) directory name (since that's never going to change), and then select remove duplicate entries, and save.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ways to add extra meta data that will appear in recording details? | michaeldjcox | SageTV v7 Customizations | 1 | 12-08-2014 09:35 AM |
How to get Meta Data with WHS? | richs | SageTV v7 Customizations | 1 | 11-28-2010 06:08 AM |
How to refresh meta data? | bits | SageMC Custom Interface | 3 | 12-26-2009 11:11 PM |
lookup.xml for Radio Times data? | Alfiegerner | SageTV United Kingdom | 2 | 09-09-2007 03:27 PM |
Adding extra data to favorites | wakebdr | SageTV Studio | 3 | 03-16-2007 04:42 PM |