Jump to content


Photo

My Modified GraphMultiEpg


  • Please log in to reply
303 replies to this topic

Re: My Modified GraphMultiEpg #161 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 8 January 2012 - 11:29

It is strange, but on some services is not in MEPG displayed picon (but there on Infobar and display is picon presented).
And when is zapped to service with this "bug", then running MEPG display always bouquet's services 1-6

eg:
in bouquet are services 1 - 20. For all are downloaded picons, but for service 15 is not in MPEG picon displayed.

When i watch service 15 and then i run MEPG, MEPG displaying services 1-6.
When i watch service 16 and i run MEPG, is correctly displayed 16 - 21

Edited by ims, 8 January 2012 - 11:29.

Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #162 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 8 January 2012 - 16:56

It is strange, but on some services is not in MEPG displayed picon (but there on Infobar and display is picon presented).
And when is zapped to service with this "bug", then running MEPG display always bouquet's services 1-6

eg:
in bouquet are services 1 - 20. For all are downloaded picons, but for service 15 is not in MPEG picon displayed.

When i watch service 15 and then i run MEPG, MEPG displaying services 1-6.
When i watch service 16 and i run MEPG, is correctly displayed 16 - 21

I managed to reproduce something that has a similar behaviour to what you are seeing but I am not 100% sure that it is the same error you are seeing.
Here is an update with the potential fix

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

Workaround for service comparison
Add a yellow button as people may want to bind it to a function

Attached Files



Re: My Modified GraphMultiEpg #163 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 8 January 2012 - 17:06

@pliteam: Wanneer komt dit noeste programmeerwerk eens in de feed oid. Het voldoet voor mij nu al beter dan de code die er nu standaard inzit voor multiepg.

@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: My Modified GraphMultiEpg #164 littlesat

  • PLi® Core member
  • 57,181 posts

+698
Excellent

Posted 8 January 2012 - 17:22

It can be put in the feed... but what we do like/need is a diff agains our current git sources so we have a better impression about the exact changes - and also make it easier to commit...

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


Re: My Modified GraphMultiEpg #165 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 8 January 2012 - 17:27

It can be put in the feed... but what we do like/need is a diff agains our current git sources so we have a better impression about the exact changes - and also make it easier to commit...

I have provide in a previous post a tar gzip with all the patches up to version 1.0.16

Re: My Modified GraphMultiEpg #166 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 8 January 2012 - 17:56

still same...

I found, that happends on 2 services only. Tried change it's position - same, remove it's picon - same.
Tried remove one service from bouquet and add it again - begin works for this service.

I leave 2nd problematics for debug. Where is best position for debug, what happends ? You know better this code :-)
Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #167 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 8 January 2012 - 18:00

still same...

I found, that happends on 2 services only. Tried change it's position - same, remove it's picon - same.
Tried remove one service from bouquet and add it again - begin works for this service.

I leave 2nd problematics for debug. Where is best position for debug, what happends ? You know better this code :-)

You want to look at the moveToService function and onCreate which calls moveToService passing in the currently Playing service reference.

Re: My Modified GraphMultiEpg #168 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 8 January 2012 - 18:12

I saw on services in generateList()

for this service is INFO in E2: 1:0:1:7856: .... , but there in MEPG is for this service in generateList() displayed:
1:134:1:0:0:0:0:0:0:0:FROM BOUQUET "alternatives.viasat_history.tv" ORDER BY bouquet

problem in my bouquet

Edited by ims, 8 January 2012 - 18:12.

Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #169 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 8 January 2012 - 18:16

Kdo nic nedělá, nic nezkazí!

Wie niets doet maakt ook geen fouten ;)

@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: My Modified GraphMultiEpg #170 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 8 January 2012 - 18:19

I saw on services in generateList()

for this service is INFO in E2: 1:0:1:7856: .... , but there in MEPG is for this service in generateList() displayed:

1:134:1:0:0:0:0:0:0:0:FROM BOUQUET "alternatives.viasat_history.tv" ORDER BY bouquet

problem in my bouquet

Ah ok, thanks for the update :)

Re: My Modified GraphMultiEpg #171 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 8 January 2012 - 18:28

I think, when is run MEPG, is found this "alternatives" and then MEPG jump to 1st item in bouquet.
I dont know, how I get this, may be DreamboxEdit software ... but E2 knows work with alternatives well...
Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #172 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 8 January 2012 - 18:46

I think, when is run MEPG, is found this "alternatives" and then MEPG jump to 1st item in bouquet.
I dont know, how I get this, may be DreamboxEdit software ... but E2 knows work with alternatives well...

What is the default behaviour when you look at the bouquet in the channel list?

Re: My Modified GraphMultiEpg #173 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 8 January 2012 - 18:52

sorry, dont understand what you means...
Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #174 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 8 January 2012 - 18:58

sorry, dont understand what you means...

Well you have an alternate bouquet included in your bouquet
Should all the services from the alternate bouquet be included in the current one or should something else happen?
For example you have to user bouquets
bouquet A
bouquet B

Bouquet A has

service 1
service 2

Bouquet B has

service 3
service 4
bouquet A

Should Bouquet B be displayed as
service 3
service 4
service 1
service 2

So when your watching tv on bouquet b and press down, what does the channel list look like?

Re: My Modified GraphMultiEpg #175 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 8 January 2012 - 19:17

I have not alternative bouquet ... but I known, how i made it - long time ago, when i translate .po of E2 and tried items in menu.

You can try it: in service selector pres Menu - > add alternatives and select service.

I remove it and all is ok now.

Edited by ims, 8 January 2012 - 19:17.

Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #176 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,603 posts

+62
Good

Posted 8 January 2012 - 21:00

I'll try merging the patches into the pli tree.
But I see the patches are not against the original pli codebase.
Also I see several patches that actually are part of a whole. E.g. patch 0002 and 0031 should be merged together.

Awx, can you reorder your patches and group then togeteher and base them on the pli code from start. I want to avoid putting in fixes upon fixes...

Also when you generate the patches also use sign-off so we know where the patches come from.
Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: My Modified GraphMultiEpg #177 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 8 January 2012 - 21:22

I'll try merging the patches into the pli tree.
But I see the patches are not against the original pli codebase.
Also I see several patches that actually are part of a whole. E.g. patch 0002 and 0031 should be merged together.

Awx, can you reorder your patches and group then togeteher and base them on the pli code from start. I want to avoid putting in fixes upon fixes...

Also when you generate the patches also use sign-off so we know where the patches come from.

All patches are based off the PLi source.
I just generated them from a branch, rather than rebasing my changes on to master.
I will see what changes should be reordered or squashed, but if you have any other ones you think should be combined or reordered please let me know.

Re: My Modified GraphMultiEpg #178 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,603 posts

+62
Good

Posted 9 January 2012 - 12:36

if I look at the 0002 pathc it says:

- font = 0, flags = RT_HALIGN_LEFT | RT_VALIGN_CENTER,
- text = service_name,
- color = self.foreColorService,
- backcolor = self.backColorService,
- border_width = 1, border_color = self.backColor) ]
but the pli version contains:

font = 1, flags = RT_HALIGN_CENTER | RT_VALIGN_CENTER | RT_WRAP,
text = ev[1], color = foreColor, color_sel = foreColorSelected,
backcolor = backColor, backcolor_sel = backColorSelected, border_width = 1, border_color = borderColor))
so I conclude the patch is not against the base PLi code.
From the thread I see you started of with the dream version? and later on merged to the PLi version. Maybe some patches were not rebased properly?

About grouping/squashing patches. I guess you know the best what patches are related or fixes of previous patches. and waht belongs togethere to form an indendent patch as a whole. I don;t like to add patches like "a = None" and later on a patch that reverts it to" a =23001".

I don;t feel like going through 90 patches and figure out what belongs together... I hope you understand.
Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: My Modified GraphMultiEpg #179 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 9 January 2012 - 12:43

if I look at the 0002 pathc it says:

- font = 0, flags = RT_HALIGN_LEFT | RT_VALIGN_CENTER,
- text = service_name,
- color = self.foreColorService,
- backcolor = self.backColorService,
- border_width = 1, border_color = self.backColor) ]
but the pli version contains:

font = 1, flags = RT_HALIGN_CENTER | RT_VALIGN_CENTER | RT_WRAP,
text = ev[1], color = foreColor, color_sel = foreColorSelected,
backcolor = backColor, backcolor_sel = backColorSelected, border_width = 1, border_color = borderColor))
so I conclude the patch is not against the base PLi code.
From the thread I see you started of with the dream version? and later on merged to the PLi version. Maybe some patches were not rebased properly?

About grouping/squashing patches. I guess you know the best what patches are related or fixes of previous patches. and waht belongs togethere to form an indendent patch as a whole. I don;t like to add patches like "a = None" and later on a patch that reverts it to" a =23001".

I don;t feel like going through 90 patches and figure out what belongs together... I hope you understand.

I will take a look and see, maybe the rebase didnt go well as you mentioned. Maybe the patch goes with a patch after that fixes the problem.
I will see which patches I can combine

Re: My Modified GraphMultiEpg #180 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 9 January 2012 - 16:45

if I look at the 0002 pathc it says:

- font = 0, flags = RT_HALIGN_LEFT | RT_VALIGN_CENTER,
- text = service_name,
- color = self.foreColorService,
- backcolor = self.backColorService,
- border_width = 1, border_color = self.backColor) ]
but the pli version contains:

font = 1, flags = RT_HALIGN_CENTER | RT_VALIGN_CENTER | RT_WRAP,
text = ev[1], color = foreColor, color_sel = foreColorSelected,
backcolor = backColor, backcolor_sel = backColorSelected, border_width = 1, border_color = borderColor))
so I conclude the patch is not against the base PLi code.
From the thread I see you started of with the dream version? and later on merged to the PLi version. Maybe some patches were not rebased properly?

About grouping/squashing patches. I guess you know the best what patches are related or fixes of previous patches. and waht belongs togethere to form an indendent patch as a whole. I don;t like to add patches like "a = None" and later on a patch that reverts it to" a =23001".

I don;t feel like going through 90 patches and figure out what belongs together... I hope you understand.

rebase was fine you are looking at the wrong parts
The part you reference is from the event note the ev[1], the part that was being changed was from the service portion, which looks like it matches correctly to the PLi source
I will not take a look at combining the changes


4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users