diff options
author | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2015-11-10 13:47:16 +0100 |
---|---|---|
committer | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2015-11-10 13:47:16 +0100 |
commit | 508586891361504373423ac2920229265540771d (patch) | |
tree | 49e5c775e0af2c08972762f7f58b0b3eb8dd25bc | |
parent | 1ef2c89362c8af510a8fb9bc56cba15000bbfed1 (diff) | |
parent | df0863c84d12f43306d6437257c9fa4ab689ae8e (diff) |
Merge pull request #8141 from metaron-uk/recordInvest
[PVR] Fix for recording associations
-rw-r--r-- | xbmc/epg/EpgContainer.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xbmc/epg/EpgContainer.cpp b/xbmc/epg/EpgContainer.cpp index 4db9d06ed5..e50523dfa3 100644 --- a/xbmc/epg/EpgContainer.cpp +++ b/xbmc/epg/EpgContainer.cpp @@ -175,9 +175,6 @@ void CEpgContainer::Start(bool bAsync) LoadFromDB(); - if (g_PVRManager.IsStarted()) - g_PVRManager.Recordings()->UpdateEpgTags(); - CSingleLock lock(m_critSection); if (!m_bStop) { @@ -618,8 +615,6 @@ bool CEpgContainer::UpdateEPG(bool bOnlyPending /* = false */) m_updateEvent.Set(); } - g_PVRManager.Recordings()->UpdateEpgTags(); - if (bShowProgress && !bOnlyPending) CloseProgressDialog(); @@ -675,6 +670,9 @@ bool CEpgContainer::UpdateEPG(bool bOnlyPending /* = false */) } else { + if (g_PVRManager.IsStarted()) + g_PVRManager.Recordings()->UpdateEpgTags(); + CSingleLock lock(m_critSection); CDateTime::GetCurrentDateTime().GetAsUTCDateTime().GetAsTime(m_iNextEpgUpdate); m_iNextEpgUpdate += g_advancedSettings.m_iEpgUpdateCheckInterval; |