Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Determing which dvb-card is busy with recording



Stefan Lang wrote:
> 
> Hello List,
> 
> is it possible to determine which dvb-card is recording a video?
> Or is it possible to check the status of a timer?
> 
> I want to switch a red LED to "on", when the system is running "headless" and
> records something. I want to check this "externely" (without
> touching the vdr source) with a script and turn the LED "on" or "off".
> 
> So I need to know whether there is a recording aktiv or not!
> 
> @Klaus:
> What's with a little and simple "interface" for scripts? Writing and deleting
> the statusflags of various things into a file is very helpfull. So everyone
> is able to write his own automatisms with scripts

The cRcuRemote does exactly this. Take a look at rcu.c to see how
the cStatus class provides all the necessary information to implement
this. Then write your own plugin that does what you want.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index