Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: VDR feature request - Keyboard led indicators.
On Tue, 24 Jun 2003, Marko Myllymäki wrote:
>From: "Jan Ekholm" <chakie@infa.abo.fi>
>
>
>> On Tue, 24 Jun 2003, [iso-8859-1] Marko Myllymäki wrote:
>> >I have nearly completed my VDR STB, but would like to have LED indicator
>> >when ever I have a recording active.
>> >
>> >I can use the setleds, which came with my RH 7.3 distribution, but it
>seems
>> >it does not have toggle capabilities, maybe some script would do, but if
>I
>> >have simultanious rercording of multiple programs, those leds, just wont
>> >work as they should.
>>
>> 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.
--
In the Beginning there was nothing, which exploded.
-- Terry Pratchett, Lords and Ladies
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index