(original thread) MCE Replacement Plugin v1.0.0 (9 Viewers)

Status
Not open for further replies.

and-81

Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    I would like to shutdown the PC in place of suspend, using a different mapping (PowerPC>Shutdown windows) and MP open a TAB with the different options (shutdwown, boot, suspend, hibernate) when I use the PC button on the remote.

    I don't know how you could make a menu popup to select the shutdown / standby method you want. But I'll look into it. I'll let you know if I find anything. In the meantime, all you can do is remap your MCE Remote buttons under "Map MCE Buttons".

    I'll let you know if I figure anything out.

    Cheers,
     

    geov

    MP Donator
  • Premium Supporter
  • November 1, 2006
    754
    39
    Cape Town
    Home Country
    South Africa South Africa
    I would like to shutdown the PC in place of suspend, using a different mapping (PowerPC>Shutdown windows) and MP open a TAB with the different options (shutdwown, boot, suspend, hibernate) when I use the PC button on the remote.

    I don't know how you could make a menu popup to select the shutdown / standby method you want. But I'll look into it. I'll let you know if I find anything. In the meantime, all you can do is remap your MCE Remote buttons under "Map MCE Buttons".

    I'll let you know if I figure anything out.

    Cheers,


    Hi Guys, I got this to work two days ago...I'm @ work so I will have to try and remember without seeing the screens..

    1) Configure the MCE replacement plugin.
    2) Select MAP MCE buttons....something like that??
    3) In the tree list of all the buttons, select the one you want to change..
    4) Select 'Action/Function' radio-button...something like that??
    5) In the drop-down list select the "shutdown windows" option....something like that?
    6) Save and start MP.

    When you now hit your configured button MP will show you all the options.

    GeoV
     

    ular_king

    Portal Member
    October 19, 2006
    12
    0
    Home Country
    Malaysia Malaysia
    Hi Guys,

    I have configured the replacment driver to work with my MediaPortal. All works well except the external channel changing. I am getting inconsistent results whenever i change channel. I am using a Nokia decoder. For example when i change to 13, it goes to 113 and at random results. Try playing around with "Wait between digits", "Ch. Digits" and "Repeat Delay" but still the same results.

    Thank you in advance.
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    I have configured the replacment driver to work with my MediaPortal. All works well except the external channel changing. I am getting inconsistent results whenever i change channel. I am using a Nokia decoder. For example when i change to 13, it goes to 113 and at random results. Try playing around with "Wait between digits", "Ch. Digits" and "Repeat Delay" but still the same results.

    Are you using one of the quick setup options or have you taught the plugin your remote button codes? If you got the plugin to learn them from your remote then you might want to try re-teaching the buttons that give you problems, that might fix it. The other option is to give me the model name/number of your set top box and I'll try to include it as a quick setup option in the next release (which will be very soon, I promise).

    Also, Just for anyone who's interested I thought I'd also take this opportunity to talk about what I'm working on, and why I haven't done 800 updates to the plugin in the last four days (like usual):

    I've been working on porting Bruno Fleurette's MceIrApi over to C#, so far I'm getting mixed results. I've got it listening for the original driver button presses and able to learn and blast codes, and also blast Pronto learned codes. But the replacement driver is giving me a lot of trouble, strangely. I will probably just go back to working with the MceIrApi Bruno wrote. It looks like more work than it's worth. Seriously, the advantages I was hoping to gain don't look like they are there anymore.

    The reason I'm dissatisfied with the MceIrApi as it stands is that it doesn't allow two processes to access it simultaneously. The problem is that you can't actually access the driver from two seperate instances of the dll. At least that's my experience. This becomes a big problem when you use the TV server plugin I've written and this plugin on the same machine. The solution would be to share memory space between instances of the dll so that it could coordinate multiple processes accessing the driver. Or to create a service that controls access to the api for multiple proccesses. The later would mean I wouldn't need to make any changes to the MceIrApi, which is probably a good thing.

    I'm also just getting my head around .net remoting which might let me make my plugins use the MCE transceiver through a common service, but might also let you use one MCE transceiver to control the channel changes on the server PC and control the MediaPortal client on another pc... I'm digging a hole for myself here aren't I?

    Anyway, just an update on what I'm working on, so you don't think I've slacked off on these plugins ... These are the things I'm considering. If anyone has any ideas, let me know, because I'm certainly no expert here.

    Also, I never heard whether anyone is using the SVN 1.0.1 test version of this plugin to change external channels successfuly, although I guess that's probably because the only people using SVN these days are using the new TV engine ... Never mind. I'll release a new version soon anyway. I'll also release a proper version of the TV Server plugin onto the download section soon.

    Cheers,
     

    eloo

    Portal Pro
    January 20, 2005
    216
    7
    44
    Aarhus, Denmark
    Using MCE blasters to control my Altec Lansing MX5021

    Hi Aaron,

    Your plugin is exactly what I have been looking for, I have installed the plugin (latest) with the standard driver and have these observations:

    1) When pressing "Learn IR" nothing happends, once I click again it enters learning mode. Just a small bug :)
    2) I am having trouble getting a stable blasting, I have to press test 10 times to get my Altec Lansing set to power on. I have tried learning both with short presses and long presses, and changing the different values in the receiver config - but no luck.
    Do you have any pointers?


    Thanks for your hard work with this plugin.
     

    ernie

    Portal Member
    April 26, 2006
    32
    1
    I don't know how you could make a menu popup to select the shutdown / standby method you want. But I'll look into it. I'll let you know if I find anything. In the meantime, all you can do is remap your MCE Remote buttons under "Map MCE Buttons".

    I'll let you know if I figure anything out.

    Cheers,


    Hi Guys, I got this to work two days ago...I'm @ work so I will have to try and remember without seeing the screens..

    1) Configure the MCE replacement plugin.
    2) Select MAP MCE buttons....something like that??
    3) In the tree list of all the buttons, select the one you want to change..
    4) Select 'Action/Function' radio-button...something like that??
    5) In the drop-down list select the "shutdown windows" option....something like that?
    6) Save and start MP.

    When you now hit your configured button MP will show you all the options.

    GeoV


    Sorry but I didn't explain really well, the stuff I would like to do!!

    I want to use the MCE replacement plugin, map the TV button to shutdown MP and the PC without going thru the MP pop up with all the options.

    I modified the MCE replacement standard option (action replace Powerdown) and shutdown replace exit MediPortal).

    If I look to the MCE replacement.xml the generate data seems fine, so I go back to the standard MCE driver and I modify the mapping (action>shutdown) , same problem.

    It could be a MP bug (Version 0.2.1.0)? A missunderstanding? who knows?

    ant-81, geov thanks for your help
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    The plugin maps those commands exactly the same way MediaPortal itself would. So if the shutdown command pop's a menu up then that's MediaPortal's doing. Does anyone know if there is a way to bypass the popup menu?

    Cheers,
     

    ular_king

    Portal Member
    October 19, 2006
    12
    0
    Home Country
    Malaysia Malaysia
    thanx for replying and-81 :D

    Yes I used the quick setup function and select Nokia 9800s. I am able to get all the numbers right when blast to STB but at randomly it just blast the wrong number or repeating numbers. I am not sure what is the exact model of the STB as this is a rebranded model from Nokia. :mad:

    I will try the manual re-learning of codes tonite and see if it works or not.

    nokia-silver.jpg
     

    donaldkennedy

    Portal Member
    April 3, 2005
    26
    0
    Swansea
    Home Country
    Wales Wales
    The copy of MCEReplacementTray that is in the Test Version 1.0.1 zip a few posts back should have a new feature I put in the other day to launch mediaportal when MCEReplacementTray is started. If it's not in that copy then it's definately going to be in the next one because I anticipated this problem :)

    Aaron, you're a genius! Tried it last night (having remembered to tell MP not to load on startup in the MP part of configuration), and it worked a dream.

    Only problem is that my TV's now started ignoring the commands I'm blasting to it, but I don't think that's in any way related. I've not got time to investigate it at the moment (and to be honest, I'm not overly bothered).

    Once again, many thanks, Aaron, you've excelled again!

    Cheers

    Donald
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom