Difference between revisions of "QUERY SG GETFILELIST (Myth Protocol)"

From MythTV Official Wiki
Jump to: navigation, search
m
Line 22: Line 22:
 
=== Returns ===
 
=== Returns ===
 
List of directories and files, identified with '<type>::'
 
List of directories and files, identified with '<type>::'
 +
 +
[[Category:Myth Protocol Commands]]

Revision as of 01:17, 23 February 2010

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>::'