Skip Menu |

This queue is for tickets about the Lirc-Client CPAN distribution.

Report information
The Basics
Id: 32464
Status: resolved
Priority: 0/
Queue: Lirc-Client

People
Owner: mgrimes [...] cpan.org
Requestors: jiri.tyr [...] e-learning.vslib.cz
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.29
Fixed in: (no value)



Subject: Mode support...
Lirc::Client doesn't support mode option in lircrc file. Something like: begin prog = irexec button = Button config = program & repeat = 0 mode = mode_label end begin mode_label begin prog = program button = Button1 config = ACTION1 repeat = 0 end begin prog = program button = Button1 config = ACTION2 repeat = 0 end end mode_label Do you plan to add this functionality?
Subject: Re: [rt.cpan.org #32464] Mode support...
Date: Tue, 22 Jan 2008 17:33:43 -0800
To: bug-Lirc-Client [...] rt.cpan.org
From: "Mark Grimes" <mvgrimes [...] gmail.com>
On Jan 20, 2008 3:43 PM, Tyr via RT <bug-Lirc-Client@rt.cpan.org> wrote: Show quoted text
> Lirc::Client doesn't support mode option in lircrc file. Something like:
[ snip... ] Show quoted text
> Do you plan to add this functionality?
I haven't had the need for it myself, but I'll look into how difficult it would be to add and let you know. I would also welcome a patch if you are interest in adding the functionality yourself. Anything interesting you are using the module for? -Mark
Subject: Re: [rt.cpan.org #32464] Mode support...
Date: Wed, 23 Jan 2008 10:28:07 +0100
To: bug-Lirc-Client [...] rt.cpan.org
From: Jiri Tyr <jiri.tyr [...] e-learning.tul.cz>
Mark Grimes via RT wrote: Show quoted text
> I haven't had the need for it myself, but I'll look into how difficult > it would be > to add and let you know. I would also welcome a patch if you are > interest in adding the functionality yourself. > > Anything interesting you are using the module for?
I use it like a container for executing an other application over remote controller. For example I use TV tuner PVR350 and I don't like mythTV, so I use mplayer instead. But when I want to change channel or if I want to switch tunner input to Composit, I have to execute special command. So I wrote a small program which reads the Lirc inputs and do everything what's necessary for the channel switching. Next to the mode problem, there is also an other thing what's not comfortable on your module. It's the necessity of specification which remote controller is used. Normally I don't have to specify which remote controller I use (I use only one). So it would be nice if you would modify your module to don't demand the option "remote = something" in the lircrc configuration file. Best regards, Jiri
Jiri, I have just uploaded v1.50, which implements mode support, allows a default remote (*), and implements a few additional features. I appears that the lirc folks have added a number of features since I originally wrote Lirc::Client. I haven't added all of them, but I think the most used features are now in Lirc::Client. You can see what has and has not been implemented in the TODO section of the pod. Please let me know if this works for you or if you have additional problems. -Mark
From: jiri.tyr [...] e-learning.vslib.cz
On Fri Feb 01 11:32:17 2008, MGRIMES wrote: Show quoted text
> Jiri, > > I have just uploaded v1.50, which implements mode support, allows a > default remote (*), and implements a few additional features. > > I appears that the lirc folks have added a number of features since I > originally wrote Lirc::Client. I haven't added all of them, but I think > the most used features are now in Lirc::Client. You can see what has and > has not been implemented in the TODO section of the pod. > > Please let me know if this works for you or if you have additional
problems. Show quoted text
> > -Mark
Dear Mark, thank you for your quick work on Lirc::Client. I just modified my lircrc and programs what I use with your module and everything seams working well (mode, default remote controler). To be honest, I do not use all the features what lircrc file provides so I can not say if something else is not working. If I found something wrong I will let you know. Thank you again for your great job. Best Regars, Jiri