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-30-2011, 09:03 PM
les_bloom les_bloom is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Kirkland, WA, USA
Posts: 187
Setting season/episode info via MediaTitles.xml entry?

Hi there,

I am having difficulty creating an entry in my MediaTitles.xml that will properly pick up meta data for a few of my files.

The files are from the PlayOn plugin so I can't just rename the files. And Netflix likes to remove things from my que and then re-add them a few days later, so manually setting the metadata for these files is annoying.

Therefore I am trying to create an entry in my MediaTitles.xml that will pick up the meta data each time. Here is what I have so far:

File name: RoboCop Crash and Burn (2001).m4v

Metadata goal:
Series name: RoboCop: Prime Directives
Season: 1
Episode: 4

Current MediaTitles.xml entry:
<match>
<regex>[\\/]robocop crash and burn</regex>
<title>robocop: prime directives</title>
<metadata type="TV" name="tvdb">70513</metadata>
</match>


Unfortunately this does not work. I finds the series info properly but it can not figure out the season/episode info. I think this is because 'crash and burn' ends up getting removed after the regex match?

I tried using "<title>robocop: prime directives s1e4</title>" but that didn't work. It ended up searching for a show named "robocop: prime directives s1e4" and thus did not find anything at all.

Any ideas?

Thanks
Les
Reply With Quote
  #2  
Old 07-01-2011, 05:47 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
MediaTitles.xml is used for searching, so in your case, when it matches the given regex on the filename, then set the title and tvdb information as your've provided, to do the search.

The file will still need a valid episodename or season/episode in the filename as well, or else the specific episode matching will fail.

Your filename doesn't have episode information so it can never match a specific episode.
Reply With Quote
  #3  
Old 07-01-2011, 12:41 PM
les_bloom les_bloom is offline
Sage Advanced User
 
Join Date: Feb 2011
Location: Kirkland, WA, USA
Posts: 187
There is no way for me to specify the season/episode info in the MediaTitles.xml entry right? For example:

<match>
<regex>[\\/]robocop crash and burn</regex>
<title>robocop: prime directives</title>
<season>1</season>
<episode>4</episode>

<metadata type="TV" name="tvdb">70513</metadata>
</match>

Or something similar?

If not, oh well.

Thanks
Les
Reply With Quote
  #4  
Old 07-01-2011, 02:02 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by les_bloom View Post
There is no way for me to specify the season/episode info in the MediaTitles.xml entry right? For example:

<match>
<regex>[\\/]robocop crash and burn</regex>
<title>robocop: prime directives</title>
<season>1</season>
<episode>4</episode>

<metadata type="TV" name="tvdb">70513</metadata>
</match>

Or something similar?

If not, oh well.

Thanks
Les
Currently no, but it's a good idea
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
Season/Episode info wrems Phoenix 3 06-16-2011 08:27 AM
Sage 7.1.7 supports episode/season info in filenames now Gustovier Batch Metadata Tools 3 04-30-2011 07:55 PM
Request: Add season/episode info to file name jptheripper SageTV Beta Test Software 21 03-21-2011 08:26 AM
add Season and Episode numbers LoopyWolf SageTV Customizations 2 09-12-2009 01:41 PM
Getting Episode/Season info in recorded show names? kelemvor SageTV Software 4 04-18-2005 07:58 AM


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


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