QUERY SG GETFILELIST (Myth Protocol)

From MythTV Official Wiki
Revision as of 16:42, 29 July 2009 by Wagnerrp (talk | contribs) (added error modes)

Jump to: navigation, search

QUERY_SG_GETFILELIST

Arguments

Command arguments: none

List arguments: hostname, storage group, full path to search

Examples

Successful query

68      QUERY_SG_GETFILELIST[]:[]mybackend[]:[]Videos[]:[]/mnt/mythtv/Videos
53      dir::Movies[]:[]dir::TV[]:[]file::Some Video File.avi

Incorrect hostname, or inaccessible backend

71      QUERY_SG_GETFILELIST[]:[]notmybackend[]:[]Videos[]:[]/mnt/mythtv/Videos
36      SLAVE UNREACHABLE: []:[]notmybackend

Incorrect filename or storage group name

82      QUERY_SG_GETFILELIST[]:[]mybackend[]:[]Videos[]:[]/mnt/mythtv/Not an existing path
10      EMPTY LIST

Description

Queries the a list of files from the remote storage group

Returns

List of directories and files, identified with '<type>::'