Metadata Lookup: Prevent lookups for items which already have metadata.
Multiple people attempted to fix the "null insert" issue with inetref (among other "NOT NULL" fields) but all the fixes were left in-- including initializing the inetref to an empty string even when one already existed in the programinfo-- this led to a regression where everything was being looked up, every time, because even if there was an inetref, it would always be replaced with an empty string.
|@@ -27,7 +27,7 @@ RecordingRule::RecordingRule()|
|- m_inetref(""), // String could be null when we trying to insert into DB|
|+ m_inetref(), // String could be null when we trying to insert into DB|
|@@ -608,7 +608,7 @@ void RecordingRule::AssignProgramInfo()|
|m_category = m_progInfo->GetCategory();|
|- m_inetref = "";|
|+ m_inetref = m_progInfo->GetInetRef();|