Permalink
Browse files

Increase kMaxUIWaitTime to 10 seconds. The theory is that this timeou…

…t was to prevent a very delayed response to an availability check causing playlists to resume playing long after the user had moved on. The present timeout was very short though and didn't account for delays caused by disks needing to be spun up or just the latency of checking multiple storage groups for a file. Almost certainly fixes #8316
  • Loading branch information...
1 parent dd9a92a commit 6c3a799706eb6f18757f8984819bf5c4c2425659 @stuartm stuartm committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/programs/mythfrontend/playbackbox.cpp
@@ -4043,7 +4043,7 @@ void PlaybackBox::customEvent(QEvent *event)
}
else if (message == "AVAILABILITY" && me->ExtraDataCount() == 8)
{
- const uint kMaxUIWaitTime = 100; // ms
+ const uint kMaxUIWaitTime = 10000; // ms
QStringList list = me->ExtraDataList();
QString key = list[0];
CheckAvailabilityType cat =

0 comments on commit 6c3a799

Please sign in to comment.