QUERY FINDFILE (Myth Protocol)
From MythTV Official Wiki
QUERY_FINDFILE
Arguments
Command arguments: none
List arguments: <host> <storagegroup> <filename> <useregex (optional)> <allowfallback (optional)>
Examples
Command:
94 QUERY_FINDFILE[]:[]silentpc[]:[]MusicArt[]:[]/Icons/genre/^rock\.(jpg|jpeg|png|gif)[]:[]1[]:[]1
Successful response:
49 myth://MusicArt@192.168.1.30/Icons/genre/rock.jpg
Unsuccessful response:
9 NOT FOUND
27 ERROR: Bad/Missing Filename
34 ERROR: SLAVE UNREACHABLE: silentpc
30 ERROR: failed to get host list
Description
This command will search for matching files on a given host in the specified storage group. The filename can be a simple file name or a regexp. You can chose to search only the specified host, which is a little quicker, or fall back to searching all hosts with a backend.
Returns
A list of matching myth urls, NOT FOUND or ERROR response.
Changelog
version | changeset | description |
---|---|---|
83 | [411272fd2b] | Initial version |