Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config not honoured/retained - overloaded by defaults #3

Open
kieppie opened this issue Jan 12, 2014 · 0 comments
Open

Config not honoured/retained - overloaded by defaults #3

kieppie opened this issue Jan 12, 2014 · 0 comments

Comments

@kieppie
Copy link

kieppie commented Jan 12, 2014

I'm running this plugin on OpenELEC, Raspberry Pi, controlled from TV via CEC.

This plugin is a great addition & something that has been sorely lacking - thanks for the contrib.

I've loaded the plugin to remap the default (otherwise pointless) teletext keys on the remote to take me to Movie Titles (red), TV Titles (green), Favourites (yellow) & Home (blue).

The config seems to be generated OK & creates the file:
~/.xbmc/userdata/keymaps/gen.xml
with the contents (as-is, no cr/lf):

<keymap><home><keyboard><key id="253">activatewindow(favourites)</key><key id="251">activatewindow(videos,movietitles)</key><key id="252">activatewindow(videos,tvshowtitles )</key><key id="254">activatewindow(home)</key></keyboard></home></keymap>

It seems to work OK for the 1st of the buttons pressed, but then defaults back to the default config after.

--- update ---

I've found the following post (#79):
http://www.raspberrypi.org/forum/viewtopic.php?t=52047&f=35

I've created a symlink of: ln -sv gen.xml remote.xml
& changed the config to reflect the following:

<keymap>
<!--
  <home>
    <keyboard>
      <key id="251">activatewindow(videos,movietitles)</key>
      <key id="252">activatewindow(videos,tvshowtitles)</key>
      <key id="253">activatewindow(favourites)</key>
      <key id="254">activatewindow(home)</key>
    </keyboard>
  </home>
-->
  <global>
    <remote>
      <red>activatewindow(videos,movietitles)</red>
      <green>activatewindow(videos,tvshowtitles)</green>
      <yellow>activatewindow(favourites)</yellow>
      <blue>activatewindow(home)</blue>
    </remote>
  </global>
</keymap>

After reboot it seems to function OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant