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 12-04-2012, 11:44 AM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Help with MediaTitles.xml

I'm trying to use MediaTitles.xml as per the documentation and have placed a copy of the sample in the correct location and removed the "sample" from the filename. I see it already contains an entry for Hawaii Five-0 (2010) so I assumed it would work for my Hawaii Five-0 media. Nope. My media is like this:

Hawaii Five-O (2010)
Season 01
Hawaii Five-0 S01E01.mkv
Hawaii Five-0 S01E02.mkv
Hawaii Five-0 S01E03.mkv
etc...
Season 02
Any idea why the default settings in the supplied sample file wouldn't work? And, yes, I did reload the MediaTitles.xml file from the BMT web interface.

Thanks,
RLW
Reply With Quote
  #2  
Old 12-04-2012, 12:28 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
The matcher

Code:
    <match>
        <regex>[\\/]HawaiiFive0-.*</regex>
        <title>Hawaii Five-0</title>
        <year>2010</year>
        <metadata type="tv" name="tvdb">164541</metadata>
    </match>
Is used to match filenames like HawaiiFive0-, which is a sage recording... and your filenames (from what you posted) don't match that.

You might need something like...
Code:
    <match>
        <regex>[\\/]Hawaii Five-O.*</regex>
        <title>Hawaii Five-0</title>
        <year>2010</year>
        <metadata type="tv" name="tvdb">164541</metadata>
    </match>
Which would then match on your Directory name or Filename.
Reply With Quote
  #3  
Old 12-04-2012, 01:45 PM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Thanks Sean. Now I feel foolish - that's a pretty simple, and obvious, fix.

So in order to match my imported Hawaii Five-0 data I create a new entry as you suggested, but leave the existing entry alone for any future recordings of that show, correct?

RLW
Reply With Quote
  #4  
Old 12-04-2012, 01:47 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Phydeaux View Post
Thanks Sean. Now I feel foolish - that's a pretty simple, and obvious, fix.

So in order to match my imported Hawaii Five-0 data I create a new entry as you suggested, but leave the existing entry alone for any future recordings of that show, correct?

RLW
Yeah, it won't hurt having the extra one there, especially if you are recording those shows.
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
A few hints needed for MediaTitles.xml davidk21770 Batch Metadata Tools 47 07-26-2016 11:00 AM
MediaTitles not Working wmstonetn Batch Metadata Tools 9 07-08-2015 02:15 AM
Help with mediatitles.xml, please? silkshadow Batch Metadata Tools 5 10-22-2012 08:26 AM
MediaTitles.xml and how to read it razrsharpe Batch Metadata Tools 28 01-22-2011 07:57 AM
Problem with MediaTitles.xml cmaloney Batch Metadata Tools 12 08-17-2010 07:44 PM


All times are GMT -6. The time now is 03:41 AM.


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