![]() |
|
|||||||
| Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
MediaTitles.xml Help
I know this has been asked before, but I am not quite getting this right. I have this in my MediaTitles.XML file:
Code:
<titles>
<match>
<regex>[\\/]Doctor Who.*</regex>
<title>Doctor Who</title>
<year>1963</year>
<metadata type="TV" name="tvdb">76107</metadata>
</match>
<match>
<regex>[\\/]Doctor Who Confidential.*</regex>
<title>Doctor Who Confidential</title>
<metadata type="TV" name="tvdb">79298</metadata>
</match>
<match>
<regex>[\\/]Doctor Who (2005).*</regex>
<title>Doctor Who (2005)</title>
<metadata type="TV" name="tvdb">78804</metadata>
</match>
</titles>
Doctor Who - S01E01 - An Unearthly Child.mkv Doctor Who (2005) - S01E01 - Rose.mkv Doctor Who Confidential - S01E01 - Some Name.mkv There are also Specials which I have named as above, but using S00Exx. Anyone see what I'm missing here? |
|
#2
|
||||
|
||||
|
Wonder if the order matters?
put the following AFTER the others? Or possibly remove it? Wouldn't Doctor Who.* match Doctor Who (2005) and Doctor Who Confidential ? Code:
<match>
<regex>[\\/]Doctor Who.*</regex>
<title>Doctor Who</title>
<year>1963</year>
<metadata type="TV" name="tvdb">76107</metadata>
</match>
Code:
<match>
<regex>[\\/]Doctor Who (2005)[\\/]</regex>
<metadata type="TV" name="tvdb">78804</metadata>
</match>
|
|
#3
|
|||
|
|||
|
I hadn't thought of reordering them. But the folder idea may be the best way to do this, since I do have them separated in their own folders. I'll see what happens.
|
|
#4
|
|||
|
|||
|
Argh. So I changed it to:
Code:
<titles>
<match>
<regex>[\\/]Doctor Who (2005)</regex>
<title>Doctor Who (2005)</title>
<year>2005</year>
<metadata type="TV" name="tvdb">78804</metadata>
</match>
<match>
<regex>[\\/]Doctor Who Confidential[\\/]</regex>
<title>Doctor Who Confidential</title>
<metadata type="TV" name="tvdb">79298</metadata>
</match>
<match>
<regex>[\\/]Doctor Who[\\/]</regex>
<title>Doctor Who</title>
<year>1963</year>
<metadata type="TV" name="tvdb">76107</metadata>
</match>
</titles>
I won't even start on Specials.... |
|
#5
|
||||
|
||||
|
Quote:
1. delete your current dr who entries in the mediafiles xml. 2. restart sagetv (to ensure that all entries are unloaded) 3. go into bmt, browse and find a dr who episode... click find metadata, select the "right" dr who entry for the show you have loaded. 4. click Add Matcher 5. Use a "Folder" based matcher, click OK (or done, not sure which). 6. Save. 7. Repeat for a different episode of DR Who for different dr who show. Keep in mind you are doing this 3 times... once for each type of dr who espisode. Next, rescan your dr who files -- with force update/overwrite. I never manually modify the mediatitles xml (except to clean it out), I just use BMT's "Add Matcher". Quote:
__________________
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 |
|
#6
|
||||
|
||||
|
Can you try this
Code:
<match>
<regex>[\\/]Doctor Who (2005)[\\/]</regex>
<metadata type="TV" name="tvdb">78804</metadata>
<title>Doctor Who (2005)</title>
</match>
Maybe even leave off the <title> ? I haven't bothered with the YEAR tag for my shows that have different years. For Example, my Hawaii Five-O work well with this configuration Code:
<match>
<regex>[\\/]Hawaii Five-0 (2010)[\\/]</regex>
<metadata type="TV" name="tvdb">164541</metadata>
</match>
<match>
<regex>[\\/]Hawaii Five-0 (1968)[\\/]</regex>
<metadata type="TV" name="tvdb">71223</metadata>
</match>
|
|
#7
|
|||
|
|||
|
Hawaii five-o is a bit different one has an alpha O and the other has a numeric 0 in the TVDB. Sage groups them all together ...
Hawaii Five-O Hawaii Five-0
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
|
#8
|
|||
|
|||
Thanks stuckless.
|
|
#9
|
|||
|
|||
|
Hmmm. Where do I find?:
Next, rescan your dr who files -- with force update/overwrite. |
|
#10
|
||||
|
||||
|
Quote:
![]() Browser -> Sage Video Imports by Folder -> (the navigate to the dr who folder to scan) Click "UPdate Metadata..." Check first 3 options, uncheck last two... Click Scan Repeat for the other 2 dr who folders
__________________
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 |
|
#11
|
|||
|
|||
|
OK. That's what I thought. Just wanted to be sure.
Didn't work. What's so confusing is that it used to work for both DW and DW 2005. Even after I restored the original MediaTitles.XML file, it never worked again. How can I completely remove any metadata info from those files and start over? |
|
#12
|
||||
|
||||
|
Quote:
__________________
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 |
|
#13
|
|||
|
|||
|
Actually, this is all there is.
Code:
<titles>
<match>
<regex>[\\/]Doctor Who (2005)</regex>
<title>Doctor Who (2005)</title>
<year>2005</year>
<metadata type="TV" name="tvdb">78804</metadata>
</match>
<match>
<regex>[\\/]Doctor Who Confidential[\\/]</regex>
<title>Doctor Who Confidential</title>
<metadata type="TV" name="tvdb">79298</metadata>
</match>
<match>
<regex>[\\/]Doctor Who[\\/]</regex>
<title>Doctor Who</title>
<year>1963</year>
<metadata type="TV" name="tvdb">76107</metadata>
</match>
</titles>
|
|
#14
|
||||
|
||||
|
Quote:
__________________
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 |
|
#15
|
|||
|
|||
|
Sorry for the confusion Sean. It's only failing currently on Doctor Who (2005).
|
|
#16
|
|||
|
|||
|
Just a thought but do you mean to have 2 spaces between "Who" and "(2005)" and does your actual title match this?
|
|
#17
|
|||
|
|||
|
JerryB - Funny I saw that thinking it was 2 spaces. It's not. I have triple checked it because it still looks like too much space.
|
|
#18
|
||||
|
||||
|
Necro thread but you need to escape your "(" and ")". Here is my Dr Who:
Code:
<match>
<regex>[\\/]Doctor Who \(2005\)[\\/]</regex>
<metadata type="TV" name="tvdb">78804</metadata>
</match>
|
|
#19
|
|||
|
|||
|
Quote:
I had gotten busy and not returned to this problem until I got the notification of a response to remind me. |
|
#20
|
||||
|
||||
|
Quote:
Interesting. I will need to try this out. BTW, what other characters should be escaped? |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MediaTitles not Working | wmstonetn | Batch Metadata Tools | 9 | 07-08-2015 02:15 AM |
| Help with MediaTitles.xml | Phydeaux | Batch Metadata Tools | 3 | 12-04-2012 01:47 PM |
| 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 |