Jump to content


Photo

My Modified GraphMultiEpg


  • Please log in to reply
303 replies to this topic

Re: My Modified GraphMultiEpg #81 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 27 December 2011 - 11:06


I dont know, if is problem in old code too, but when length of label hide text in position, where is some nat.character (epg broadcasted as 2chars), then you can see:

I will take a look at that, any chance you can give me an example character code, to test with? Just to be sure I am testing the right thing.


It make "Use Long Title" set to False.
Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #82 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 27 December 2011 - 11:08


I was hoping to get these merged in to the PLi repo,

That can be done... but first it has to get out of the "beta" stage... and also e.g. picons from USB sticks and autoscale should work of course... So there is work to do I suggest.

Would someone be able to provide some support around autoscale? Or provide me with some further guidance on this?
i will look at the character encoding and picons from usb sticks ( I guess whatever is wrong here will also affect other mountable media )

Re: My Modified GraphMultiEpg #83 littlesat

  • PLi® Core member
  • 57,181 posts

+698
Excellent

Posted 27 December 2011 - 11:23

If the picon is a ePixmap widget you can load and scale a picon with...

97 self.instance.setScale(1)
98 self.instance.setPixmapFromFile(pngname)

Edited by littlesat, 27 December 2011 - 11:24.

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


Re: My Modified GraphMultiEpg #84 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 27 December 2011 - 11:37

If the picon is a ePixmap widget you can load and scale a picon with...

97 self.instance.setScale(1)
98 self.instance.setPixmapFromFile(pngname)

The picon is part of eListboxPythonMultiContent, which means it needs to be of type MultiContentEntryPixmap which doesnt seem to have a scaling option :(
Any idea how I could scale them in this way?

Re: My Modified GraphMultiEpg #85 littlesat

  • PLi® Core member
  • 57,181 posts

+698
Excellent

Posted 27 December 2011 - 12:07

Make seperate object of them and place them on the correct position???

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


Re: My Modified GraphMultiEpg #86 DimitarCC

  • PLi® Contributor
  • 1,573 posts

+70
Good

Posted 27 December 2011 - 12:12

Well i was think was able to add primetime coloring but since now i cant test on my receiver i will upload testfiles here so if anyone can test will be good
Here are the files.....i hope it will work! If someone can test will be glad!

Attached Files


Edited by DimitarCC, 27 December 2011 - 12:14.

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


Re: My Modified GraphMultiEpg #87 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 27 December 2011 - 16:22


I was hoping to get these merged in to the PLi repo,

That can be done... but first it has to get out of the "beta" stage... and also e.g. picons from USB sticks and autoscale should work of course... So there is work to do I suggest.

Which version have you tried, because the latest version with the changes for loading picons the way it does in Picon.py seems to work fine for loading from USB.
Could you provide some more details?

Re: My Modified GraphMultiEpg #88 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 27 December 2011 - 17:07

I dont know, if is problem in old code too, but when length of label hide text in position, where is some nat.character (epg broadcasted as 2chars), then you can see:

Would you be able to check if the title is correct when using long title?
Also could you provide your skin.xml for GraphMultiEpg?

Re: My Modified GraphMultiEpg #89 littlesat

  • PLi® Core member
  • 57,181 posts

+698
Excellent

Posted 27 December 2011 - 17:12

I tried 1.5... I suggest...

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


Re: My Modified GraphMultiEpg #90 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 27 December 2011 - 17:19

I tried 1.5... I suggest...

I will not be able to test this on a receive for another week and my linux enigma2 seems to work all paths, so I can not reproduce this scenario :(
If you have any more details you could give me that may help that would be great, otherwise I will put this on the todo list for next week.

Re: My Modified GraphMultiEpg #91 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 27 December 2011 - 18:57


I was hoping to get these merged in to the PLi repo,

That can be done... but first it has to get out of the "beta" stage... and also e.g. picons from USB sticks and autoscale should work of course... So there is work to do I suggest.

Picon scaling is now implemented, could you double check the usb picon problem on this one?

Changes
--------------------------------
Add picon scaling, and config option to enable/disable it

Attached Files



Re: My Modified GraphMultiEpg #92 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 27 December 2011 - 19:09

Tested, enabled picons by settings menu false->true.
Everything ok. My picons are also on USB.
Skin is PLI-HD

Attached Files


Edited by theparasol, 27 December 2011 - 19:10.

@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 #93 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 27 December 2011 - 20:22

It make "Use Long Title" set to False.


it is in E2 ... short title in event[1] is made from long title in event[4], imho . When is worked with "2chars" national epg and 1st char is on end of created event[1] and 2nd char is over size (is not added ofcourse), it is displayed wrong.
There missing some function in E2 for this cases ... for replace this char on end event[1]t with space or zero.
Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #94 littlesat

  • PLi® Core member
  • 57,181 posts

+698
Excellent

Posted 27 December 2011 - 20:43

The configs are not translatable.... please use _("....") in the strings there so that they can be configurable...

In addition it may be more logical to add the settings on the menu button instead of a separate blue button... These are just my suggestions.... ;) 

Edited by littlesat, 27 December 2011 - 20:48.

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


Re: My Modified GraphMultiEpg #95 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 27 December 2011 - 21:03

Red and Green - both are for Timer ?

How will be it with ZAP over OK: ZAP in PIG only or ZAP+close MEPG ? Or Zap+Close under Red and Timer under Green, f.eg, ?
Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #96 littlesat

  • PLi® Core member
  • 57,181 posts

+698
Excellent

Posted 27 December 2011 - 21:09

When I select 5 channels in the overview the Picons do not get bigger.... I suggest because it is limited by width,,, probably something that may remove this width.... ;) The scaling is great and in fact a must!! Good job... Now it needs just a few adjustements...

Edited by littlesat, 27 December 2011 - 21:11.

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


Re: My Modified GraphMultiEpg #97 DimitarCC

  • PLi® Contributor
  • 1,573 posts

+70
Good

Posted 27 December 2011 - 22:11

Here is the version with working primetime coloring

Attached Files


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


Re: My Modified GraphMultiEpg #98 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 28 December 2011 - 00:31

Red and Green - both are for Timer ? How will be it with ZAP over OK: ZAP in PIG only or ZAP+close MEPG ? Or Zap+Close under Red and Timer under Green, f.eg, ?


Well right now as you have seen its zap only.
I was thinking of having something for zap and close and something for just zapping with out closing, but I am not sure of the best buttons for this.
Also I thought to make it if you press ok a second time on an already playing channel that this screen closes, but this may not be what everyone expects to happen here.

Re: My Modified GraphMultiEpg #99 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 28 December 2011 - 00:32

crashes in findPicon() when is selected next bouquet ( Bouq+/Bouq- and OK)
Kdo nic nedělá, nic nezkazí!

Re: My Modified GraphMultiEpg #100 awx

  • Senior Member
  • 297 posts

+17
Neutral

Posted 28 December 2011 - 00:37

It make "Use Long Title" set to False.

it is in E2 ... short title in event[1] is made from long title in event[4], imho . When is worked with "2chars" national epg and 1st char is on end of created event[1] and 2nd char is over size (is not added ofcourse), it is displayed wrong. There missing some function in E2 for this cases ... for replace this char on end event[1]t with space or zero.

The configs are not translatable.... please use _("....") in the strings there so that they can be configurable... In addition it may be more logical to add the settings on the menu button instead of a separate blue button... These are just my suggestions.... ;)


Here is an updated version, which should hopefully fix the multi byte short title issue (This part needs testing)
Also included some button reordering

The config options are already set using a form like this

self.list.append(getConfigListEntry(_("Scale Picon"), config.misc.graph_mepg.scalePicon))
Do I need to change something else so they can be translated?

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

Potential fix for incorrect short title being displayed due to multbyte encoding
Remove label from blue key
Allow setting border size for the timeline
Remove green button and change setup to use the menu button

Attached Files




11 user(s) are reading this topic

0 members, 11 guests, 0 anonymous users