Jump to content


Photo

Some questions to be able to customize Pli-FullHD


  • Please log in to reply
25 replies to this topic

#1 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 11 November 2017 - 10:50

Hi,

 

I've begun to customize Pli-FullHD but now I don't know where to find some information.

 

1°) I've increased the size or the font and item in the screen "TimerEntry" in "skin.xml" but I don't know where to find the virtual sms keyboard which is now over the timer entries as shown below. I've found the virtual PC keyboard but it's not the same.

 

And if I want to change the position of the fields of each entry, where can I find them ? I've not found them in "skin_templates.xml".

 

Attached File  screenshot_2017-11-11_10-12-54.jpg   81.11KB   12 downloads

 

 

2°) Same problem with the Timer overview screen, where to find the position of the fields of the list of entries. On the screen below, the DVB entries can cover the days timer in French. Then I want to move the DVB entries slightly on the left.

 

Attached File  screenshot_2017-11-11_10-12-48.jpg   135.05KB   9 downloads

 

3°) Same problem with the Channel selection screen, I can't see the frame of the progress bar on the right side but I haven't found these fields information.

 

Attached File  screenshot_2017-11-11_10-13-26.jpg   118.74KB   7 downloads

 

 

Thank you :) .


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #2 ims

  • PLi® Core member
  • 10,177 posts

+161
Excellent

Posted 12 November 2017 - 19:03

ad 1: it is standard... it will be always over menu items , but only over not active items ... If you want place it to diferent place:

under screen name="NumericalTextInputHelpDialog" change x,y in position="center,675"

 

ad 2: under screen name="TimerEditList" parameter satPosLeft="250"

 

ad 3:  under screen name="ChannelSelection" parameters colorEventProgressbarBorder="darkgrey" and colorEventProgressbarBorderSelected="darkgrey"


Kdo nic nedělá, nic nezkazí!

Re: Some questions to be able to customize Pli-FullHD #3 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 12 November 2017 - 20:43

Thank you ims, I hall try them :) .


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #4 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 13 November 2017 - 14:46

OK, it works fine, thank you  :) .

 

I didn't know we can have several screens on the same page. That's why some positions with c (center) seemed me curious. In fact, it's not the center of the page but the center of the screen.

 

I've found this code while I don't know how to access to the console. Is it possible? And how?

  <!-- Console -->

  <screen name="Console" title="Command execution" position="fill" flags="wfNoBorder">
    <panel name="PigTemplate"/>
    <widget name="text" position="780,107" size="1110,910" font="Console;30"/>
  </screen>

In "skin_templates.xml" , in "screen name="PlayerTemplate"":

    <widget source="session.CurrentService" render="Label" position="1402,35" size="175,37" backgroundColor="transparent" zPosition="4" foregroundColor="foreground" borderWidth="2" font="Regular;36" borderColor="black" valign="center" halign="right">
      <convert type="ServicePosition">Remaining,Plus,ShowHours</convert>
    </widget>
    <widget source="session.CurrentService" render="Label" position="1000,115" size="155,36" backgroundColor="transparent" zPosition="5" foregroundColor="foreground" borderWidth="2" font="Regular;36" borderColor="black" valign="center" halign="left">
      <convert type="ServicePosition">Length,ShowHours</convert>
    </widget>

What means "Plus" for the first widget? I've deleted it but I haven't see any change.

 

I've seen that with "ShowHours", I can have the duration with hours, minutes and seconds, but in the "Movie Selection" :

    <widget source="Service" render="Label" position="30,550" size="150,37" font="Regular;30" halign="left">
      <convert type="ServiceTime">Duration</convert>
      <convert type="ClockToText">AsLength</convert>
    </widget>

I've add ShowHours to "AsLength" but if I can see the duration with hours, I lost the seconds. I've tried to increase the field size, but no effect. Have you an idea?

 

Thank you :) .


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #5 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 17 November 2017 - 19:18

Ims :) ?


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #6 ims

  • PLi® Core member
  • 10,177 posts

+161
Excellent

Posted 17 November 2017 - 19:30

Plus ... "+" in string

 

Why do you need secongs for lenght of movie ?!  Replace "AsLength" with "AsLengthSeconds" Btw, for this you can see into enigma sources ... here ... into file with used convert type.   F.eg. <convert type="ClockToText">AsLength</convert>   ... see into ClockToText.py file


Kdo nic nedělá, nic nezkazí!

Re: Some questions to be able to customize Pli-FullHD #7 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 17 November 2017 - 19:59

+ is the same function as (Python 3.5) :

    print ("It's time " + "to play")

 

even if i this example is stupid.

 

When I have seconds I can see if there were no problem (no lost) when I've recorded, and I can see if I had cut the movie because in the first case, I must have hh:mm:58 or hh:mm:59 and in the second case, the seconds have smaller values ;) .

 

Thank you for the sources.

 

And as I asked previously, is it possible to access to the console with this code in skin.xml?

 

When we edit a timer, we can modify the title and the description of the movie but I tried to change yellow colour, background colour, seconBG colour... to find where is this field but I don't find it. Same thing with the history search. Can you say where I can find them please ?

 

Thank you :) .


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #8 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 17 November 2017 - 21:05

Unless "Plus" means to add "+" on the screen before the remaining time.


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #9 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 18 November 2017 - 12:22

Yes, it's a "plus" which is displayed before the remaining time. Thank you :) .


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #10 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 23 November 2017 - 18:47

Ims, I've done some changes but I don't know where I can modify the yellow colour where is wrote "Le 19.45" and perhaps the black or blue colour of this font text. When it's the night, I see worse and the yellow colour becomes flashy and I can't read the text. I've not found them in the screen "TimerEntry" nor in "PigTemplate" nor in...

 

I don't find also the screen which displays the display screen named "Select" in the picture. It's not "SelectionTemplate"...

 

Thank you :) .

 

Attached File  screenshot_2017-11-18_16-30-06.jpg   96.01KB   6 downloadsAttached File  screenshot_2017-11-18_16-30-43.jpg   75.15KB   4 downloads


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #11 ims

  • PLi® Core member
  • 10,177 posts

+161
Excellent

Posted 23 November 2017 - 20:11

is used SelectedFG color

 

screen is ChoiceBox

 

 

btw - i am using for all yellows in Modify Pli-FullHD:  220.192.80


Edited by ims, 23 November 2017 - 20:13.

Kdo nic nedělá, nic nezkazí!

Re: Some questions to be able to customize Pli-FullHD #12 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 26 November 2017 - 15:09

Hello ims,

 

I have already tried "SelectedFG color" and I tried again after your last message. I tried with black colour (00000000) to see the changes, but there was no effect. In fact it would be better to change the font of the text (colour, width, borderwidth...).

 

For "choicebox", I got it but there are not a lot of options in the line. I've seen I can also modify "choicelist" but I have a problem and I can't correctit. If I use a bigger font, the letters as "p q y g" have the bottom cut as you can see in the screen capture.

 

I tried to modify size="x,y" in "choicelist" OR add size="x,y" in "choicebox" but if it increase the distance between the lines, the low letters are cut. I've tried in "choicebox" font="Regular;34" or setfont="Regular;34", but it doesn't take it, only font in "choicelist". I tried a lot of commands as "valign" but I don't find the good one.

 

Can you help me please :) ?

 

attachment=87875:screenshot_2017-11-25_21-40-42.jpg]

Attached Files


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #13 ims

  • PLi® Core member
  • 10,177 posts

+161
Excellent

Posted 26 November 2017 - 15:13

choicebox has not more skins parameters in source ...


Kdo nic nedělá, nic nezkazí!

Re: Some questions to be able to customize Pli-FullHD #14 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 26 November 2017 - 15:20

Ok but have you an idea to correct the cut letters? The cut increases when I increase the size of the font. I haven't this problem in the other screens.


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #15 ims

  • PLi® Core member
  • 10,177 posts

+161
Excellent

Posted 26 November 2017 - 15:28

You can add into list under choicebox :   itemHeight="xx" ... where xx is size of line  (38 is default => is not presented this parameter in list). But then you will rebuild all button's bitmaps.


Kdo nic nedělá, nic nezkazí!

Re: Some questions to be able to customize Pli-FullHD #16 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 26 November 2017 - 15:39

I think I've tried it but I can do i it again.


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #17 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 26 November 2017 - 15:45

No, it doesn't work.


Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #18 ims

  • PLi® Core member
  • 10,177 posts

+161
Excellent

Posted 26 November 2017 - 16:47

  <!-- ChoiceBox -->

  <screen name="ChoiceBox" title="" position="fill" flags="wfNoBorder">
    <panel name="PigTemplate"/>
    <panel name="TextTemplate"/>
    <panel name="ButtonTemplate_Hideable"/>
    <widget name="list" itemHeight="80" position="780,100" size="1110,912" scrollbarMode="showOnDemand"/>
  </screen>

Attached Files


Kdo nic nedělá, nic nezkazí!

Re: Some questions to be able to customize Pli-FullHD #19 sjlouis

  • Senior Member
  • 1,392 posts

+3
Neutral

Posted 26 November 2017 - 18:53

I've taken your instruction and it doesn't work as you can see below. The distance between the lines is important but the letters with lower part are cut :

 

Attached File  screenshot_2017-11-26_18-51-19.jpg   65.44KB   3 downloads


Edited by sjlouis, 26 November 2017 - 18:53.

Vu+ Ultimo 4K - OpenPli 6.2

(Xtrend ET9200 - OpenPli 4.0 - Oscam)


Re: Some questions to be able to customize Pli-FullHD #20 ims

  • PLi® Core member
  • 10,177 posts

+161
Excellent

Posted 26 November 2017 - 20:39

Ok, then there in skin.xml add line(s) under <parameters>

    <parameter name="ChoicelistName" value="68,3,1000,30"/>
    <parameter name="ChoicelistIcon" value="7,0,52,38"/>

ChoicelistName  ... text rectangle position and size ... x,y, width,height  and change height, as you need

ChoicelistIcon ... icon position and size

 

Font size you can change there  under <fonts> ... line

<alias name="ChoiceList" font="Regular" size="28" height="38"/>

Edited by ims, 26 November 2017 - 20:40.

Kdo nic nedělá, nic nezkazí!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users