GetProgramDetails (MythXML)

From MythTV Official Wiki
Revision as of 05:05, 8 September 2010 by Wagnerrp (Talk | contribs)

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

Description

Return the description of a single program.

Inputs

  • StartTime - start of program in CCYY-MM-DDTHH:MM format
  • ChanId

Success

<?xml version="1.0" encoding="utf-8"?>
<GetProgramDetailsResponse>
    <StartTime>2010-09-08T00:00:00</StartTime>
    <ChanId>2059</ChanId>
    <Count>1</Count>
    <AsOf>2010-09-08T01:01:42</AsOf>
    <Version>0.23.20100830-2</Version>
    <ProtoVer>59</ProtoVer>
    <ProgramDetails>
        <Program title="White Collar" subTitle="Point Blank" programFlags="0" category="Crime drama" fileSize="0" seriesId="EP01177578" hostname="" catType="series" programId="EP011775780023" repeat="0" stars="0" endTime="2010-09-08T01:00:00" airdate="2010-09-07" startTime="2010-09-08T00:00:00" lastModified="2010-09-08T00:00:00">Neal orchestrates an elaborate con to bring himself face to face with Kate's murderer.
            <Channel inputId="0" chanFilters="" commFree="0" channelName="USA Network" sourceId="0" chanId="2059" chanNum="59" callSign="USA"/>
            <Recording recPriority="0" playGroup="Default" recStatus="3" recStartTs="2010-09-08T00:00:00" recGroup="Default" dupMethod="6" recType="3" encoderId="0" recProfile="Default" recEndTs="2010-09-08T01:00:00" recordId="490" dupInType="15"/>
        </Program>
    </ProgramDetails>
</GetProgramDetailsResponse>

Failure

<?xml version="1.0" encoding="utf-8"?>
<detail>
    <errorCode>501</errorCode>
    <errorDescription>Error Reading Program Info</errorDescription>
</detail>