![]() |
|
[WINDOWS] HOW-TO use MCE remote in XBMC under Windows the easy way - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111) +---- Forum: Windows support (/forumdisplay.php?fid=59) +---- Thread: [WINDOWS] HOW-TO use MCE remote in XBMC under Windows the easy way (/showthread.php?tid=78179) Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
- elitegamer360 - 2011-06-01 01:35 stolek5 Wrote:Hi, This is very easy to do and not too complicated, I use it myself instead of using "on/off" subtitles trigger button. Make sure XBMC is not running when you do this! Now what you need to do is open %AppData%\XBMC\userdata\keymaps which the same as C:\Users\Moni\AppData\Roaming\XBMC\userdata\keymaps hence the first can be plugged in the windows run command program and it will open the right folder for you. then if you are using my custom keyboard.xml then open it to edit it and then search for Code: <t>ShowSubtitles</t>Code: <Keymap>Code: <key id='61695'>XBMC.RunScript("C:\Users\Moni\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py")</key>Well if you do not have a keyboard.xml in your "userdata\keymaps" folder then create a new one or use your own custom one if it exist. you will need to copy and paste the script below in it. Code: <keymap>NOTE: if nothing in your keyboard.xml then leave the script as is but if there are something in it then copy the script without the <keymap> and </keymap> parts because you should already have one in the begining and one at the end respectively. Now run XBMC and it should work, Note it will only work under "Fullscreen video" as noted above, if you want to run it not just in the "FullscreenVideo" then put the script in the "Global" section instead. Also note that you can use it now with any skin even with the ones that does not have the subtitle script shortcut in the Video OSD menu. Hope this helps. Cheers, EG. - stolek5 - 2011-06-01 08:13 thank you so much, I will try today evening and let you know about my results ![]() thanks again !! - floepie - 2011-06-01 12:10 I thought I would add something that you may or may not know about. I use a harmony remote to control all devices within a programmed "activity". When switching to a different "activity", all the unused devices from the previous "activity" are switched off. However, if the PC doesn't receive the 'power toggle' command from the remote properly, the PC can turn ON when it was intended to be turned OFF and vice versa. The PC is my only device without dedicated POWER ON and POWER OFF commands. In order to fix this, I simply changed the MCE remotes 'red' button to the power toggle command in the registry. Now, you might think that I have two separate Power Toggle switches, but what I wind up with is one normal Power Toggle and one Power OFF (red button), because when the PC sits in standby, it responds ONLY to the Power Toggle button and not to the 'red' button. So, in the Harmony software, I set the new Power On command to the normal Power Toggle button and the Power Off command to the 'red' button. Now, I have a dedicated Power ON and Power OFF buttons, just as all the other devices now have. - elitegamer360 - 2011-06-01 12:51 stolek5 Wrote:thank you so much, No worries, this should work fine for you :-) Cheers, EG. - stolek5 - 2011-06-01 18:50 elitegamer360 Wrote:No worries, this should work fine for you :-) unfortunately doesn't work nothing happened after press that button, also I can't find any thing related in debug log ![]() this is my keyboard.xml also I've tried with new keyboard.xml with only: Code: <keymap>but still the same ![]() do you know what could be wrong ? pls help... - elitegamer360 - 2011-06-01 19:27 I can't see what is going wrong without looking at your debug log. Please enable debug log then go to XBMC home screen press the button several times then open a video and also press the button again several times then quit XBMC. Please post the the link to the debug log here, after you upload the debug log details on pastebin.com Can you please confirm your subtitles script location, double check it against the script that I gave you. Can you also let me know what XBMC version are you running. Edit: what does this button do in the past did it do anything at all in xbmc? How did you configure your remote? Does your remote use the "ehome" driver? Cheers, EG. - stolek5 - 2011-06-01 22:29 elitegamer360 Wrote:I can't see what is going wrong without looking at your debug log. Please enable debug log then go to XBMC home screen press the button several times then open a video and also press the button again several times then quit XBMC. I've tried with next button "dvd" which previous work by default as "backspace" in fullscreen video: ![]() Code: <backspace>XBMC.RunScript("C:\Users\Moni\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py")</backspace>and now working perfectly ![]() I use XBMC 10.1 Git:e9e9099 (Complide: Mar 8 2011) And that button previously does nothing in all XBMC ![]() I'm not sure how I configure my remote, that was more than half year ago, but from what I remember I use this reg: Config.v1.24.reg or Config.v1.23.reg but really I'm not sure, sorry... xbmc.log I noticed a strange thing, because in ShowKey.exe both buttons and "DVD" have the same KeyID ![]() btw thanks for help again P.S. sorry for my english - elitegamer360 - 2011-06-01 22:36 stolek5 Wrote:I've tried with next button "dvd" which previous work by default as "backspace" in fullscreen video: Ok great to hear its working now. I just wanted to see the debug log because I suspected that this button does actualy send back. Great that you figured it yourself. Cheers, EG. - stolek5 - 2011-06-01 22:39 elitegamer360 Wrote:Ok great to hear its working now. I just wanted to see the debug log because I suspected that this button does actualy send back. Great that you figured it yourself. debug log (with button in action) attached in previous post
- rugbymad - 2011-06-03 13:22 elitegamer360 Wrote:Thats better thank you :-) Hi eg, sorry to bother you but i need your help pse... first of you were right i changed my power button back to your settingss they are much better.. i am setting up a profile for my son as i'm fed up of his stuff in my library as per this http://forum.xbmc.org/showthread.php?tid=61779. it says you can setup a button to switch between profiles, could you pse post the code to set up the geen button to switch between profiles. thx it uses the b button as a keybord press if that helps |