[mythtv-users] Simple perl/python script to query recorder status via services API

Bill Meek keemllib at gmail.com
Mon Aug 11 20:42:47 UTC 2014


On 08/11/2014 02:56 PM, Jack Perveiler wrote:
> Thanks Bill,,
>
> Yep, that looks similar to what I pieced together myself yesterday (except
> I think I needed to use ET.fromstring() since urlopen() returns a string).
> I think I have it working now, it would be nice if someone could confirm
> the State == 0 -> Encoder is idle assumption though.
...

0 matches the state of my idle recorders. I also get -1 for
my SBE recorder when it's off-line and 7 when a recording
is being made.

I came up with the same enum as you did. When 0.28 hits
the field, it looks like these will be changed to translated
strings.

-- 
Bill


More information about the mythtv-users mailing list