Myth Protocol Command QUERY CHECKFILE

From MythTV

Jump to: navigation, search

Contents

QUERY_CHECKFILE

Arguments

Command arguments: none

List arguments: <checkslaves> ProgramInfo (as returned from QUERY_RECORDER GET_CURRENT_RECORDING)

Examples

Command:

QUERY_CHECKFILE[]:[]1[]:[]DTV Program[]:[][]:[]DTV
Program[]:[][]:[]1042[]:[]4.2[]:[]WxPlus[]:[]WxPlus[]:[]myth://10.10.10.250:6543/1042_20070516195230.mpg[]:[]0[]:[]0[]:[]1179358186[]:[]1179359986[]:[]0[]:[]0[]:[]0[]:[]cartman[]:[]0[]:[]0[]:[]0[]:[]0[]:[]-3[]:[]0[]:[]0[]:[]15[]:[]6[]:[]1179359550[]:[]1179359986[]:[]0[]:[]4[]:[]LiveTV[]:[]0[]:[][]:[][]:[][]:[]1179359550[]:[]0.000000[]:[]1900-01-01[]:[]0[]:[]Default[]:[]0[]:[]0[]:[]LiveTV

Successful response:

1[]:[]/mythtv/1042_20070516195230.mpg


Description

Asks the backend to check the file information on the program. The checkslaves parameter is 1 or 0.

Returns

1 and the file path of the file is there and exists, 0 and an empty filename if the file does not exist.

Personal tools