Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

Some ideas to improve the Graphical EPG screen

What do you guys think of a search function by keyword ie you cant find where itv2+1 is so you search for itv or itv2 to bring up the available options
 
What do you guys think of a search function by keyword ie you cant find where itv2+1 is so you search for itv or itv2 to bring up the available options
That would be good as well. Would that be added to Mark007 red button as another option do you think?
 
That would be good as well. Would that be added to Mark007 red button as another option do you think?

Not sure, would u be able to pm me the py files so I can test the new features.
 
Hi all,

I have managed to modify the graphical epg screen to add features I feel would improve the user experience. As well as modifying the colour and channel +/- buttons as mentioned in earlier posts, I have also added a search number feature (allows you to enter a number to find a channel), a list of your bouquets which you can flip through and finally channel numbers that stay consistent despite whatever bouquet you are on. To elaborate on the last feature, I have assumed that the first bouquet for everyone is "All Channels" which has the desired numbers. Subsequent bouquets have channels whose numbers now match the relevant numbers from the "All Channels" bouquet.

Below are some screenshots showing the search number feature in action:

View attachment 40829View attachment 40830View attachment 40831View attachment 40832View attachment 40833

The following screenshots show how the channel numbers remain the same despite what bouquet you are in:

View attachment 40820View attachment 40821

I know certain bouquet providers change the channel names to include a number prefix which means that it achieves the effect as my tweak. However my tweak will allow you to have consistent channel numbers which do not rely on people changing the names of 100s of channels.

Also, in relation to the red option button. I have added a nifty feature where if the event is empty then instead of the red button bringing up an options menu, it changes to a search function. This is because the option menu contains options such as timer, auto timer etc and this is pointless if the event is empty. This can be seen in the below screenshots:

View attachment 40822View attachment 40823

Before I release the files for people to use I was wondering if I can get a few people to test this for me. I am quite new to the Enigma2 scene, have only had my box for a few weeks so feel like I need a few experienced users to test this for me.

This guy needs to be on the image team.


Sent by pressing the screen on 1 of my Apple devices, cuz that's how I roll.
 
markus625 said:
Me too.
I think you can delete the py file once it has rebooted and updated the pyo file.
You can, yes.
But that also means you'll lose it all at the next update if the packaged with the "real" *.pyo file gets updated - so keep it around in order that you may put it back for a later recompile.

birdman said:
I don't have an "All Channels", so is that optional?
I guess that is something that would have to be tested and maybe even coded for.

I use All Channels as I find it easier and have the normal sectional bouquets as well but not HD or FTA bouquets.
I create my own bouquet files, so that I can put all of the Freeview (incl. HD) channels onto their standard channel numbers (ABM may do this now, but it didn't a few months ago). It also means that my Radio and TV bouquets are the same (they each contain both...)
 
Not a single py file uploaded to this thread, how can anyone expect any code to be tested or even added to the image?
Currently, no one can even help to improve or implement any of the ideas suggested.
 
I create my own bouquet files, so that I can put all of the Freeview (incl. HD) channels onto their standard channel numbers (ABM may do this now, but it didn't a few months ago). It also means that my Radio and TV bouquets are the same (they each contain both...)
Sky UK (SD) swaps SD channels for HD channels for those channels that work.

Not a single py file uploaded to this thread, how can anyone expect any code to be tested or even added to the image?
Currently, no one can even help to improve or implement any of the ideas suggested.
All I did was change function of red and green key so that EPG goes 24+/- in my code so it's not worth uploading my code as it's nothing compared to the work @matt007 has done.

@matt007, when you get a chance can you upload your py code so it can be tested and possibly implemented into the image itself. Thank you.
 
@bbbuk I'd be interested in your code. All I'm after is changing red to show bouquets and channel +&- to page up and down, not really bothered about extra popup menu like matt007's


Sent by pressing the screen on 1 of my Apple devices, cuz that's how I roll..
 
Was is It matt007 who came up with green showing recordings.
 
Was is It matt007 who came up with green showing recordings.
I wasn't aware of green showing recordings. I'm not sure what you mean?

Matt007 has changed the coloured buttons, multi-options available on selected event, channel numbers before name and allowing entry of channel number from epg screen to jump to it.
 
Matt007 has changed the coloured buttons, multi-options available on selected event, channel numbers before name and allowing entry of channel number from epg screen to jump to it.

Yes and I don't mean to sound rude but if you want that code included in the image we are going to need him to upload it here or if pass it on some other way either directly to a member of the team or via the GIT. without it this thread is pretty much useless.
 
Whered Matt007 gone, it's all gone quiet.
 
Whered Matt007 gone, it's all gone quiet.
I noticed he hasn't been on for few days. He may be working or something.

Hopefully when he's back he can upload the .py files :)
 
Hi guys! Im really sorry for the delay - Personal life got a bit hectic, not to mention I work full time and this is just a hobby to give back to the community.

Here are the files. I have included the .pyo file instead of the .py file for the reason stated above by Abu Baniaz.

@bbbuk - I realise you want the .py file as you want your colours buttons to be set up a bit differently. It will become a bit messy if we deal with that in this thread so I am more than happy to go through the source with you outside this thread (PM perhaps) and help you get your buttons working.

Whilst the functionality is coded in the python files, the visual side is always down to the skin. As a result I have only made this work with my current skin which is Blue HD v3. There is no reason why it cannot work on any other skin - just requires a few elements to be added to the skins xml file.

Please back up your original files before replacing them with the ones below.


The files:

EpgSelection.pyo - This contains coding for the new functionality. Place this inside /usr/lib/enigma2/python/Screens

skin_Blue-HD.xml - This contains new elements that will allow you to see the added features. Place this inside /usr/share/enigma2/Blue-HD

epg.png - I modified the look of the epg screen to incorporate the list of bouquets next to the current bouquet. Place this inside /usr/share/enigma2/Blue-HD/infobar


What has been modified?

Red Button:
If event is present then it will display a options dialog with the following options:
1) IMDb Search
2) Add Timer (or Change Timer if timer has already been added for that event)
3) Add AutoTimer
4) Search

If event is not present then the red button will just turn into a search button as it doesnt make sense retaining options such as Add Timer, Add AutoTimer if an event is not present.

Green Button:
Short Press - Brings up your recordings
Long Press - Brings up your timer list

Yellow Button:
Minus 24 hours

Blue Button
Plus 24 hours

Channel +:
Goes up a page

Channel -:
Goes down a page

< and >:
They switch through your bouquet list as before - No changes there. However with the new bouquet list element I have added, you can see the list being scrolled through - Just a user experience improvement (well for me at least!).

Numbers 0-9:
Allows you to search for a channel. As you are typing, if your channel number exists then the channel name will appear. Pressing OK will go to that channel in the EPG. Waiting for a few seconds does the same.


I decided to leave out the numbering of the channels as I feel it will get quite messy as my code required the first bouquet in your list to contain all of the channels with the correct numbers. It seems to me not everyone has set up their bouquets like that so things will just get messy.

Let me know of any bugs or issues. As I said before, I am pretty new to the enigma2 scene, having just got a box a few weeks ago so would appreciate any feedback.


Download:
Upload removed. See further along thread for later version.

Edit: Once I get time, I will modify other skins so it can work with them too.
 
Last edited by a moderator:
can you upload the py please.
a pyo is only good for users, not for dev.
 
Thanks for the work you have done on this.

@bbbuk - I realise you want the .py file as you want your colours buttons to be set up a bit differently. It will become a bit messy if we deal with that in this thread so I am more than happy to go through the source with you outside this thread (PM perhaps) and help you get your buttons working.
I'm happy with your colour buttons but I would still like source .py file as I would like to change order of the red button whilst on an event. My preference would be "Add Timer", "Add AutoTimer".... as I think the timer options would be used more often than imdb.

I decided to leave out the numbering of the channels as I feel it will get quite messy as my code required the first bouquet in your list to contain all of the channels with the correct numbers. It seems to me not everyone has set up their bouquets like that so things will just get messy.
I would like this option as I do display all bouquets. Could you, when you have time, PM me the code (and file location) so that I could get this working.

Is it not possible to check somehow to see if "All channels" is used and if so show channel numbers, otherwise don't (ie within If statement)?
 
Is it not possible to check somehow to see if "All channels" is used and if so show channel numbers, otherwise don't (ie within If statement)?

There doesnt have to be a bouquet called "All Channels". The requirement is that the first bouquet in the list has to contain all of the channels with the correct numbers, irrespective of the bouquet name. The reason why this is a requirement is more to do with my assumption. As I have used ABM to make my bouquets automatically, it made the first bouquet contain all of the channels with the desired numbers. So as a result of this I thought everyone had a similar set up. Hence why I decided to leave it out as things will just get messy.
 
There doesnt have to be a bouquet called "All Channels". The requirement is that the first bouquet in the list has to contain all of the channels with the correct numbers, irrespective of the bouquet name. The reason why this is a requirement is more to do with my assumption. As I have used ABM to make my bouquets automatically, it made the first bouquet contain all of the channels with the desired numbers. So as a result of this I thought everyone had a similar set up. Hence why I decided to leave it out as things will just get messy.

So you are not using the channel numbers of the bouquet in use, but the one in top of the list?
That doesn't seems logic. You can have a lot of bouquets (different providers) with the same channel numbers.
Or I misunderstood you.
 

OpenViX Feeds Status

Back
Top