Skip to content
Permalink
Browse files

Bypass filesize query on recording if possible. Refs #9539

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
(cherry picked from commit cb1911a)
  • Loading branch information
Bill Stuff authored and stuartm committed Jul 24, 2011
1 parent ced1c78 commit 90247032226cad92d613dce6fe379079a83b3779
Showing with 6 additions and 2 deletions.
  1. +6 −2 mythtv/programs/mythfrontend/playbackbox.cpp
@@ -644,9 +644,13 @@ void PlaybackBox::updateGroupInfo(const QString &groupname,
ProgramInfo *info = *it;
if (info)
{
uint64_t filesize = info->QueryFilesize();
uint64_t filesize = info->GetFilesize();
if (filesize == 0 || info->GetRecordingStatus() == rsRecording)
{
filesize = info->QueryFilesize();
info->SetFilesize(filesize);
}
groupSize += filesize;
info->SetFilesize(filesize);
}
}

0 comments on commit 9024703

Please sign in to comment.
You can’t perform that action at this time.