Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Status of actually recording dvbs-cards
apieper@gmx.net wrote:
>
> hi,
>
> is there a easy way to find out wich
> dvbs-card(s) are actually in use for
> recording ?
>
> Of course, i could try to analyse
> /var/log/messages (start timer/stop timer),
> but i think it is very complicated
> to write a script for this.
>From within VDR you can do
for (int i = 0; i < MAXDVBAPI; i++) {
cDvbApi *d = cDvbApi::GetDvbApi(i + 1, MAXPRIORITY))
if (d && d->Recording()) {
// do whatever you want to do
}
}
See cEITScanner::Process() in dvbapi.c, where something similar
is done.
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 linux-dvb" as subject.
Home |
Main Index |
Thread Index