DOWNLOAD FILE (Myth Protocol)

From MythTV Official Wiki
Revision as of 06:12, 13 September 2010 by Wagnerrp (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DOWNLOAD_FILE

Arguments

Command arguments: none

List arguments: url, storage group, filename

Examples

Command:

DOWNLOAD_FILE[]:[]http://mythtv.org/wiki/[]:[]Temp[]:[]/main_page.html

Successful response:

OK[]:[]myth://Temp@127.0.0.1/main_page.html

Unsuccessful response:

ERROR

Description

Asks the backend to manage the download of a web resource, and store it to a location in a storage group. DOWNLOAD_FILE_NOW will not return after the download has completed. DOWNLOAD_FILE will return immediately, but the path given will not be available until a DOWNLOAD_FILE UPDATE event has been issued.

Returns

Myth URI to the newly downloaded file

Changelog

version changeset description
58 [25351] Initial version