Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Suspend recording list updates whilst playback is in progress as this…

… causes issues for some people. This is likely a temporary fix while I work on something better.

(cherry picked from commit 1bbc9a4)
  • Loading branch information...
commit ef3922514267e53c774ecaeda52d2aa071a1ecf2 1 parent db67f84
@stuartm stuartm authored
Showing with 12 additions and 3 deletions.
  1. +12 −3 mythtv/programs/mythfrontend/playbackbox.cpp
View
15 mythtv/programs/mythfrontend/playbackbox.cpp
@@ -1219,7 +1219,8 @@ void PlaybackBox::updateRecList(MythUIButtonListItem *sel_item)
updateGroupInfo(groupname, grouplabel);
- if ((m_currentGroup == groupname) && !m_needUpdate)
+ if (((m_currentGroup == groupname) && !m_needUpdate) ||
+ m_playingSomething)
return;
m_needUpdate = false;
@@ -2352,6 +2353,9 @@ bool PlaybackBox::Play(
UpdateUIListItem(pginfo, true);
}
+ if (m_needUpdate)
+ ScheduleUpdateUIList();
+
return playCompleted;
}
@@ -3852,8 +3856,13 @@ void PlaybackBox::customEvent(QEvent *event)
}
else if (message == "UPDATE_UI_LIST")
{
- UpdateUILists();
- m_helper.ForceFreeSpaceUpdate();
+ if (m_playingSomething)
+ m_needUpdate = true;
+ else
+ {
+ UpdateUILists();
+ m_helper.ForceFreeSpaceUpdate();
+ }
}
else if (message == "UPDATE_USAGE_UI")
{
Please sign in to comment.
Something went wrong with that request. Please try again.