[mythtv-users] SQL Query for encoder status
Carl Fongheiser
carlfongheiser at gmail.com
Tue May 31 15:28:53 UTC 2005
On 5/31/05, Phill Edwards <philledwards at gmail.com> wrote:
> Does anyone know the SQL or which table(s) need to be queried to get
> the encoder status as per what appears in mythweb on the "Backend
> Status" page? Eg:
>
> <snip>
> Encoder status
> Encoder 1 is local on elm.edwards.home and is recording: 'Coupling' on
> ABC TV. This recording will end at 01:15 am.
> Encoder 2 is local on elm.edwards.home and is not recording.
> </snip>
>
> I'd like to do a little shell script that queries the data and puts in
> on screen at the press of a remote control button.
You might find it easier to grab the XML from the backend's HTTP
server at http://backendhost:6544/xml. It's pretty easy to parse, and
you don't need to go rooting through a lot of tables.
Carl Fongheiser
More information about the mythtv-users
mailing list