Fetch the current server status, which includes list of devices detected during runtime, list of transcode sessions, streaming sessions and download sessions. It also includes a list of server messages created in response to some background operation. More...
Fetch the current server status, which includes list of devices detected during runtime, list of transcode sessions, streaming sessions and download sessions. It also includes a list of server messages created in response to some background operation.
Path: /status/fetch
response
and two attributes status
and message
. The status attribute can be either success
or failure
and the message describes the cause of the error in a user friendly manner. When the request was completed the successfully, the response
element will have a child element status
with its own children elements player
, stream
, download
, transcode
, message
.Examples:
<response status="success" message=""> <status> <player playerid="192.168.1.10312143137-9c6d-437c-9802-2cfacb73316a" icon="/images/device_icon_iphone.png" name="iPhone/iPod" longname="iPhone/iPod (192.168.1.103)" profileid="12143137-9c6d-437c-9802-2cfacb73316a" ip="192.168.1.103"> <stream url="file://c:/demomedia/alice480p.mov" title="alice480p" playerid="192.168.1.10312143137-9c6d-437c-9802-2cfacb73316a" icon="/images/device_icon_iphone.png" name="iPhone/iPod" longname="iPhone/iPod (192.168.1.103)" sourcemimetype="video/quicktime" sourceformat="mov" targetmimetype="video/mp2t" targetformat="ts" profileid="12143137-9c6d-437c-9802-2cfacb73316a" progress="2919640" size="16415596"></stream> <transcode url="file://c:/demomedia/alice480p.mov"" title="Avatar" sourceMimetype="video/quicktime" sourceFormat="mov" targetMimetype="video/mp2t" targetFormat="ts" status="active" size="15333376" progress="2315032"></transcode>
<message code="19" category="service" text="Started refreshing BBC TV Highlights" date="2010-07-07" time="00:02:09"> <message code="2" category="error" text="Error - Could not get media url for http://www.bbc.co.uk/iplayer/episode/b00t29l3/Match_of_the_Day_2010_FIFA_World_Cup_Uruguay_v_Netherlands/" date="2010-07-07" time="00:03:53"> <message code="2" category="error" text="Error - Could not get media url for http://www.bbc.co.uk/iplayer/episode/b00ndzw0/Glamours_Golden_Age_The_Luxe_Experience/" date="2010-07-07" time="00:04:53"> <message code="20" category="service" text="Completed refreshing BBC TV Highlights" date="2010-07-07" time="00:04:54"> <message code="22" category="device" text="Detected iPhone/iPod at IP address: 192.168.1.103" date="2010-07-07" time="01:19:23"> </status> </response>