(original thread) MCE Replacement Plugin v1.0.0 (1 Viewer)

Status
Not open for further replies.

Spragleknas

Moderator
  • Team MediaPortal
  • December 21, 2005
    9,471
    1,822
    Located
    Home Country
    Norway Norway
    Does it blast when you press "test"?

    I've noticed that sometimes the plug in says "learned" to quickly (before I've even pressed my remote :D)
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    One issue though: I'm trying to make the volume keys control my receiver. Did that by creating a few blaster commands and assigning these to volume +, volume - and mute instead of the normal actions. However when I try it in MP, the volume controls both the Windows volume and the receiver volume. Any ideas how I can fix this into only controlling the receiver? I removed the replacement driver mappings since I use the default driver, so that shouldn't be the issue.

    The issue is that Volume +, -, Mute are automatic functions of the default driver. To override their behaviour you have to use the replacement driver unfortunately. But if you don't need the default driver then there's no reason not to move to the replacement driver. Good luck.

    Hope you had a nice holiday.

    I did, it was great. Thanks.

    As for the error you're getting ...

    When you installed 0.2.2.0 did you install it over the top of an existing installation to keep your settings? I think maybe a file from the old installation got left behind somehow ...

    You could try uninstalling 0.2.2.0 and deleting any DLL files left in the MediaPortal folder and then reinstalling 0.2.2.0 and trying again. I can't promise you anything but it's definately worth a try.

    The error is being thrown because the plugin is expecting to find a particular function in the MediaPortal code that isn't there in your installation. The function was recently (post 0.2.0.4, but not in 0.2.1.0) deprecated.

    Also, It could be that you're trying to use the 0.2.1.0 version of the plugin DLL. Try copying that over again. If you can't get it to work then I'll send you another version to try or by then I will hopefully have released the next version of the plugin.

    Hope that helps,
     

    reprive

    New Member
    December 19, 2006
    3
    0
    Home Country
    Netherlands Netherlands
    One issue though: I'm trying to make the volume keys control my receiver. Did that by creating a few blaster commands and assigning these to volume +, volume - and mute instead of the normal actions. However when I try it in MP, the volume controls both the Windows volume and the receiver volume. Any ideas how I can fix this into only controlling the receiver? I removed the replacement driver mappings since I use the default driver, so that shouldn't be the issue.

    The issue is that Volume +, -, Mute are automatic functions of the default driver. To override their behaviour you have to use the replacement driver unfortunately. But if you don't need the default driver then there's no reason not to move to the replacement driver. Good luck.

    Thanks for your quick response. The reaspon why I'm a bit hesitant to use the replacement driver that is that I'm using a remote keyboard as well and I think I saw some stories that the replacement driver does not support the keyboard (I could be wrong though). Also I'm quite regularly using my remote for navigating other apps than MP and would like to continue doing that.

    What I did notice though is that the default MP MCE remote driver seems to have managed remapping the default behaviour, since in MP the volume buttons control the wave volume, and outside MP they control the master volume. Or is that default Windows behaviour?
     

    gelu

    Portal Member
    November 5, 2006
    6
    0
    Home Country
    New Zealand New Zealand
    Forgot to ask, what error message is coming up when you try to configure the plugin with 0.2.2.0?

    I've just grabbed the SVN release from the zip file and tried it with my 0.2.2.0 and it works fine ...

    Hi,

    I have installed 0.2.2.0 and this is the error message: "An error occured while loading the plugin MediaPortal.Plugins.MCEReplacement.It's incompatible with the curent MediaPortal version and won't be loaded"

    Using this plugin is the only way I've made my topbox to change channels.

    Is there a new version for the new MP release?

    10x
     

    pfunk1914

    Portal Member
    March 14, 2006
    18
    0
    Hi,
    I just started using the plugin and it totally rocks! I have reprogrammed so many buttons. I am, however having the problem that everytime I push a button it is as if it is being pressed twice. I doubled checked to make sure the regular mce remote control box was not checked and I don't have HIP running or anything like that, so I am really puzzled by this. I tried messing with the ir sensitivity settings, but that didn't do anything. Is there something I am missing or forgot to do?
    Thanks!
     

    tesamu

    Portal Pro
    December 4, 2006
    61
    0
    Rogaland
    Home Country
    Norway Norway
    Hello,

    I'm really happy about MP, but also like Vista. However I can't get neither Myblaster nor MCE Replacement Plugin to work in Vista with MCE IR Blaster. When I run Blaster.exe, the buttons Learn and Test are greyed out. In Replacement plugin, when i 'learn', it immediately fails. Both works fine with XP. It seems that the plugin can't use the device or don't find it.

    I've tried all versions of MyBlaster and run them with Windows XP SP2 compatibility mode and as Administrator. If this is a known compatibility-problem, please tell me so I can sleep at night.

    Thanks.

    tes
     

    Marcusb

    Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,994
    29
    Melbourne
    Hi,
    I just started using the plugin and it totally rocks! I have reprogrammed so many buttons. I am, however having the problem that everytime I push a button it is as if it is being pressed twice. I doubled checked to make sure the regular mce remote control box was not checked and I don't have HIP running or anything like that, so I am really puzzled by this. I tried messing with the ir sensitivity settings, but that didn't do anything. Is there something I am missing or forgot to do?
    Thanks!


    Are all buttons registering twice or only certain ones, like the arrows?
    Do you have the replacement driver installed or just the regular MCE one?

    If the answer to both those was YES to the second option then you need to remove the default MCE mappings. Can't remember the exact wording but it's in the plugin config.

    The MCE hardcodes the arrow buttons and certain others. Since the replacement driver doesn't do this the plugin has to add the arrow keys. If you are using the standard MS MCE driver then the arrows are being added by it and the plugin at the same time.
     

    gommer

    Portal Member
    October 7, 2006
    39
    1
    Belgium
    Home Country
    Belgium Belgium
    Does anyone know how cmdkeycode is interpreted (second box next to 'key:' in config dialog)?
    I'm trying to send CTRL + ALT modifiers for a keyboard command.


    Thanks in advance, Marc
     

    Marcusb

    Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,994
    29
    Melbourne
    I tried to find the info I read in a post just the other day, but wasn't abler to.

    Basically, you just need to add the ASCII codes. take the ASCII code for the actual Keyboard Key, but add to it the ASCII code for <CTRL> (from memory something like 1000). The code for <ALT> is also something along those lines.

    Hope this helps.
     

    gommer

    Portal Member
    October 7, 2006
    39
    1
    Belgium
    Home Country
    Belgium Belgium
    First of all: Happy New Year to all MP developers and users.

    Basically, you just need to add the ASCII codes. take the ASCII code for the actual Keyboard Key, but add to it the ASCII code for <CTRL> (from memory something like 1000). The code for <ALT> is also something along those lines.
    I've got difficulties to grasp this. AFAIK, <CTRL> or <ALT> keys do not have ASCII codes. I googled for it and it didn't bring anything up.
    Maybe you meant scancode? But then again, that would be keyboard layout specific.
    Anyway, your answer is much appreciated. But it would be perfect if you could enlighten me some more, if possible.

    Thanks, Marc
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom