Vu+
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to edit keymap.xml

Discussion in 'Vu+ Solo2 Black Hole Images' started by taree, Mar 14, 2017.

  1. taree

    taree Vu+ Newbie

    Messages:
    27
    as there is no mqb or hotkey botton in latest blackhole to assign remote buttons
    then how can i edit my keymap.xml.
    or anybody can edit it for me as i need only one change.
    KEY_CHANNELUP" mapto="openServiceList"
    ="KEY_CHANNELDOWN" mapto="openServiceList
    i want these 2 buttons to use zap up and zap down.
     

    Attached Files:

  2. Alexwilmac

    Alexwilmac Vip

    Messages:
    4,062
    I'm not sure I understood what you want, but if what you'd like to have is P+/P- k_e_ys for zapping instead that for bouquets and channel lists, this is the keymap you need (after unzipping, rename the file as keymap.xml) and put it in
    /usr/share/enigma2

    Before that, I suggest to keep a copy of the original as, for instance, keymap.xml.orig
    or something like that.
    Remember you have to put again your file after major updates, because it will be rewritten.
    After having transferred this modified keymap, remember to restart the GUI.
     

    Attached Files:

    taree likes this.
  3. taree

    taree Vu+ Newbie

    Messages:
    27
    thanks m8.u got my point.
    its working now according to my wish.
     
  4. satmaniac

    satmaniac Vu+ Newbie

    Messages:
    18
    Hi! I would like to select next / previous favorites with one button. Now I have to press the program+, blue, up or down, ok button.
    I changed
    <map context="InfobarChannelSelection">
    <key id="KEY_UP" mapto="switchChannelUp" flags="mr" />
    <key id="KEY_DOWN" mapto="switchChannelDown" flags="mr" />
    to
    <key id="KEY_UP" mapto="nextBouquet" flags="mr" />
    <key id="KEY_DOWN" mapto="prevBouquet" flags="mr" />
    But not working, indicates that it is an invalid button.
     
  5. Alexwilmac

    Alexwilmac Vip

    Messages:
    4,062
    I'm not expert of keymap.xml or XML in general but I can't believe you can just change bouquet without specifying also what channel you'd like to zap to. Where should it go after changing the bouquet? I don't think it'll automatically go to the first channel in the bouquet (unless you find an appropriate command to perform this action).
    I mean: when you do it the traditional way, first you choose the bouquet and then you have to choose the channel anyway.
    But I might be wrong about this idea.
     
  6. satmaniac

    satmaniac Vu+ Newbie

    Messages:
    18
    I have Ariva 200. The remote control has a double up and down arrow button to jump to your favorite last viewed channel. It's very fast and comfortable.
     
  7. Alexwilmac

    Alexwilmac Vip

    Messages:
    4,062
    Last viewed channel is different from jumping to a bouquet. Also the original VU+ remotes have got a key to do that. It's < (and > to go ahead). But my doubt is that you want to perform two actions in one: changing a bouquet and, also (not after, as we do normally), choose a channel.
     
  8. satmaniac

    satmaniac Vu+ Newbie

    Messages:
    18
    The "It's < (and > to go ahead)" Not exactly what I want, because it only works on the channels I've been looking at before. I would like to watch some channels of bouquet Movies, then some channels from the bouquet Music, and so on.
     
  9. Alexwilmac

    Alexwilmac Vip

    Messages:
    4,062
    Yes, I understood this. But here is the problem, in my opinion there is no way to jump to a bouquet because you should specify to go to a specific channel in it. Unless there is also a XML command to get to, for instance, the first channel within a bouquet or to perform two actions with only one pressing.
     
  10. Matrix10

    Matrix10 Administrator

    Messages:
    8,838
    If I understand well you want to have a favorites list
    Instead of the channel list on the UP and Down buttons.

    But this is not possible without changing image coding.
    Change in keymap.xml is not possible (not enough) without support/change in image coding.

    However, it is questionable whether this way of using the buttons is really good.
    Most users use the favorite channel list rather than list of favorites .

    This is the reverse way you like to have.
    Which means you have to first select favorites / bouquet and then channel,
    for most users impractical.
     
    Last edited: May 1, 2017
    Alexwilmac likes this.
  11. Alexwilmac

    Alexwilmac Vip

    Messages:
    4,062
    So, if I understand well you, Matrix, it's like I said: it's not possible to "jump" to a different bouquet also (I mean, at the same time) zapping to one of its channels, not even the first one, right?
     
  12. Matrix10

    Matrix10 Administrator

    Messages:
    8,838
    Not possible because InfobarChannelSelection(keymap.xml) and supported coding in InfoBarGenerics.py (/usr/lib/enigma2/python/Screens/)
    Is active when you call a list and use this buttons with some of these buttons and commands
    from the initial situation.(TV picture)

    and ChannelSelectBaseActions(keymap.xml) and supported coding in ChannelSelection.py (/usr/lib/enigma2/python/Screens/)
    Is active when you are in the list and use this buttons
    You can not use commands and buttons linked to this commands from one to another with existing coding.

     
  13. satmaniac

    satmaniac Vu+ Newbie

    Messages:
    18
    I'm sad for that. For Ferguson Ariva 2xx, favorites and satellites are treated in the same way. It's easy to switch between them with the double arrow button on the RCU 650 remote control. Moving between hundreds of channels at Vu + Box is very lengthy, and channel numbering does not even begin with 1 in the favorites.
     
  14. Alexwilmac

    Alexwilmac Vip

    Messages:
    4,062
    I think you haven't got the principle with whom bouquets and channels work. First of all, if for "favourites" you mean the bouquet with this name, if it doesn't start from 1 it means it's not the first in the list. If you want its channels to be numbered from 1, you have to move it at the top, as the first bouquet in the list.
    Secondly, Favourites it's not compulsory. For instance, I don't use it as the main one. In my VU+ it is a very secondary bouquet and I created a bouquet meant for the indispensable channels and I put it at the top. So it goes from 1 to about 120.
    The other bouquets are just for other purposes, like grouping all channels of a kind I want. But I don't put EVERY channels within one of the bouquets. In all they contain about 300 channels and the second bouquet in the list assign the following numbers to its channels. So, if the first end with 120, the second starts from 121.
    This also means that if you remember the first number (even approximately) you can jump to this bouquet directly selecting a number corresponding to a channel in it.
    And there is also an option (that I don't use, for instance) that allows you to zap to the next bouquet when you reach the end of one. In the above example, you'd go from 120 in the 1st bouquet to 121 in the 2nd. In my case, I don't want this behaviour and it starts from 1 when it reaches the end.

    This is not a Humax or similar STBs where you have all channels together from 1 to 5000. The channels not used are always accessible by, UP and and Green (or RED) button and they are already grouped by satellite/service by the system.
     
  15. satmaniac

    satmaniac Vu+ Newbie

    Messages:
    18
    Thanks for the detailed answer. I hope I understand the essence of your writing, but if I remember the number of channels I would not have to make them favorites.
     
  16. Alexwilmac

    Alexwilmac Vip

    Messages:
    4,062
    I know, but it's not needed to be precise. And, also, if its so important for you to jump directly to a different bouquet, you could arrange every bouquet with a fixed number of channels (adding some channels randomly at the bottom), so that you'll know the starting numbers.
     
  17. satmaniac

    satmaniac Vu+ Newbie

    Messages:
    18
    Thanks for the idea of filling channels.
     
  18. Matrix10

    Matrix10 Administrator

    Messages:
    8,838
    If you use DreamBoxEdit program.
    You can make a list as you wish.

    See what it looks like list from @likra with my modifications

    Fvorites/bouquets

    shot1.jpg


    Channels


    shot3.jpg




    shot4.jpg
     
    Last edited: May 2, 2017
    slovaky22 likes this.
  19. satmaniac

    satmaniac Vu+ Newbie

    Messages:
    18
    My list is similar. Unfortunately, too many push buttons can be switched between Germany HD and Austria HD channels.
    I do not see the broadcast in the background, but there is a small window over the content on the right side.
    - How could mine be like this picture?
    - How can I switch between views in the second and third pictures?
     
  20. Matrix10

    Matrix10 Administrator

    Messages:
    8,838
    Then you have to find another skin that suits you ,without a small TV window.
    We have plenty of skins for download (green>>yellow>>addons download manager>>Black Hole image skins)
    The skin on my pictures has not been published yet
    you be able to use it , when released.

    Bouquets can also be called/changed with channel plus and channel minus buttons,But without the list of all bouquets.
    Unfortunately this remote does not have double buttons for UP and Down.
    And then it is not possible to have double control of channels and bouquets,at the same time.

    Views in the second and third pictures.
    You can configure in System Menu>>Customise>>Show picons in channel list.

    The requirement is that you installed Picons.
    You can find also on our image server or on the forum.
     

Share This Page