PDA

View Full Version : Problems getting a match on a recorded series


antplugger
12-10-2010, 09:28 PM
Hi, I am new to BMT and have been mucking around for a few days with no luck. Appreciate any hints.

I and running the latest Diamond UI theme and have BMT installed and running with Sage V7.

In the "TV Recording" menu I have recordings group by show. I would like to show the fanart banner at this level rather than the show title. I am not worried about the showing fanart for each recording just at the group or series level.

For Example - I have 10 "Top Gear" Shows recorded. When I go to tvdb and search from the web page I can find it and see the banners and posters etc.

I have set up MediaTitles.xml to force resolution per below but it still seems not to down load the data.

<match>
<regex>[\\/]TopGear[\\/]</regex>
<title>Top Gear</title>
<metadata type="tv" name="tvdb">74608</metadata>
</match>

Caused by: java.lang.Exception: Cannot process TV without a valid season/episod; Result: MediaSearchResult [extraArgs=SEASON: 0,EPISODE: 0,EPISODE_TITLE: The Nun in a Monster Truck - Season4 - Episode2,YEAR: 0,, id=74608, imdbId=null, metadata=null, providerId=tvdb, score=1.0, title=Top Gear, type=TV, url=74608, year=2002]

Any help greatly appreciated

davidk21770
12-11-2010, 03:44 AM
Look at the name of the file that you are trying to match.
If yours is like mine, you need to match on
<regex>[\\/]TopGear-*</regex>
Ie., your file name is xxx\ShowName-other info... so you want to bracket between the \ and the -.

stuckless
12-11-2010, 04:37 AM
I don't know if you read the newly created user manual (https://docs.google.com/document/preview?id=1C-c6NbMOks48GImP4TxDeL-5G3oqsTGHIUwDTdAQ8Ug&pageview=1#), but there is a section (https://docs.google.com/document/preview?id=1C-c6NbMOks48GImP4TxDeL-5G3oqsTGHIUwDTdAQ8Ug&pageview=1#heading=h.muru51-rotjcz) on MediaTitles in there.

But, you problem seems not so much related to the MediaTitles, but rather the fact that your recordings are not named in a way that bmt can process, very well. Are you using XMLTV for your guide data, because I'm seeing an episode title of "The Nun in a Monster Truck - Season4 - Episode2". While it explicitly has the Season and Episode information in there, bmt doesn't have a scraper that will process those.

antplugger
12-11-2010, 05:27 AM
Thanks - Yes I am using the manual, its been very helpful (https://docs.google.com/document/pub?id=1C-c6NbMOks48GImP4TxDeL-5G3oqsTGHIUwDTdAQ8Ug&pli=1#h.24wjjy-33yvba)

Yes - I use XMLTV guide data - I am in Australia and there is no official EPG available I have to get it from a community source. So its a little hit and miss

What do think the chance is of writing a reasonable scraper ? Are they in the directory C:\Program Files\SageTV\SageTV\STVs\Phoenix\scrapers\xbmc\tvfilenames ?

Thanks

stuckless
12-11-2010, 06:02 AM
Thanks - Yes I am using the manual, its been very helpful (https://docs.google.com/document/pub?id=1C-c6NbMOks48GImP4TxDeL-5G3oqsTGHIUwDTdAQ8Ug&pli=1#h.24wjjy-33yvba)

Yes - I use XMLTV guide data - I am in Australia and there is no official EPG available I have to get it from a community source. So its a little hit and miss

What do think the chance is of writing a reasonable scraper ? Are they in the directory C:\Program Files\SageTV\SageTV\STVs\Phoenix\scrapers\xbmc\tvfilenames ?

Thanks

Yeah, the tv scrapers are there. Writing a scraper does require some knowledge of regular expressions, in order to make this work. A scraper for you would more closely follow the Series S##E## scraper, so, if you decide to write a scraper, then I'd start with that one (ie, copy it to another name and modify accordingly)