Preserve custom key mapings after upgrades (1 Viewer)

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Hi,

    Whenever I upgrade to a newer version of Mediaportal it seems to remove any custom keys added, for instance have to re-add the custom AtmoLight keyboard shortcut even if I assign it to a non-existent shortcut key (screenshot below)
    Think this is because the keymap xml is getting overwritten with a default one on upgrades but not sure, would be great if this could somehow be migrated during upgrades :)

    Mediaportal version: 1.13
    Systems specs: in profile

    customKeys.png
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Tried it out with 1.14 pre-release but got the same issue there, it will be reset to stock keyboard shortcuts :(
    @Sebastiii any ideas on this one?
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)
    Euh nope i didn't touch that part that i know of :(
    I have maybe apply a patch from a dev or user but i don't remember.
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Hi :)
    Euh nope i didn't touch that part that i know of :(
    I have maybe apply a patch from a dev or user but i don't remember.

    In which case key mapping is overwritten on re-install.
    You can get back your previous config from the back up folder I believe.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Checked with latest 1.16 pre-release and get the same results, best bet is that in NSIS installer it always overwrites :)
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,566
    2,938
    Nuenen
    Home Country
    Netherlands Netherlands
    Don't get me wrong, because I do want this feature too, but won't this prevent new shortcuts to be added if new functionality is developed?
    I think the safest (but also the hardest) way is to somehow merge the old and the new settings...
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Agree, even the upcoming HID replacement doesn't allow for merging yet so would be better suited there as well but can get complex with multiple device types / updates as you can't easily do a side by side comparison and merge without user intervention.
    So for now this probably the only short term solution especially since the shortcuts have been static for a while now :)
     

    Users who are viewing this thread

    Top Bottom