WinLIRC Plugin (outdated) (2 Viewers)

jadz

Portal Pro
August 30, 2004
150
0
Canada
jadz said:
Yes, I have seen this one before, and it is because the context menu is lacking the proper actions (ie move up, move down, select, esc).

The plugin is sending the actions, but the menu just isn't responding to them.... :(


I had said I would try to look into the actions on the menu page but ran out of time in the past few days. Hopefully a dev could throw those actions into the menu screen.


This is an example of the winlircmap.xml file that should exist in your <Media Portal Install Directory>/plugins/process folder

Code:
<?xml version="1.0" encoding="utf-8"?>
<winlircsettings>
  <section name="ServerSettings">
    <entry name="IP">127.0.0.1</entry>
    <entry name="Port">8765</entry>
  </section>
  <section name="PluginSettings">
    <entry name="StartWinLIRC">no</entry>
    <entry name="StartWinLIRCWinLIRCPath">C:\Program Files\WinLIRC\winlirc.exe</entry>
    <entry name="delay">0.20</entry>
    <entry name="delayUse">yes</entry>
    <entry name="delayIgnore">yes</entry>
    <entry name="IgnoreAllRepeat">no</entry>
    <entry name="runTimeLog">yes</entry>
  </section>
  <section name="SONYVCR1 Left">
    <entry name="*">1</entry>
  </section>
  <section name="SONYVCR1 Right">
    <entry name="*">2</entry>
  </section>
  <section name="SONYVCR1 Up">
    <entry name="*">3</entry>
  </section>
  <section name="SONYVCR1 Down">
    <entry name="*">4</entry>
  </section>
  <section name="SONYVCR1 Enter">
    <entry name="*">7</entry>
  </section>
  <section name="SONYVCR1 ZERO">
    <entry name="*">10</entry>
  </section>
</winlircsettings>



If logging is enabled in the plugin this is the type of logging you will get in the winlirc.log file located in <Media Portal Install Directory>/plugins/process

Code:
4/13/2005 7:17:38 PM - Loaded  6 button mappings
4/13/2005 7:17:39 PM - Connected to WinLIRC, waiting for dat
4/13/2005 7:17:49 PM - Received [00000000fee9b748 00 Left SONYVCR1 ], sending = True()
4/13/2005 7:17:50 PM - Received [00000000fee9b748 01 Left SONYVCR1 ], sending = True()
4/13/2005 7:17:52 PM - Received [00000000fee9f708 00 Down SONYVCR1 ], sending = True()
4/13/2005 7:17:52 PM - Received [00000000fee9f708 01 Down SONYVCR1 ], sending = True()
4/13/2005 7:17:54 PM - Received [00000000fee9f708 02 Down SONYVCR1 ], sending = True()
4/13/2005 7:17:56 PM - Received [00000000fee9f708 03 Down SONYVCR1 ], sending = True()
4/13/2005 7:17:57 PM - Received [00000000fee90ff0 00 Enter SONYVCR1 ], sending = True()
4/13/2005 7:18:08 PM - Received [00000000fee9ff00 00 ZERO SONYVCR1 ], sending = True()


This is what the window should look like when you have remote mappings. Note that actions you have mapped already show up in green and those that do not show up in red.

winlirc.png
 
A

Anonymous

Guest
Thats exactly how my window looks, but after I close it, the changes aren't saved, because when I open it again, they are all red again.

I do have that file, and it's contents are:

<?xml version="1.0" encoding="utf-8" ?>
- <profile>
- <section name="ServerSettings">
<entry name="IP">127.0.0.1</entry>
<entry name="Port">8765</entry>
</section>
- <section name="PluginSettings">
<entry name="StartWinLIRC">yes</entry>
<entry name="StartWinLIRCWinLIRCPath">C:\Program Files\winLIRC\winlirc.exe</entry>
<entry name="delay">0.20</entry>
<entry name="delayUse">no</entry>
<entry name="delayIgnore">yes</entry>
<entry name="IgnoreAllRepeat">no</entry>
<entry name="runTimeLog">no</entry>
</section>
- <section name="logitech_z5500 vol+">
<entry name="*">3</entry>
</section>
- <section name="logitech_z5500 vol-">
<entry name="*">4</entry>
</section>
- <section name="logitech_z5500 mute">
<entry name="*">7</entry>
</section>
</profile>

It all looks fine, but it just doesn't work in MediaPortal
 
A

Anonymous

Guest
Sorry, here it is with the code tag, much easier to read.

Code:
  <?xml version="1.0" encoding="utf-8" ?> 
- <profile>
- <section name="ServerSettings">
  <entry name="IP">127.0.0.1</entry> 
  <entry name="Port">8765</entry> 
  </section>
- <section name="PluginSettings">
  <entry name="StartWinLIRC">yes</entry> 
  <entry name="StartWinLIRCWinLIRCPath">C:\Program Files\winLIRC\winlirc.exe</entry> 
  <entry name="delay">0.20</entry> 
  <entry name="delayUse">no</entry> 
  <entry name="delayIgnore">yes</entry> 
  <entry name="IgnoreAllRepeat">no</entry> 
  <entry name="runTimeLog">no</entry> 
  </section>
- <section name="logitech_z5500 vol+">
  <entry name="*">3</entry> 
  </section>
- <section name="logitech_z5500 vol-">
  <entry name="*">4</entry> 
  </section>
- <section name="logitech_z5500 mute">
  <entry name="*">7</entry> 
  </section>
  </profile>
 

jadz

Portal Pro
August 30, 2004
150
0
Canada
AHHA!


You have to save the settings on the first page prior to learning remote commands. Then everything works fine. This is a bug, but it explaines why it was working for me and some others, while not working for a few.

So... delete your winlircmap.xml file, open up the config tool, hit save on the first tab, then learn your remote commands and everything works nicely.

That was driving me crazy.
 

matis1

MP Donator
  • Premium Supporter
  • January 13, 2005
    139
    1
    Austria /Europe
    Home Country
    Austria Austria
    will your plugin work with my USBUIRT to control external devices as my satbox???
    im using my mouse to control MP - so im in need for something like that...
     
    A

    Anonymous

    Guest
    one glitch

    one glitch I just noticed.

    when I use windows media player as audio renderer, and it is open, the remote doesn't work. With directshow as renderer, the remote does something, but it doesn't work right still.

    I'm going back to the new version as well, maybe that will help.
     
    A

    Anonymous

    Guest
    Hi, all

    Maybe I'm too blind to see it, but looks like winlirc rev. 3 plugin file has been deleted from patches/trackers on SF.

    Maybe someone can upload it back ?

    Thx
     

    Users who are viewing this thread

    Top Bottom