Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix exists check in mythcommflag

for files that aren't visible to the master backend.  Thanks to fedora a
ready2think for the patch.  Fixes #10810.
(cherry picked from commit c5803f1)
  • Loading branch information...
commit 648f0aec326c03b39091fda8ac64450d0f0e76e3 1 parent 016db04
@sphery sphery authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 mythtv/programs/mythcommflag/main.cpp
View
7 mythtv/programs/mythcommflag/main.cpp
@@ -627,12 +627,7 @@ static qint64 GetFileSize(ProgramInfo *program_info)
if (filename.startsWith("myth://"))
{
RemoteFile remotefile(filename, false, false, 0);
- struct stat filestat;
-
- if (remotefile.Exists(filename, &filestat))
- {
- size = filestat.st_size;
- }
+ size = remotefile.GetFileSize();
}
else
{
Please sign in to comment.
Something went wrong with that request. Please try again.