[mythtv] SQL to determine if a specific encoder is recording

Bill Meek keemllib at gmail.com
Fri May 11 03:24:30 UTC 2012


On 05/10/2012 07:41 PM, A McDermott wrote:
...
> Essentially, I need to determine which input is a HDPVR and determine
> if there is a current recording on the encoder, and when the next
> recording is scheduled...

Hi;

Are the chanids unique for the HDPVR (e.g 1000-1999?)

If so, here's a pared down version of my upcoming script
http://pastebin.ca/2147139 that will print:

   HDPVR (cardid 7) started recording The Daily Show With Jon Stewart at 2012-05-10 22:00:00

   Blue Bloods starts recording in: 22:50:08.884448

  or: HDPVR is idle

-- 
Bill


More information about the mythtv-dev mailing list