|
MythTV master
|
#include <iostream>#include <QFile>#include <QFileInfo>#include <QRegularExpression>#include <QUrl>#include <unistd.h>#include <fcntl.h>#include "mythconfig.h"#include "mythdb.h"#include "remotefile.h"#include "mythcorecontext.h"#include "mythsocket.h"#include "compat.h"#include "mythtimer.h"#include "mythdate.h"#include "mythmiscutil.h"#include "mythlogging.h"#include "threadedfilewriter.h"#include "storagegroup.h"Go to the source code of this file.
Functions | |
| static bool | RemoteSendReceiveStringList (const QString &host, QStringList &strlist) |
| static QString | downloadRemoteFile (const QString &cmd, const QString &url, const QString &storageGroup, const QString &filename) |
| QString | RemoteDownloadFile (const QString &url, const QString &storageGroup, const QString &filename) |
| QString | RemoteDownloadFileNow (const QString &url, const QString &storageGroup, const QString &filename) |
Variables | |
| static constexpr int8_t | O_LARGEFILE { 0 } |
| static constexpr std::chrono::milliseconds | MAX_FILE_CHECK { 500ms } |
|
static |
Definition at line 1458 of file remotefile.cpp.
Referenced by RemoteDownloadFile(), and RemoteDownloadFileNow().
| QString RemoteDownloadFile | ( | const QString & | url, |
| const QString & | storageGroup, | ||
| const QString & | filename | ||
| ) |
Definition at line 1479 of file remotefile.cpp.
Referenced by VideoSetupWizard::DownloadSample(), NetBase::DownloadVideo(), and ThemeChooser::saveAndReload().
| QString RemoteDownloadFileNow | ( | const QString & | url, |
| const QString & | storageGroup, | ||
| const QString & | filename | ||
| ) |
Definition at line 1486 of file remotefile.cpp.
|
static |
Definition at line 32 of file remotefile.cpp.
Referenced by RemoteFile::Exists(), and RemoteFile::GetFileHash().
|
staticconstexpr |
Definition at line 30 of file remotefile.cpp.
Referenced by RemoteFile::GetRealFileSize().
|
staticconstexpr |
Definition at line 15 of file remotefile.cpp.
Referenced by RemoteFile::OpenInternal().