Scrape from remote control
#1
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..
Reply
#2
No, but you could map a key to do this. See http://wiki.xbmc.org/index.php?title=Mod...yboard.xml for a quick guide on key mappings. You want something like:

<s mod="ctrl,shift">UpdateLibrary(video)</s>

This example maps the library update to ctrl-shift-S.

JR
Reply
#3
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>
Reply
#4
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?
Reply
#5
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
Reply
#6
thats my fault for copy and pasting.. should have checked..

Work perfectly now.. thanks for you quick responces.
Reply

Logout Mark Read Team Forum Stats Members Help
Scrape from remote control0