Add a --download option to mythutil

Multimedia / MythTV - Chris Pinkham [mythtv.org] - 15 June 2013 03:42 UTC

"--download --infile URI --outfile FILENAME" will download the file pointed to by 'URI' using MythDownloadManager and save it as 'FILENAME'.

URI is expected to use one of http://, ftp://, or myth:// protocols since these are the only ones currently supported by MythDownloadManager.

2b8a573 Add a --download option to mythutil.
mythtv/programs/mythutil/commandlineparser.cpp | 6 +++-
mythtv/programs/mythutil/fileutils.cpp | 35 ++++++++++++++++++++++++
2 files changed, 40 insertions(+), 1 deletion(-)

Upstream: github.com


  • Share