|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Use Original Airdate to determine between multiple title hits?
An idea that just occurred to me when I was scanning though my missing metadata list: if a TV show title comes up with multiple hits if you do an air date search on all them prolly 99% of the time you'd be able to accuratly identify which series to use without the help of MediaTitles.xml.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#2
|
|||
|
|||
you're making the assumption that the original air date as set by the EPG is accurate though.... but ya i would think if you added logic around the OAD (and assumed it was correct) to figure out which series it was that solve the vast majority of the need for the mediatitles.xml
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#3
|
||||
|
||||
Quote:
on recordings, I could probably use getSeriesInfo().getYear() to help narrow it down, but I'm not sure the air date will help... unless i'm missing something.
__________________
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 |
#4
|
|||
|
|||
Test Series: Parenthood
TVDB: Parenthood - First Aired Date: 8/1/1990 Parenthood (2010) - First Aired Date: 3/2/2010 So you do something like this: Code:
Get Original Air Date (OAD) from the Recording EPG metadata Get Series List from TVDB, Get First Aired Date (FAD) for each series Compare OAD to the FAD for each series. Assume that the show belongs to the series with an OAD after the series FAD but before any other FAD of other series
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#5
|
||||
|
||||
What i'm thinking is this:
Take last nights "The Biggest Loser" for example which the EPG comes down with the episode blank and the original air date set to "2011-01-25". When BMT does a title search it returns 3 results...
But if you do an Original Airdate Check on each of the series...
The only one that returns data is the correct one. As you say, the two issues that could come up are:
Looking at my MediaTitles.xml, a check like this would fix about half of my items (The Office, V, The Good Guys, Doctor Who, Human Target, Conan, Castle). Edit: Actually this "The Biggest Loser" failure is pretty odd on its own. theTVDB has a direct title match with the EPG title, but for some reason BMT is choosing to check "The Biggest Loser UK" Code:
2011-01-26 12:38:22,777 - ERROR; \\Secretivo\Data1\SageRecordings\TheBiggestLoser-8264267-0.mpg; The Biggest Loser; 8301668; Failed while parsing series: MediaSearchResult [extraArgs={CLEAN_TITLE: The Biggest Loser,YEAR: 0,RAW_TITLE: The Biggest Loser,EPISODE_DATE: 2011-01-18,}, id=92371, imdbId=null, metadata=null, providerId=tvdb, score=0.96, title=The Biggest Loser UK, type=TV, url=92371, year=0] 2011-01-26 12:38:23,405 - ERROR; \\Secretivo\Data1\SageRecordings\TheBiggestLoser-8285906-0.mpg; The Biggest Loser; 8324207; Failed while parsing series: MediaSearchResult [extraArgs={CLEAN_TITLE: The Biggest Loser,YEAR: 0,RAW_TITLE: The Biggest Loser,EPISODE_DATE: 2011-01-25,}, id=92371, imdbId=null, metadata=null, providerId=tvdb, score=0.96, title=The Biggest Loser UK, type=TV, url=92371, year=0]
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) Last edited by evilpenguin; 01-26-2011 at 06:05 PM. |
#6
|
||||
|
||||
Thanks, I understand now. Although, I suspect that you've uncovered an issue, since if there is a direct match, then BMT should have chosen it, and not the UK version. The think that was interesting about the UK selection, is that the Year was 0 (in tvdb for some year), so I'm wondering if BMT chose it, because it would have match the year for your show (which would have been 0 as well)
I'll open a bug for this, and I'll consider your proposal. From a bmt perspective, the selecting of the series and the finding of the episode happen at 2 different stages of the lookup, and the original list is discard at the time that bmt tries to look for episodes
__________________
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 |
#7
|
|||
|
|||
Yeah, This Old House is always OAD +2 from my EPG.
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#8
|
||||
|
||||
Yeah, but it wouldn't really matter, without an episode title or correct OAD you'd have to manually scrape it regardless. The only issue would be if the incorrect OAD resulted in a false positive which it wouldn't.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Improving Imported TV hits | Peter_h | Batch Metadata Tools | 10 | 11-19-2010 11:46 AM |
Handling multiple movies with the same title | tonysathre | SageMC Custom Interface | 6 | 04-16-2010 12:18 AM |
Clarify the title/artist bit eg. [DVD TITLE] / [MOVIE TITLE]? | bcjenkins | SageMC Custom Interface | 1 | 12-31-2008 11:58 AM |
CPU hits 100% | rdefino | SageTV Beta Test Software | 0 | 11-15-2008 12:07 PM |