Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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.
  • Loading branch information...
commit 1bbc9a43eb63f1569f8b510c4588a439019b49dc 1 parent 6e8dae5
@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
@@ -1221,7 +1221,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;
@@ -2370,6 +2371,9 @@ bool PlaybackBox::Play(
UpdateUIListItem(pginfo, true);
}
+ if (m_needUpdate)
+ ScheduleUpdateUIList();
+
return playCompleted;
}
@@ -3872,8 +3876,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.