Jump to content


Photo

My Modified GraphMultiEpg


  • Please log in to reply
303 replies to this topic

#1 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 7 December 2011 - 19:19

I have made a modified version of GraphMultiEpg, mainly it creates dummy records when the channel has no data or if there are gaps in the data. Also Ive made it so it caches some more of the data for a slightly faster experience in my opinion. I also add a field to display the current bouquet your on.

I have attached a screenshot of what it looks like.
If you want to use it you will need to change the GraphMultiEpg portion of your skin to be something like the one attached.

Attached Files


Edited by awx, 7 December 2011 - 19:20.


Re: My Modified GraphMultiEpg #2 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 7 December 2011 - 19:43

More detailed list of changes


Fix a bug where the clipping rect is not correctly updated
Add add/remove recording button
Change where the bouquetName is set.
Make the zap function request a service reference
Change default time epoch to 60
Change the time the grid starts at to be on the half hour or hour
Fix service highlighting when bouquet is changed
Fix zap function
Move the service list to be right up against the event list
Cache the current bouquet name
Add highlighting for the currently playing service
Add an import and explicit declartion of service_rect
import StaticText
Use cached data to display event details for the current selection
Change where the timeline is calculated and how its size is calculated
Remove a few things that are not needed
Add the ability to skin the color of services
Create dummy records on gaps in event data
Initial add of GraphMultiEpg from dreambox source

Re: My Modified GraphMultiEpg #3 lizard-king

  • Member
  • 9 posts

+2
Neutral

Posted 10 December 2011 - 18:50

Thx for your effort.:) i'll adapt it for my skins and image.

Re: My Modified GraphMultiEpg #4 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 18 December 2011 - 15:36

Here is an update to the modifications I have made

Changes
----------------

Add service paging using next/prev service buttons
Fix a bug were end gaps on the last channel were not being filled

Attached Files



Re: My Modified GraphMultiEpg #5 Dimitrij

  • PLi® Core member
  • 10,010 posts

+338
Excellent

Posted 18 December 2011 - 19:32

@awx
That version of Picone.
It may be useful to you?

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: My Modified GraphMultiEpg #6 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 18 December 2011 - 19:36

@awx
That version of Picone.
It may be useful to you?

Thanks, Ill take a look, anything in particular other than pinicon loading I should look for that you like in this version?

Re: My Modified GraphMultiEpg #7 Dimitrij

  • PLi® Core member
  • 10,010 posts

+338
Excellent

Posted 18 December 2011 - 20:45

Sorry, I do not use this plugin.
Just thought that you might come in handy.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: My Modified GraphMultiEpg #8 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 18 December 2011 - 20:49

Sorry, I do not use this plugin.
Just thought that you might come in handy.

It is definitely useful, thanks again
I have done an initial port of the needed code and made some optimizations to improve the performance of it.

Re: My Modified GraphMultiEpg #9 DimitarCC

  • PLi® Contributor
  • 1,333 posts

+46
Good

Posted 20 December 2011 - 09:59

Sorry, I do not use this plugin. Just thought that you might come in handy.

It is definitely useful, thanks again I have done an initial port of the needed code and made some optimizations to improve the performance of it.


Do you can post an optimized version?

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)


Re: My Modified GraphMultiEpg #10 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 20 December 2011 - 10:16

We see here source codes from the multyEPG that are changes from the orriginal... It would be helpfull to see a diff from our git so we can see the differences.... Only then we can consider to commit them....

The changes do look good...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: My Modified GraphMultiEpg #11 DimitarCC

  • PLi® Contributor
  • 1,333 posts

+46
Good

Posted 20 December 2011 - 10:27

We see here source codes from the multyEPG that are changes from the orriginal... It would be helpfull to see a diff from our git so we can see the differences.... Only then we can consider to commit them....

The changes do look good...


Yes i agree for the diff! But also i'd like to see the optimized version attached here! ;)

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)


Re: My Modified GraphMultiEpg #12 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 20 December 2011 - 15:24

We see here source codes from the multyEPG that are changes from the orriginal... It would be helpfull to see a diff from our git so we can see the differences.... Only then we can consider to commit them....

The changes do look good...

Should be no problem to do that, although, since I started my branch from the GraphMultiEpg on the default dreambox images I will need to first merge my local branch with a pulled version of the one from the openli images.
Also I would like to make a few updates before its pulled in, so as not to break skins that are not updated for my version yet.

How should the diffs be shared?

Re: My Modified GraphMultiEpg #13 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 20 December 2011 - 15:32

Here is a version including picons
There is still some work to do with regards to settings and skinning, but other than that it should be working reasonably well.

Screenshot is attached, test below the list is cut off the screen but this is just my own skinning issue as I was trying something out.

Changes
--------------------------
Initial add of customization of path for picons
Always draw the service name but trim it to 14 chars
Always draw the service rect even when drawing the picon
Modify picon searching to only happen once per service list
Initial port of picone


Note1: you may experience a slight delay when first opening GraphMutliEpg, depending on your bouquet size
Note2: The custom path is currently hardcoded to "/media/hdd/mypicon/" change this to the path you want to use for picons in the grid, otherwise it will search and use the default location picons, which may not be as nice for displaying in the list

Attached Files


Edited by awx, 20 December 2011 - 15:35.


Re: My Modified GraphMultiEpg #14 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 24 December 2011 - 14:12

Here is the latest version
Changes
-----------------------

Allow setting picon size and back color
Allow setting a preferred picon path
Add param to enable and disable picon in the list
No longer hard code the timeline item height, so we can skin that properly
Add an attribute to set the timeline font
Add attributes to change the fonts in the list


Patches will come in the new year.

Attached Files



Re: My Modified GraphMultiEpg #15 daddelfalk

  • Senior Member
  • 489 posts

+17
Neutral

Posted 24 December 2011 - 14:48

Hi,

nice work so far and a good alternate to CoolTVGuide. Maybe add code in below to get the actually used piconpath based on pathExits instead of a seperate option to let the user make a selection from your predefined List:

http://openpli.git.s...2af7390;hb=HEAD

and def initPiconPaths():

Edited by daddelfalk, 24 December 2011 - 14:53.


Re: My Modified GraphMultiEpg #16 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 24 December 2011 - 14:52

Hi,

nice work so far and a good alternate to CoolTVGuide. Maybe add code in below to get the actually used piconpath based on pathExits instead of a seperate option to let the user make a selection from your predefined List:

def getPiconPath():
if pathExists("/media/usb/picon/"):
return "/media/usb/picon/"
elif pathExists("/media/cf/picon/"):
return "/media/cf/picon/"
elif pathExists("/usr/share/enigma2/picon/"):
return "/usr/share/enigma2/picon/"
elif pathExists("/picon/"):
return "/picon/"
else:
return ""

Thanks
I will make the update to include more paths, but actually the user does not need to make a selection.
What actually happens is if you want to use a different path for the picons you can set one otherwise it searches through a list of paths to find a picon.
It searches each path in a defined list for a picon and uses the first picon found in a path.

Re: My Modified GraphMultiEpg #17 daddelfalk

  • Senior Member
  • 489 posts

+17
Neutral

Posted 24 December 2011 - 14:54

Hi,

i have editied post in above. PLi integrated way is the smooth so far.

Re: My Modified GraphMultiEpg #18 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 24 December 2011 - 14:57

Hi,

i have editied post in above. PLi integrated way is the smooth so far.

Looks good, Ill make the needed changes.
Thanks

Re: My Modified GraphMultiEpg #19 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 24 December 2011 - 16:30

Could you make a diff compaired to our current sources...?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: My Modified GraphMultiEpg #20 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 24 December 2011 - 16:34

Could you make a diff compaired to our current sources...?

I can but as my original source was based on the original dream box source for GraphMultiEpg, I had to do a merge and won't be able to verify that I didn't break anything when doing so.
If you like I can provide the merged source for verifying and the patches, otherwise I will only be able to verify in the new year.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users