Skip to content

Commit c60f331

Browse files
author
Robert McNamara
committed
Do not copy inetrefs from rule -> recording when the rule is a search.
Thanks to Karl Deitz for the report and suggested solution. It appears to work fine from limited testing. If you find that the problem is still present for you, please reopen the ticket. Fixes #10338.
1 parent ef3fc49 commit c60f331

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mythtv/programs/mythmetadatalookup/lookup.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,11 @@ void LookerUpper::customEvent(QEvent *levent)
342342
if (rule)
343343
{
344344
rule->LoadByProgram(pginfo);
345-
if (rule->m_inetref.isEmpty())
345+
if (rule->m_inetref.isEmpty() &&
346+
(rule->m_searchType == kNoSearch))
347+
{
346348
rule->m_inetref = lookup->GetInetref();
349+
}
347350
rule->m_season = lookup->GetSeason();
348351
rule->m_episode = lookup->GetEpisode();
349352
rule->Save();

0 commit comments

Comments
 (0)