Permalink
Browse files

[epg] fixed missing plot(outline) if plot and outline match. add-ons …

…just need to provide correct data
  • Loading branch information...
opdenkamp committed Oct 14, 2012
1 parent 937ace2 commit f95b6b764a76c5e19269a4cb82c13840a29af4e4
Showing with 3 additions and 10 deletions.
  1. +3 −10 xbmc/epg/EpgInfoTag.cpp
View
@@ -451,16 +451,9 @@ void CEpgInfoTag::SetPlot(const CStdString &strPlot)
bool bUpdate(false);
{
CSingleLock lock(m_critSection);
- CStdString strPlotClean = (m_strPlotOutline.length() > 0 && strPlot.Left(m_strPlotOutline.length()).Equals(m_strPlotOutline)) ?
- strPlot.Right(strPlot.length() - m_strPlotOutline.length()) :
- strPlot;
-
- if (m_strPlot != strPlotClean)
- {
- m_strPlot = strPlotClean;
- m_bChanged = true;
- bUpdate = true;
- }
+ bUpdate = !m_strPlot.Equals(strPlot);
+ m_bChanged |= bUpdate;
+ m_strPlot = strPlot;
}
if (bUpdate)
UpdatePath();

0 comments on commit f95b6b7

Please sign in to comment.