Posts: 193
Joined: Dec 2009
Reputation:
0
Is there a keyboard shortcut to scrape?
I wish to add it to my remote so that I do not have to open the menu (also be nice to scrape while i'm watching something)..
I thought there may be a way to add it to advancedsettings.xml but could not see anything in the wiki..
Posts: 193
Joined: Dec 2009
Reputation:
0
Thanks I created a Keyboard.xml and put in the text below but it does not seem to work...
Can I use function keys? I cant seem to log in to my harmony remote so can't map anything else to try..
<keymap>
<global>
<keyboard>
<F7>UpdateLibrary(video)</F7>
</keyboard>
</global>
</keymap>
Posts: 193
Joined: Dec 2009
Reputation:
0
Worked out how to add a button to my remote again so added the button "U"
and set it as the below (Cant add ones with CTRL or ALT)
<keymap>
<global>
<keyboard>
<U>UpdateLibrary(video)<U>
</keyboard>
</global>
</keymap>
Still does not work, any ideas?
Posts: 7,256
Joined: Nov 2008
Reputation:
121
There's a typo:
<U>UpdateLibrary(video)<U>
should be:
<U>UpdateLibrary(video)</U>
I corrected the error and put the keymap in my own XBMC installation, and pressing U updated the library as expected. The way to check is to enable debug logging from System settings, System, Debugging. Then press U. When I do this my log shows:
DEBUG: CApplication::OnKey: u (f055) pressed, action is UpdateLibrary(video)
showing that XBMC correctly mapped the keypress (this is a log from Eden; the log from v10.1 is very similar). To open the log press Windows-R and in the Run dialog type:
"%appdata%\xbmc\xbmc.log"
(including the quotes) and click OK. The log will open in Notepad.
JR
Posts: 193
Joined: Dec 2009
Reputation:
0
thats my fault for copy and pasting.. should have checked..
Work perfectly now.. thanks for you quick responces.