IRTrans (IR Trans) transforms your PC into a programmable remote control. It learns the codes of your remote control, stores them in a database and sends them controlled by your applications. You can control your PC with almost any remote control.
MediaPortal supports commands from remote controls via the IRTRans Server. IRTrans modules are found in cases produced by DIGN and Zalman.
You can use any remote supported by IRTRans itself. To add support for a special remote, simply create your own Button Mapping.
Open the Remote\IRTrans Tab to start configuration.
- Use IRTrans receiver - Enables or disables IRTrans support
- Extended logging - Writes information to the MediaPortal log file, to assist in debugging. This is especially useful, when testing new key mappings.
- Mapping - Opens the ?Input Mapping Editor. Here you can adjust your button mappings to fit your own needs and reset to default mappings if necessary or after a MediaPortal update.
- Server Settings
- IRTrans Server Port - Enter the Port, where the IRTRans Server is listening for client connections. Usually the default of 21000 is OK.
- Remote Model - The name of the Remote as known to IRTrans. See below for a detailed discussion
- Test - This button tests, if a IRTrans Server is listening on the indicated port. the result is shown in the Status box
- Status -
How do I get support for a new Remote?
Let's first have a look on how IRTrans works.
IRTrans has all remotes that are supported in directory \Program Files\Irtrans\remotes. Look in the *.rem files. What you find after [NAME] is the remote model. For example for the Microsoft MCE Remote it will be:
This is what you need to specify for the Remote Model field in MediaPortal Configuration.
MediaPortal comes with support for Microsoft MCE remotes as a default. If you want to use a different one, use the IRTrans Learn to generate a *.rem file.
Make a copy of file IR Trans mediacenter.xml as found in InputDeviceMappings\defaults of the MediaPortal install directory.
The new file needs to be named EXACTLY like this:
where 'IrTrans' is a fixed constant and 'hauppage' is the name of the remote to be supported, as indicated in the *.rem file of the new remote.
Help!! My remote commands get executed twice!
CAUTION: This is because of a feature of IRTrans in the app.cfg file, found in the \Program Files\Irtrans\remotes directory.
This allows to send remote commands to specific applications.
our problem can be found already on the beginning of this file. Edit the file and remove the following block of lines:
Then restart the IRTrans Server and it'll work as expected. Commands are only executed once.
You might have Microsoft MCE running on the same machine as well, altough i don't understand the reason why. It will happen that when pressing some keys, MCE is started. To prevent that, you need to remove the following lines out of apps.cfg as well:
Again, you need to restart IRTrans server for the changes to become active.General Information
This page has no comments.