Skip to content

Commit f471817

Browse files
committed
Fix metadata lookups for generic episodes, with thanks to dekarl on IRC for reporting and testing the fix
1 parent e354a6d commit f471817

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mythtv/libs/libmythmetadata/metadatafactory.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,8 @@ LookupType GuessLookupType(ProgramInfo *pginfo)
630630
// subtitle, it's *probably* a movie. If it's some
631631
// weird combination of both, we've got to try everything.
632632
RecordingRule *rule = new RecordingRule();
633-
rule->LoadByProgram(pginfo);
633+
rule->m_recordID = pginfo->GetRecordingRuleID();
634+
rule->Load();
634635
int ruleepisode = rule->m_episode;
635636
delete rule;
636637

0 commit comments

Comments
 (0)