Mailing List archive

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

[vdr] Re: VDR feature request - Keyboard led indicators.



From: "Jan Ekholm" <chakie@infa.abo.fi>

> >> I soldered up a little "circuit" with two leds connected to the
parallel
> >> port. They indicate "VDR on" and "recording in progress", just like you
> >> want. To actually control the "recording led" I made a minimal little
> >> plugin that get status info from VDR about started/stopped recordings
and
> >> which then turns the led on/off as appropriate. Works extremely well.
As
> >> for using the keyboard leds, well, it should just be a matter of
changing
> >> one system() call to instead call your "setled" or similar program.
> >
> >Yes, I think that this solves my problem concerning recording LED, but
what
> >about replay LED?. I believe you are rreferring to vdr-led-0.2.tar.gz.
>
> Maybe, I'm not sure what plugin you actually mean with vdr-led-0.2.tar.gz.
> Anyway, the same info that VDR gives plugins about recordings, it also
> gives about replays. I added a method to my plugin to handle replays too,
> so I might one day add a third led.
>
> >Is there similar way like Recording(const cDevice *Device, const char
*Name)
> >to determine, weather the replay mode is on or is a replay just Record
and a
> >Pause in a sequence, then i would need to determine, weather recording is
> >active and if it is, is a replay mode active aswell on same recording and
> >perhaps the replay may be on different card the recorrding... make any
> >sense? This might be difficult :(.
>
> I think you can check the "name" that is given to Recording() and
> Replaying(). If they match you're timeshifting.

I was referring to a plugin on page
http://www.infa.abo.fi/~chakie/projects/vdr/ this does turn on led on power
and flashes it when recording, whight that we are not talking about same
plugin after all ;).

Would you like to share your pluging, as you already made one, which seem to
fit my needs. I am no programmer, so I cannot made one for my self :(. I
think I can change one or two system() calls however.

Br. Marko



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



Home | Main Index | Thread Index