![]() |
Re: [Announce] Pierogi - a universal infrared remote control app
Quote:
Quote:
This is time consuming work, and I don't really expect people to just sit in front of their device and hit every single button in Pierogi. :) But I'd love to hear about it if and when a keyset does not perform as expected... |
Re: [Announce] Pierogi - a universal infrared remote control app
Quote:
Quote:
But there are problems with using the LIRC system. LIRC was created for the purpose of allowing a PC to read data from any random remote control pointed at it. Receiving IR is its bread and butter, transmitting IR back out again is just a side-project. The LIRC config files are very poorly designed, if what you want is to create a universal remote control, not a universal IR receiver -- they don't provide much (if any) information about the original target device of the remote, they have no coordinated method for naming individual commands (most LIRC users don't even care what their remote buttons are labelled as, since they end up remapping them for their own purposes anyway), and they mostly just describe the raw IR pulse sequence, which is inefficient as many protocols use redundancy and checksums to improve reliability. So, as time has passed, Pierogi's internal system for managing keyset data has moved further and further away from the LIRC format; so much so that I no longer have an easy way for people to just import LIRC files. There's no reason I couldn't come up with an alternative standard. Indeed, the file formats that the JP1 folks are using are much closer to what Pierogi would need (which only makes sense, as they are more interested in the transmission side of the equation than in the reception side). But yeah, this is all going to take more time to implement. :) Quote:
Quote:
|
Re: [Announce] Pierogi - a universal infrared remote control app
Quote:
Quote:
Thanks for the great work |
Re: [Announce] Pierogi - a universal infrared remote control app
Quote:
Code:
// The "Sony TV Keyset 1" constructor! If you wanted to code this up yourself from an LIRC file, there are two problems -- one, LIRC doesn't know anything about Pierogi buttons, so you'd have to do that mapping yourself (not so hard), and two, LIRC doesn't know anything about Sony codes, so you'd have to convert their pulse counts into Sony format yourself (which might be harder for folks to do, if they're not handy with thinking in hexadecimal.) Originally, I was using the LIRC pulse counts directly, but it is just far easier (and more efficient) to calculate the pulses using the manufacturer's protocol instead. But yeah, I do agree that there needs to be a better way to do this, other than just writing it all down directly in the code. :) Quote:
|
Re: [Announce] Pierogi - a universal infrared remote control app
Hey, another keyset update working its way into extras_devel. This time, we have new keysets for Huawei, Onida, Vestel, Virgin Media, and Vizio. Also added a Sharp air conditioner keyset.
On that Pioneer Amp: I've got a file that purports to be the keys associated with the VSXD510, but they come out being the keys already associated with Pioneer Audio Keyset 3. I don't know why that keyset isn't working. It may be that my protocol code is just messed up somewhere. I'll have to keep digging on that one... |
Re: [Announce] Pierogi - a universal infrared remote control app
thank you, I am very pleased with the application
|
Re: [Announce] Pierogi - a universal infrared remote control app
I think initializing every keyset as an object (that initializes several more in itself) might be the source of the memory hogging. If you place the keysets in separate files and let the app collect the filename list on startup, initializing only one generic keyset object and replacing it's routines and commands each time you choose another one, you are going to get rid of the memory problem and migrate to a config file architecture. Heck, if you load all the files in the memory as a binary data and initialize only one at a time, you are going to save more memory :)
About pairing, I have no idea what that is... It is an old CRT TV that I doubt is smarter than - receive IR commands, execute them... |
Re: [Announce] Pierogi - a universal infrared remote control app
Quote:
Quote:
Quote:
In any case, yes, that should ease the memory problems significantly. :) Quote:
|
Re: [Announce] Pierogi - a universal infrared remote control app
Why not use QSettings?
|
Re: [Announce] Pierogi - a universal infrared remote control app
Great and well thought-through application :) Thanks for creating this!
|
All times are GMT. The time now is 10:01. |
vBulletin® Version 3.8.8