[mythtv-commits] Ticket #12277: Metadata collection always fails for Manual Record rules
MythTV
noreply at mythtv.org
Tue Nov 17 03:36:03 UTC 2015
#12277: Metadata collection always fails for Manual Record rules
------------------------------------------------+--------------------------
Reporter: Steve Erlenborn <simon.sinister@…> | Owner: dekarl
Type: Bug Report - General | Status:
| infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version:
| 0.27-fixes
Severity: medium | Resolution:
Keywords: metadata manual record | Ticket locked: 0
------------------------------------------------+--------------------------
Comment (by simon.sinister@…):
Replying to [comment:1 dekarl]:
> Steve, I'm trying to come up with a solution that makes sense for all
kinds of recording rules. e.g. manual recording of the "monday night
movies" time slot or a people search.
> If you manually set up series recording rules you can also manually
enter the reference to thetvdb. That way MythTV should directly pull in
the right series level information, ignoring the recording title.
dekarl,
The patch I provided 14 months ago completely solves the problem. There
are only 3 methods which search for a metadata match:
MetaGrabberScript::Search(const QString &title, ...),
MetaGrabberScript::SearchSubtitle(const QString &title, ...), and
MetaGrabberScript::SearchSubtitle(const QString &inetref, ...). My
solution updates the first two. The third one ignores the 'title'
parameter, so it needed no update.
For the scenario, you mentioned, the third method should be invoked,
since you're providing the inetref value.
See metadatadownload.cpp
{{{
#!cpp
/**
* handleTelevision
* attempt to find television data via the following (in order)
* 1- By inetref with subtitle
* 2- By inetref with season and episode
* 3- By inetref
* 4- By title and subtitle
* 5- By title
*/
MetadataLookupList MetadataDownload::handleTelevision(MetadataLookup
*lookup)
{
}}}
The original Component 'MythTV - Mythmedatalookup' was correct. The
original Type 'Patch - Bug Fix' was correct. All I need is someone with
privileges to review my solution and merge it in.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12277#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list