Setup the CH Page (Channel Up/Down) button

Willo3092

VIP Member
Does anyone know how to setup the CH Page (Channel Up/Down) button to scroll through the epg a page at a time?
Sucmnsee and Wooshman's builds both work but if I flash OpenATV or OpenVix I have to use the 2 & 8 Button to do it.
I thought it may be a feature of Kiddac's Slyk1 skin but I installed Slyk1 on OpenATV and it still didn't work.
I have also changed to default skin on Wooshman and Sucmnsee's images and it still works!
I'm sure it's a simple setting somewhere but i'm buggered if I can find it!
Anything will be easier than trying to train my missus to use different buttons!
Any ideas would be much appreciated - Dave :beg:
 
Have a look at kiddacs slyk1hd in the Dropbox account for epg tabs follow the instructions for epgselection.py you don't need to add the tabs just the py file that changes the button layout or press 2 and 8 to go up and down
 
Thanks mate I'll give it a go..... she can't cope with 2 & 8 lol!

---------- Post Merged at 04:10 PM ----------

That worked perfectly, thanks for your help. Peace will now be restored in the Willo household! :highfive:
 
Apologies for resurrecting an old thread, but I'm havign the same issue. I'm trying to get ch up/down to page through the EPG, rather than advance/retreat 24hrs. This is with BioHeads OpenATV H2H image. @dsayers2014 when you say to look at kiddics slykhd1, do you mean to lay down that image, or is there a way to extract the EpgSelection.py from it somehow without restoring it?

Or is there now a quicker way of remapping keys 2 and 8 to page up and down?? I like to live in hope :-)
 
No in kiddacs Dropbox account in his slyk1hd skin folder he has skin modifications have a look at epg tabs folder and follow the instructions for epgselection.py you only need to download the epgselection.py and ftp it to usr/lib/enigma2/python/Screens reboot box and it should change the ch up and down function

Sent from my SM-G925F using Tapatalk
 
So my EPG is now working correctly within BioHeads Cable OpenATV image, channel up/down now scrolls through the EPG as it should, peace has been reinstated within the household :-) One thing that I have noticed though is that the channel numbers appearing within the EPG are now incorrect for all Bouquets except "All Channels"! Before applying the epgselction.py from Kiddacs skin, the channel numbers were always correct, across all Bouquets within the EPG, now they are not. Any idea if this is fixable?

This thread covered the saga of getting the channel numbers into the EPG, so I guess I have a conflict somewhere. http://www.techkings.org/zgemma-star-h-2h/113722-channel-numbers-bioheads-openatv-epg.html

Here's hoping this is a simple fix :-)
 
That's how channel numbers are brought in and have always been like that abm has to duplicate channels to place them in separate bouquets so all channels will be correct then entertainment etc will have 4 digit channel numbers so just remove the all channels bouquet in autobouqetesmarker providers change generate main bouquet to no then start scan that should sort out the channel numbers and entertainment etc will be correct.

Ps if you haven't already done an ota update today you can remove the py files for channel numbers on epg because atv have added them on to ota updates.

Sent from my SM-G925F using Tapatalk
 
Does anyone know how to setup the CH Page (Channel Up/Down) button to scroll through the epg a page at a time?
Sucmnsee and Wooshman's builds both work but if I flash OpenATV or OpenVix I have to use the 2 & 8 Button to do it.
I thought it may be a feature of Kiddac's Slyk1 skin but I installed Slyk1 on OpenATV and it still didn't work.
I have also changed to default skin on Wooshman and Sucmnsee's images and it still works!
I'm sure it's a simple setting somewhere but i'm buggered if I can find it!
Anything will be easier than trying to train my missus to use different buttons!
Any ideas would be much appreciated - Dave :beg:

Sorry to bump an old thread, have you got details of what you did? I tried to find the dropbox account but a link I found just returned 404 so I presume it's no longer up.

I have found the file on github (OpenViX/enigma2). I'm assuming the change is in the bloc starting at line 226:

elif self.type == EPG_TYPE_GRAPH or self.type == EPG_TYPE_INFOBARGRAPH:

and I'm guessing this is possibly the bit which needs changing:

'nextService': (self.nextService, _('Jump forward 24 hours')),
'prevService': (self.prevService, _('Jump back 24 hours')),

I can write python so comfortable with making the change, just there's obviously a lot of code there to go through to understand, so any pointers would be great. Interestingly, I can see I might make a few more tweaks to this, such as trying to enable jumping back to the bouquet list from the channel list in EPG (rather than having to do prev/next or exit and EPG again.
 
Are you using ViX or ATV because the epgselection.py is different.
If you google KiddaC skins he still has the files for both images somewhere.
At the moment I'm using the standard ViX epgselection.py and just changed:

CH+/- to page up and down in the epg.
2 & 8 to go up and down 24 hours.
 
I'm using standard ATV with the Sky Q skin. I had a look on Google and couldn't find the files. I might just spend some time trying a few things out & see if I can get it working.
Cheers
 
I've annotated the lines I changed on ViX:
Obviously if you use CH+/- for page up and down then you need to allocate other buttons for +/- 24 hours

1583173601401.png

1583173665992.png

I've also hacked about with the Simple-Ten_Eighty skin and added an aide memoire.

1583173871549.png
 
Thanks, I didn't realise they'd be different across VIX and ATV - I've found the ATV source and think I've identified where the change needs to be made, so I'll give it a try tonight and let you know how I get on.
 
OK, so I've managed to make this change. I did it on top of the OpenATV code, forking the development so I can merge in any changes in the future automatically.

I actually made two changes.

1) Changed the button mapping to enable channel up/down instead of 2/8 (and switched 2/8 to skip 24 hours as per what channel +/- used to do).
2) Enabled the back button and mapped it to a new custom function which jumps back to the bouquets list from the graphical EPG.

The two files I changed are attached here for anyone else who might want the same. Diff's below so you can see the change.

index 50169e174..120ef6047 100644
--- a/data/keymap.xml
+++ b/data/keymap.xml
@@ -752,6 +752,7 @@
<key id="KEY_PREVIOUS" mapto="prevBouquet" flags="m" />
<key id="KEY_MENU" mapto="menu" flags="m"/>
<key id="KEY_TEXT" mapto="input_date_time" flags="m"/>
+ <key id="KEY_BACK" mapto="back" flags="m"/>
<key id="KEY_I" mapto="info" flags="b"/>
<key id="KEY_INFO" mapto="info" flags="b"/>
<key id="KEY_INFO" mapto="infolong" flags="l"/>


diff --git a/lib/python/Screens/EpgSelection.py b/lib/python/Screens/EpgSelection.py
index 33ccf32d7..4348e4025 100644
--- a/lib/python/Screens/EpgSelection.py
+++ b/lib/python/Screens/EpgSelection.py
@@ -319,8 +319,8 @@ class EPGSelection(Screen, HelpableScreen):

self['epgactions'] = HelpableActionMap(self, 'EPGSelectActions',
{
- 'nextService': (self.nextService, _('Jump forward 24 hours')),
- 'prevService': (self.prevService, _('Jump back 24 hours')),
+ 'nextService': (self.prevPage, _('Page up')),
+ 'prevService': (self.nextPage, _('Page down')),
'nextBouquet': (self.nextBouquet, _('Goto next bouquet')),
'prevBouquet': (self.prevBouquet, _('Goto previous bouquet')),
'input_date_time': (self.enterDateTime, _('Goto specific data/time')),
@@ -329,20 +329,21 @@ class EPGSelection(Screen, HelpableScreen):
'infolong': (self.InfoLong, _('Show single epg for current channel')),
'tv': (self.Bouquetlist, _('Toggle between bouquet/epg lists')),
'tvlong': (self.togglePIG, _('Toggle Picture In Graphics')),
- 'menu': (self.createSetup, _('Setup menu'))
+ 'menu': (self.createSetup, _('Setup menu')),
+ 'back': (self.BackToBouquets, _('Show bouquet list'))
}, -1)
self['epgactions'].csel = self

self['input_actions'] = HelpableNumberActionMap(self, 'NumberActions',
{
'1': (self.keyNumberGlobal, _('Reduce time scale')),
- '2': (self.keyNumberGlobal, _('Page up')),
+ '2': (self.keyNumberGlobal, _('Jump back 24 hours')),
'3': (self.keyNumberGlobal, _('Increase time scale')),
'4': (self.keyNumberGlobal, _('page left')),
'5': (self.keyNumberGlobal, _('Jump to current time')),
'6': (self.keyNumberGlobal, _('Page right')),
'7': (self.keyNumberGlobal, _('No of items switch (increase or reduced)')),
- '8': (self.keyNumberGlobal, _('Page down')),
+ '8': (self.keyNumberGlobal, _('Jump forward 24 hours')),
'9': (self.keyNumberGlobal, _('Jump to prime time')),
'0': (self.keyNumberGlobal, _('Move to home of list'))
}, -1)
@@ -842,6 +843,10 @@ class EPGSelection(Screen, HelpableScreen):
else:
self.updEvent(+1)

+ def BackToBouquets(self):
+ self.close('reopengraph')
+ self.Bouquetlist
+
def Bouquetlist(self):
if not self.bouquetlist_active:
self.BouquetlistShow()
@@ -1951,7 +1956,7 @@ class EPGSelection(Screen, HelpableScreen):
prevtimeperiod.setValue(timeperiod)
self.moveTimeLines()
elif number == 2:
- self.prevPage()
+ self.prevService()
elif number == 3:
timeperiod = int(prevtimeperiod.value)
if timeperiod < 300:
@@ -1977,7 +1982,7 @@ class EPGSelection(Screen, HelpableScreen):
self['list'].fillGraphEPG(None)
self.moveTimeLines()
elif number == 8:
- self.nextPage()
+ self.nextService()
elif number == 9:
basetime = localtime(self['list'].getTimeBase())
basetime = (basetime[0], basetime[1], basetime[2], int(primetimehour.value), int(primetime
mins.value), 0, basetime[6], basetime[7], basetime[8])
 

Attachments

  • changes.zip
    22.2 KB · Views: 4
The Vix EPG mod in circulation and being used in Kiddac's skins has not been update dto take in teh changes that have been made to the Vix file. There have been several changes and bug fixes to the official ViX EPG file. The official vix file does not have the issue being mentioned.
 
On ViX 5.3018, If recording on a future day from the graphical epg, using the coloured buttons, the add timer function works as expected and the epg remains on the future day so that you can then add more timer recordings.
If you add an autotimer in the same scenario, the epg goes back to the current day/time rather than remaining in the last position.
 
I'm on ATV, and in any case, despite having multi-sub I can't get IPTV to record unfortunately :( . It just freezes when I try.
 
It didn't work properly on the sly skin, it popped up the bouquets list over the top of the channel list (i.e. didn't dismiss the channel list first). Also I find it a bit more logical being the back button rather than the TV button.
 
Back
Top