bbbuk (13-02-15)
Just a quick update. I have managed to make ch +/- buttons to jump up/down a page. So will post a guide for mapping the colours to +/-24hrs and and channel +/- buttons to page up/down
bbbuk (13-02-15)
Won't all the changes get reverted with an image update?
Sent by pressing the screen on 1 of my Apple devices, cuz that's how I roll.
they surely will!
Vu Ultimo4K, OpenViX 5.0, 8xdvb-c, 8xdvb-s2, 2xdvb-t2
Vu Solo4K, OpenViX 5.0, 8xdvb-s2
Dreambox DM900, OpenViX 5.0, 2xdvb-s2, 2xdvb-c/t2
Terrestrial, Cable, Fixed 28.2e + Unicable2 LNB
Yep! But if people can know how to map them then its not a big deal re doing
Not for me as I could copy the keymap.xml file back over again from a copy I would keep on laptop (I do something similar now with the autotimers). I try to avoid doing setting restore when updating.
I assume the file is in "/usr/share/engima2/"
I'm not certain what section I alter as there are obviously a few sections in that xml file.
Does the label for the key automatically change or is that hard-coded within another .py(o) file?
The changes I made are to do with the relevant python file and not the keymap.xml. But if you can code then its just a case of copying and pasting the relevant code into your relevant python file - assuming a new image doesnt change the structure of the file. If you are not keen on coding then I can send you my file with instructions on how to get it working. Im not sure if I should mess about with the keymap.xml file seeing as I have got it to work by hard coding within a python file. Is this a bad thing?
You could also add any modded files to the backup manager so they're restored after an update.
Best to post your changes though so they can be added to the image if done correctly.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
Many of the images default files can be overridden with a user file placed in /etc/enigma2/ including skin alterations, I cant go into specifics as I am not that familiar with the process but I can give a example.
The image comes with a default satellites.xml file located in /etc/tuxbox/ this file is frequently updated as part of the image update process. however if you place a satellites.xml file into the /etc/enigma2/ directory the image will default to this file and while the master file will still be updated with a image update, the user file you placed in /etc/enigma2/ will not. If at a later date you choose to use the default file again, just delete the user file and reboot the receiver.
As I said the same is true for skin modifications but I am not 100 percent sure of the format needed for those files.
My posts contain my own personal thoughts and opinions, they do not represent those of any organisation or group but my own.
If you don't like what I post, Don't read it.
SIMPLES.
Going back to the original idea of having access to the recordings via the red button etc is this sonething that can be agreed upon for the Vix image or are we going to get into modding python files which could end up with broken images .
Although my Solo2 has a dedicated EPG button I use Button Setup (within menus) to assign graphical mutliEPG (I think it's called) to the red button.
Could it not be possible to allow more control over what the coloured buttons do whilst displaying the EPG from within a new menu system or incorporated within Button Setup menu?
This would allow full control over all 4 buttons.
Obviously this, ideally, would need to be incorporated into the image itself rather than having to keep modding files.
This is just my thought.
I have experience with coding but not python (more VB and VBA) but I noticed the structure of python is a little similar to that of VB/VBA.
If you can point me in the direction of which file (and where it's stored) I need to edit and I shall take a look and see if I can work it out.
I realise any update will overwrite this file or files but I shall just keep a copy of file(s) on my laptop and copy it back again after an update.
yo
here is the EPGSelection.py
https://github.com/OpenViX/enigma2/b...pgSelection.py
and then here is the EPGList.py
https://github.com/OpenViX/enigma2/b...nts/EpgList.py
Vu Ultimo4K, OpenViX 5.0, 8xdvb-c, 8xdvb-s2, 2xdvb-t2
Vu Solo4K, OpenViX 5.0, 8xdvb-s2
Dreambox DM900, OpenViX 5.0, 2xdvb-s2, 2xdvb-c/t2
Terrestrial, Cable, Fixed 28.2e + Unicable2 LNB
bbbuk (15-02-15)
The colour buttons can be programmed and labelled in the EpgSelection.py file. If you want the buttons to be different for just the graphical EPG and remain same for other EPGs then just add an If statement to check if self.type ==EPG_TYPE_GRAPH and add the new button mapping code within that statement (linking each button action to the relevant method). If you need more help then just give me a shout.
If I am home this weekend then I will share my code/file for everyone to use. I have managed to make the following changes:
Red button: popup with extra options such as IMDb serch, EPG serch, add timer/auto timer
Green button: shows recordings (movie list)
Green button long press: shows timer list
Yellow button: -24hrs
Blue button: +24hrs
Ch+: page up
Ch-: page down.
Last edited by matt007; 26-02-15 at 22:47.
abu baniaz (02-09-19),bbbuk (26-02-15),rossi2000 (27-02-15),TK4|2|1 (27-02-15)